Compile in Cygwin 1.1.4
От | Pedro.Simoes.Machado@bancobpi.pt |
---|---|
Тема | Compile in Cygwin 1.1.4 |
Дата | |
Msg-id | 6618D5A77FBDD41181EE00508BEEDFE818CE8C@CRIEXC01 обсуждение исходный текст |
Ответы |
Re: Compile in Cygwin 1.1.4
Re: Compile in Cygwin 1.1.4 |
Список | pgsql-ports |
Hi, I'm trying to compile Postgres 7.0.2 in Cygwin 1.1.4 in a Windows NT 4.0 system. I've configured with the template provided to cygwin, and I get the following error in the compilation process: gcc -g -o postgres.exe -Wl,--base-file,postgres.base postgres.exp access/SUBSYS.o bootstrap/SUBSYS.o catalog/SUBSYS.o commands/SUBSYS.o executor/SUBSYS.o lib/SUBSYS.o libpq/SUBSYS.o main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o optimizer/SUBSYS.o port/SUBSYS.o postmaster/SUBSYS.o regex/SUBSYS.o rewrite/SUBSYS.o storage/SUBSYS.o tcop/SUBSYS.o utils/SUBSYS.o ../utils/version.o -L/usr/local/lib -lcygipc -lcrypt -lcygwin -lkernel32 utils/SUBSYS.o(.text+0x42ec7):elog.c: undefined reference to `_sys_nerr' utils/SUBSYS.o(.text+0x438a5):exc.c: undefined reference to `_sys_nerr' collect2: ld returned 1 exit status make[1]: *** [postgres] Error 1 make[1]: Leaving directory `/usr/source/src/backend' make: *** [all] Error 2 I was unable to resolve this error. I suppose the problem resides in the Cygwin implementation, the _sys_nerr is an external variable in the .c files (elog.c and exc.c) that should reside in the cygwin.dll ! (I'v tried to understand the comments in version.h) Anyone have experienced something like this? I suppose I should install a previous version of Cygwin. Thanks, Pedro Machado
В списке pgsql-ports по дате отправления: