Thread: Error compiling under Cygwin32 1.1.4

Error compiling under Cygwin32 1.1.4

From
Andrew Lombardi
Date:
I have been recurringly getting the following error when trying to compile
PostgreSQL under Cygwin32 1.1.4


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/SU
BSYS.o libpq/SUBSYS.o main/SUBSYS.o parser/SUBSYS.o nodes/SUBSYS.o
optimizer/SUB
SYS.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
-lcygi
pc -lcrypt -lcygwin -lkernel32
utils/SUBSYS.o(.text+0x43417):elog.c: undefined reference to `_sys_nerr'
utils/SUBSYS.o(.text+0x43df5):exc.c: undefined reference to `_sys_nerr'
collect2: ld returned 1 exit status
make[1]: *** [postgres] Error 1
make[1]: Leaving directory
`/home/administrator/postgresql-7.0.3/src/backend'
make: *** [all] Error 2



As soon as you can let me know what this might be ... i'd love to install
this on my machine for development ...

Thanks!

Andrew Lombardi


Attachment

Re: Error compiling under Cygwin32 1.1.4

From
Jason Tishler
Date:
Andrew,

On Thu, Nov 16, 2000 at 12:21:08AM -0600, Andrew Lombardi wrote:
> As soon as you can let me know what this might be ... i'd love to install
> this on my machine for development ...

Have you tried the following?

    http://people.freebsd.org/~kevlo/postgres/portNT.html

Jason

--
Jason Tishler
Director, Software Engineering       Phone: +1 (732) 264-8770 x235
Dot Hill Systems Corporation         Fax:   +1 (732) 264-8798
82 Bethany Road, Suite 7             Email: Jason.Tishler@dothill.com
Hazlet, NJ 07730 USA                 WWW:   http://www.dothill.com