Thread: NT install
Hello, I have installed cygwin as of late September, 2001, and cygipc-1_10-1 and was trying to do the gmake today as part of the postgresql install and I received this error: gcc -02 -Wall -Wmissing-prototypes -Wmissing-declarations command.o common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o variables.o large_obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpg -lpg -L/usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to `filename_completion_function` collect2: ld returned 1 exit status make[3]: *** [psql] Error 1 make[3]: Leavingndirectory `/postgresql-7.1.3/src/bin/psql` make[2]: *** [all] Error 2 make[2]: Leaving directory `/postgresql-7.1.3/src/bin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/postgresql-7.1.3/src' make: *** [all] Error 2 Do you think I should remove the reference to filename_completion_function? In the broader context, I am trying to use postgresql on my WindowsNT to access a sybase database using ODBC. Does anyone know of this having been done successfully? Are there focused and detailed instructions for this purpose? Thanks, David
Have you considered using the pre-build postgresql that comes with cygwin? I think there are many who have this working. Russell ----- Original Message ----- From: "David" <cupcake@sdf.lonestar.org> To: <pgsql-cygwin@postgresql.org> Sent: Tuesday, October 09, 2001 3:27 PM Subject: [CYGWIN] NT install > Hello, > > I have installed cygwin as of late September, 2001, and cygipc-1_10-1 and > was trying to do the gmake today as part of the postgresql install and I > received this error: > > gcc -02 -Wall -Wmissing-prototypes -Wmissing-declarations command.o > common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o > variables.o large_obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpg > -lpg -L/usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql > tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference > to `filename_completion_function` > collect2: ld returned 1 exit status > make[3]: *** [psql] Error 1 > make[3]: Leavingndirectory `/postgresql-7.1.3/src/bin/psql` > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/postgresql-7.1.3/src/bin' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/postgresql-7.1.3/src' > make: *** [all] Error 2 > > Do you think I should remove the reference to filename_completion_function? > > In the broader context, I am trying to use postgresql on my WindowsNT > to access a sybase database using ODBC. > > Does anyone know of this having been done successfully? Are there > focused and detailed instructions for this purpose? > > Thanks, > > David > > ---------------------------(end of broadcast)--------------------------- > TIP 5: Have you checked our extensive FAQ? > > http://www.postgresql.org/users-lounge/docs/faq.html
David, On Tue, Oct 09, 2001 at 09:27:19PM +0000, David wrote: > I have installed cygwin as of late September, 2001, and cygipc-1_10-1 and > was trying to do the gmake today as part of the postgresql install and I > received this error: > > gcc -02 -Wall -Wmissing-prototypes -Wmissing-declarations command.o > common.o help.o input.o stringutils.o mainloop.o copy.o startup.o prompt.o > variables.o large_obj.o print.o describe.o tab-complete.o -L../../../src/interfaces/libpg > -lpg -L/usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql > tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference > to `filename_completion_function` > [snip] > > Do you think I should remove the reference to filename_completion_function? No. The pristine PostgreSQL 7.1.3 source needs to be patched to build against readline 4.2 (or later) under Cygwin. I recommend using the already patched for Cygwin PostgreSQL source that is available on the Cygwin mirrors. Of course, this is only if the pre-built binary does not meet your needs. > In the broader context, I am trying to use postgresql on my WindowsNT > to access a sybase database using ODBC. > > Does anyone know of this having been done successfully? Are there > focused and detailed instructions for this purpose? Sorry, I have no experience in this area so I can't help you with this one. Jason