Обсуждение: build failure
Hello, I get the following error when trying to build PostgreSQL 7.1.3 on Cygwin: gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations command.o common.o hel p.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/libpq -lpq -L /usr/local/lib -g -lz -lcrypt -lreadline -lcygipc -o psql tab-complete.o(.text+0x2a36):tab-complete.c: undefined reference to `filename_co mpletion_function' collect2: ld returned 1 exit status make[3]: *** [psql] Error 1 To get this error, I ran: ./configure make I'm using Cygwin version 1.3.5 (complete version of cygwin1.dll is 1.3.5-cygwin-1-3-5-2) with a build date of 2001-11-13 23.16 on Windows NT with service pack 6. I followed the instructions in doc/FAQ-MSWIN (cygipc is running as a service, etc). I ran ./configure with no additional options. Any clue as to what is going on? I've tried to get PostgreSQL to run on NT off and on for the past year. My goal is to get it to run, then package compiled binaries with Cygwin in a standard Windows installation program like InstallShield with a goal of getting PostgreSQL to compete in the MS SQL Server marketspace. Thanks for your help. Dale Anson ----------------------- Dale Anson CIO, n-Link Corporation danson@n-link.net 425-453-9933 x22 425-453-1119 fax 425-864-7679 cell
Dale, On Mon, Nov 26, 2001 at 04:31:39PM -0800, Dale Anson wrote: > I get the following error when trying to build PostgreSQL 7.1.3 on > Cygwin: > > gcc -O2 -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/libpq -lpq -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 See the following: http://www.google.com/search?hl=en&q=filename_completion_function+cygwin > I've tried to get PostgreSQL to run on NT off and on for the past year. Have you tried the pre-built 7.1.3 that is part of the standard Cygwin distribution? > My goal is to get it to run, then > package compiled binaries with Cygwin in a standard Windows installation > program like InstallShield with a goal of getting PostgreSQL to compete > in the MS SQL Server marketspace. The above is a very laudable goal, but I would recommend searching the mailing list archives for known issues... Jason
Dale, On Thu, Nov 29, 2001 at 11:48:21AM -0800, Dale Anson wrote: > it complained that cygncurses5.dll wasn't found. I have > cygncurses6.dll, so I made a copy of that and named it cygncurses5.dll, > and all ran well. Don't do that! See the following for the correct solution: http://cygwin.com/ml/cygwin-announce/2001/msg00124.html > My next goal is to find the minimum files required from cygwin to get > PostgreSQL to run. Any idea where I might start looking? This has been asked but possibly not answered before. Try searching the archives. > Thanks again for your help -- and who says you can't get any support for > this open source stuff?! You are welcome. Jason