Hello,
Set the PATH with /bin:/usr/bin:$PATH, otherwise the windows "sort" will
be used, so the function pointers list will not be generated
Alexcander
<Harald.Maier@bc.boehringer-ingelheim.com> wrote in message
news:14074F0BA53BD411803000A0C9DD65114C0BD0@bc0exch7.bc.de.bic...
> Hello,
>
> when compiling Postgres 7 on WinNt, i get the following errors:
> I use Cygwin B20 (latest version) and egcs 2.95.2
>
> make[3]: Entering directory
> `/cygdrive/d/gnu/postgresql-7.0.2/src/pl/plpgsql/src
> '
> dlltool --export-all --output-def plpgsql.def pl_parse.o pl_handler.o
> pl_comp.o
> pl_exec.o pl_funcs.o
> dllwrap -o plpgsql.dll --dllname plpgsql.dll --def plpgsql.def pl_parse.o
> pl_han
> dler.o pl_comp.o pl_exec.o pl_funcs.o ../../../utils/dllinit.o
> -L/usr/local/lib
> -L/usr/local/pgsql/lib -L../../../backend -lpostgres -lcygipc -lcygwin
> -lcrypt
> -lkernel32
> pl_exec.o(.text+0x1e56):pl_exec.c: undefined reference to `fmgr_pl_finfo'
> pl_exec.o(.text+0x32a1):pl_exec.c: undefined reference to `fmgr_pl_finfo'
> pl_exec.o(.text+0x32bd):pl_exec.c: undefined reference to `fmgr_pl_finfo'
> collect2: ld returned 1 exit status
> dllwrap: gcc exited with status 1
> make[3]: *** [libplpgsql.a] Error 1
> make[3]: Leaving directory
> `/cygdrive/d/gnu/postgresql-7.0.2/src/pl/plpgsql/src'
>
> make[2]: [all] Error 2 (ignored)
> make[2]: Leaving directory
`/cygdrive/d/gnu/postgresql-7.0.2/src/pl/plpgsql'
> make[1]: Leaving directory `/cygdrive/d/gnu/postgresql-7.0.2/src/pl'
>
> Perhaps somebody can help me.
> Thanks.
>
> Harry
>