trying to compile PostgreSQL 7.0 on cygwin 1.1.2
Joost Kraaijeveld
J.Kraaijeveld@Askesis.nl
Thu Jun 8 22:43:00 GMT 2000
> I am having some problems trying to compile the latest version of
> PostgreSQL.ÃÂ Essentially everything compiles fine, but there is a
> reference in backend/utils/elog.c to something called
> sys_nerr (extern
> int).ÃÂ Cygwin b20.1 defined an _sys_nerr so there was not a problem.ÃÂ
> However when I do an nm on libc.a for 1.1.1 or 1.1.2 _sys_nerr is not
> definedÃÂ (i did eventually find it in libmsvrct40.a)
>
> [gak@TERAKNOR src]$ nm /lib/libcygwin.a | grep _sys_nerr
> 00000000 ? __imp___sys_nerr
>
In /src/backend/utils/error/elog.c and /src/backend/utils/error/exc.c
you have t change
extern int sys_nerr;
to
#ifdef __CYGWIN__
# define sys_nerr _sys_nerr
#else
extern int sys_nerr;
#endif
> also netinet/tcp.h appears to be missing...
>
PostgreSQL contains a empty version of tcp.h in the /src/win32 directory
together with a readme file of what to do with it,
Joost Kraaijeveld
Askesis B.V.
Molukkenstraat 14
6524NB Nijmegen
tel: 024-3888063 / 06-51855277
fax: 024-3608416
email: J.Kraaijeveld@Askesis.nl
web: www.askesis.nl
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com
More information about the Cygwin
mailing list