This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: undefined reference to _imp_reent_data ? (postgres 7.0RC5 compile)


I got Postgres compiled today. I had to change the following after
untarring:

1. I had to change YFLAGS in /src/template/cygwin32 to resemble my
installation.
2. In /src/backend/utils/elog.c and /src/backend/utils/exc.c I changed 

	extern int	sys_nerr;

	to

	#ifdef __CYGWIN__
	#  define sys_nerr _sys_nerr
	#else
	   extern int sys_nerr;
	#endif

3. I removed all code (commented it out) from the /src/utils/dllinit.c
but kept the file so I did not have to edit the makefile.

I ran all the regression tests and now I am studying the results. So it
works.

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]