Re: Win98/Cygwin make failure
От | Jason Tishler |
---|---|
Тема | Re: Win98/Cygwin make failure |
Дата | |
Msg-id | 20010207213217.T980@dothill.com обсуждение исходный текст |
Ответ на | Win98/Cygwin make failure (posting-list@MailAndNews.com (Jari Aalto+tpu.misc)) |
Список | pgsql-ports |
Jari, On Thu, Feb 08, 2001 at 12:45:17AM +0200, Jari Aalto+tpu.misc wrote: > //jaalto@PICASSO /usr/local/lib $ ls -la > total 1037 > ... The output from the following would better enable me to help debug your problem: $ ls -l /usr/lib/*read* > //jaalto@PICASSO /usr/local/lib $ > > line -ltermcap -lcygipc -o psql I would have preferred not to have to guess at the entire psql link line but I presume that it is the following: gcc -O2 -Wall -Wmissing-prototypes -Wmissing-declarations \ -L/usr/local/lib -g 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 -lz \ -lcrypt -lreadline -ltermcap -lncurses -lcygipc -o psql > /usr/lib/gcc-lib/i686-pc-cygwin/2.95.2-6/../../../../i686-pc-cygwin/bin/ld: warning: cannot find entry symbol _WinMainCRTStartup;defaulting to 00401000 Hmm...seems unrelated to your readline link problem, but something that you should investigate. > input.o(.text+0x49):input.c: undefined reference to `_imp__readline' > input.o(.text+0x1cc):input.c: undefined reference to `_imp__add_history' > input.o(.text+0x2f3):input.c: undefined reference to `_imp__using_history' > ... I believe that your problem is somehow you are linking with the static readline library (i.e. /usr/lib/libreadline.a) and not the readline import library (i.e., /usr/lib/libreadline.dll.a) needed to resolve the imports from the Cygwin readline DLL. However, I'm not sure how you managed to accomplish this. Jason -- Jason Tishler Director, Software Engineering Phone: +1 (732) 264-8770 x235 Dot Hill Systems Corp. Fax: +1 (732) 264-8798 82 Bethany Road, Suite 7 Email: Jason.Tishler@dothill.com Hazlet, NJ 07730 USA WWW: http://www.dothill.com
В списке pgsql-ports по дате отправления: