Thread: Win98/Cygwin make failure
CVS version 2001-02-08 //jaalto@PICASSO /usr/local/lib $ ls -la total 1037 drwxr-xr-x 3 jaalto users 0 Jan 28 20:57 . drwxr-xr-x 13 jaalto users 0 Jan 28 20:57 .. -rw-r--r-- 1 jaalto users 676104 Apr 25 2000 american.hash -rw-r--r-- 1 jaalto users 677136 Apr 25 2000 british.hash -rw-r--r-- 1 jaalto users 5854 Apr 25 2000 english.aff -rw-r--r-- 1 jaalto users 676104 Apr 25 2000 english.hash -rw-r--r-- 1 jaalto users 25988 Jan 10 03:36 libcygipc.a -rw-r--r-- 1 jaalto users 59830 Aug 27 08:46 libz.a //jaalto@PICASSO /usr/local/lib $ line -ltermcap -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 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' input.o(.text+0x35e):input.c: undefined reference to `_imp__read_history' input.o(.text+0x3e3):input.c: undefined reference to `_imp__write_history' input.o(.text+0x4d2):input.c: undefined reference to `_imp__stifle_history' input.o(.text+0x4fc):input.c: undefined reference to `_imp__write_history' tab-complete.o(.text+0x14):tab-complete.c: undefined reference to `_imp__rl_readline_name' tab-complete.o(.text+0x21):tab-complete.c: undefined reference to `_imp__rl_attempted_completion_function' tab-complete.o(.text+0x2c):tab-complete.c: undefined reference to `_imp__rl_basic_word_break_characters' tab-complete.o(.text+0xf24):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0xf60):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0xfc2):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x102a):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x10b3):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x1144):tab-complete.c: more undefined references to `_imp__completion_matches' follow tab-complete.o(.text+0x3300):tab-complete.c: undefined reference to `_imp__filename_completion_function' tab-complete.o(.text+0x330b):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x33a6):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x33ec):tab-complete.c: undefined reference to `_imp__completion_matches' tab-complete.o(.text+0x3841):tab-complete.c: undefined reference to `_imp__rl_line_buffer' tab-complete.o(.text+0x3869):tab-complete.c: undefined reference to `_imp__rl_line_buffer' tab-complete.o(.text+0x38ad):tab-complete.c: undefined reference to `_imp__rl_line_buffer' tab-complete.o(.text+0x3938):tab-complete.c: undefined reference to `_imp__rl_line_buffer' collect2: ld returned 1 exit status make[3]: *** [psql] Error 1 make[3]: Leaving directory `/usr/src/cvs-source/pgsql/src/bin/psql' make[2]: *** [all] Error 2 make[2]: Leaving directory `/usr/src/cvs-source/pgsql/src/bin' make[1]: *** [all] Error 2 make[1]: Leaving directory `/usr/src/cvs-source/pgsql/src' make: *** [all] Error 2 //jaalto@PICASSO /usr/src/cvs-source/pgsql $ ---------------------------------------------------------------------- Cygnus Win95/NT Configuration Diagnostics Current System Time: Thu Feb 8 00:41:30 2001 Win9X Ver 4.10 build 67766222 Path: /cygdrive/d/BIN /cygdrive/d/BIN/DOS /usr/bin /USR/BIN /USR/SBIN /USR/LOCAL/BIN /usr/lib /USR/LIBEXEC /usr/lib/GCC-LIB/I686-PC-CYGWIN/2.95.2-6 /USR/SHARE/SITE-LISP/EMACS/WIN32/GNUSERV /USR/X11R6/BIN /MISC/BIN /cygdrive/d/BIN/DOS/ZIP /cygdrive/d/BIN/LYNX /cygdrive/d/BIN/MISC /cygdrive/d/BIN/WGET /cygdrive/d/BIN/SSH /cygdrive/d/WBIN/SQL/MYSQL/BIN /home/JAALTO/BIN /home/JAALTO/EXE /home/JAALTO/BIN/PERL /home/JAALTO/WORK/PERL /home/JAALTO/WORK/PERL/CPAN /USR/SHARE/SITE-PERL/SCRIPT/MAKEPATCH-2.00A /USR/SHARE/SITE-PERL/SCRIPT/MISC /cygdrive/d/WBIN/LANGUAGE/PERL/BIN /cygdrive/d/BIN/VC/CVS /cygdrive/d/BIN/VC/RCS/GNU-5.7/BIN /USR/LOCAL/BIN/GHOSTVIEW /cygdrive/d/BIN/DMAKE /USR/LOCAL/SBIN /cygdrive/l/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/BIN /cygdrive/l/BIN/EMACS/XEMACS/XEMACS-21.2.36/I586-PC-WIN32 /cygdrive/d/BIN/VC/CVS/ANDYP /cygdrive/d/BIN/PGP/PGP /cygdrive/d/BIN/PGP/GPG /cygdrive/d/BIN/REED-KOTLER/BIN /cygdrive/n/BIN/APACHE/JAKARTA-TOMCAT/BIN /cygdrive/m/JAVA/SUN/JAVAHELP-1.1/JAVAHELP/BIN /cygdrive/m/JAVA/SUN/JPDA-1.0/BIN /cygdrive/m/JAVA/SUN/JDK1.2.2/BIN /cygdrive/m/JAVA/SUN/JDK1.2.2/JRE/BIN /cygdrive/d/WBIN/SQL/MYSQL/LIB /cygdrive/d/WBIN/SERVER/APACHE /cygdrive/d/WBIN/SERVER/XITAMIORACLE_HOME=N /Oracle/ora81 /cygdrive/n/ORACLE/ORA81/BIN /cygdrive/n/BIN/MSSQL7/BINN /cygdrive/d/WBIN/COMMERCIAL/EXCEED /cygdrive/c/WINDOWS/COMMAND /cygdrive/c/WINDOWS /cygdrive/c/WINDOWS/SYSTEM /home/JAALTO/BIN/BAT/PICASSO /home/JAALTO/BIN/PERL/MY /home/JAALTO/BIN/BAT/PICASSO/BIN /home/JAALTO/BIN/SHELL SysDir: C:\WINDOWS\SYSTEM WinDir: C:\WINDOWS PWD = `/home/jaalto' LPATH = `/lib:/usr/lib/:/usr/local/lib/:/usr/X11R6/lib' LD_LIBRARY_PATH = `/usr/local/lib' CYGWIN = `binmode tty' USER = `jaalto' C_INCLUDE_PATH = `/usr/local/include.' MAKE_MODE = `unix' HOME = `/home/jaalto' ELISP_EMACS = `n:/bin/emacs/gnu-emacs/emacs-20.6/lisp' IRCSERVER = `irc.atm.tut.fi' PROMPT = `$p$g' BASH_UNIX_ROOT_START = `J:/u' DOS_HOME_DRIVE = `E:' DOS_UNIX_ROOT_START = `J:\u' TZ = `EET-2EETDST' EMAIL_VIRTUAL = `jari.aalto@poboxes.com' SSI_INSECURE = `YES' TMPDIR = `/cygdrive/c/WINDOWS/TEMP' COMSPEC = `C:\COMMAND.COM' UNIX_BIN2_ROOT = `L:/bin' DOS_HOME_TPU = `E:\home\jaalto\work\tpu\course' DOS_WIN_BIN_DRIVE = `D:' PAGER = `less -eMi' CMDLINE = `WIN' VC_ROOT = `/cygdrive/K/data/version-control' SITE_LISP_ROOT_START = `J:/u/usr/share/site-lisp' HOSTNAME = `PICASSO' URL_MY_TPU = `http://sun.cs.tpu.fi/~jaalto' CXXEXTFLAGS = `-I.' EMACSLOCKDIR = `E:/home/jaalto/junk' MIXPATH = `d:\bin\wbin\crypto\mixmaster' PERL5LIB = `J:\u\usr\share\site-perl\PPM;\usr\share\site-perl\PPM;J:\u\usr\share\site-perl\CPAN;\usr\share\site-perl\CPAN;D:\wbin\language\perl\site\lib' USR_LOCAL_BIN = `J:\u\usr\local\bin' INCPATH = `/usr/include:/usr/X11R6/include' DOS_DOS_BIN = `D:\bin' JAVA_COMPCMD = `STACKTRACE' LNKEXTFLAGS = `-z +w' NNTPSERVER_SAUNA = `uutiset.saunalahti.fi' CLASSPATH = `.;E:\home\jaalto\work\Java;\sun\jpda-1.0\lib\jpda.jar;\sun\javahelp-1.1\javahelp\jhall.jar;\sun\javahelp-1.1\javahelp\jh.jar;\sun\jsdk2.1;\sun\jswdk-1.0.1;\sun\jaf-1.0.1;\sun\bdk-1.1;\sun\bdk-1.1\jars;\sun\jaxp-1.0-ea1;\sun\swing-1.1.1fc\swingall.jar;\sun\jdk1.2.2\lib;\sun\jdk1.2.2\jre\lib;\sun\jdk1.2.2\jre\lib\ext;\jcvs-5.2.2\application\jcvsii.jar;\jcvslet-0.9.5\jcvslet.jar;\SQLClient\application\sqlclient.jar;\misc\furi.jar;\programming\java\jde\jar\bsh.jar;\programming\java\jde\jar\jde.jar;J:\u\usr\local\share\libgcj.zip;\AwkTools-1.0;\NetComponents-1.3.8a;\OROGeo-1.0;\OROMatcher-1.1.0a;\PerlTools-1.2.0a;\TextTools-1.1;\commercial\exceed\hcljrcsv.jar;\commercial\exceed;\server\catalina.jar;\server\jaxp.jar;\server\crimson.jar;\server\regexp.jar;\lib' DYNDNS_PL_CFG = `E:/home/jaalto/config/dyndns.conf' FONTPATH = `/usr/X11R6.4/include/X11/fonts' IRCNICK = `f12345' WINDIR = `C:\WINDOWS' CTSYN = `C:\WINDOWS' MP3DB = `E:/home/jaalto/txt/mp3.txt' RCSTREE = `/cygdrive/K/data/version-control/rcstree' CC = `gcc' MANPATH = `/usr/man:/usr/local/man:/usr/local/reed-kotler/help/vim:/usr/local/reed-kotler/help/tcsh:/usr/local/bin/vc/rcs/man:/usr/local/bin/remote-sergei-b20:/usr/share/Xemacs/XEmacs-21.2/etc:/misc/man' EMACSPATH = `L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/bin' MY_HOME_MAIL_SPOOL = `E:/home/jaalto/Mail/Download/spool' SMTPSERVER_TPO = `mail.koti.tpo.fi' WINBOOTDIR = `C:\WINDOWS' BLASTER = `A220 I5 D1 H5 P330 T6' EMACSDOC = `L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/etc' MYWEBGET_PL_CFG = `E:/home/jaalto/config/mywebget.conf' DOS_WIN_BIN_SERVER_ROOT = `D:\wbin\server' ISP_FLAG = `E:\home\jaalto\tmp\dial-ok.flag' RCSINIT = `-x,v -zLT' SITE_LISP_ROOT_COMMON = `J:/u/usr/share/site-lisp/common' JHHOME = `\javahelp-1.0' NNTPSERVER = `news.koti.tpo.fi' SMTPSERVER_SUNA = `posti.saunalahti.fi' VISUAL = `runemacs -q' CPLUS_INCLUDE_PATH = `/usr/local/include.' SMTPSERVER = `mail.koti.tpo.fi' CVSROOT_TERRA_LOCALHOST = `:pserver:jaalto@localhost:/usr/share/version-control/cvs/cvsroot' MACHTYPE = `i686-pc-cygwin' CVSROOT_FORGE_PMLIB = `jaalto@cvs.pm-lib.sourceforge.net:/cvsroot/pm-lib' CXX = `g++' CVS_RSH = `J:\u\bin\ssh' CVSROOT_FORGE_TT = `:jaalto@cvs.tiny-tools.sourceforge.net:/cvsroot/tiny-tools' CVSROOT_LOCAL = `:local:/cygdrive/K/data/version-control/cvsroot' MAIL = `J:/u/var/mail/jaalto' MY_HOME_EMACS_CFG_ROOT = `E:/home/jaalto/elisp/config' CVSROOT_FORGE_PMDOC = `jaalto@cvs.pm-doc.sourceforge.net:/cvsroot/pm-doc' DOS_UNIX_ROOT_DRIVE = `J:' TEMP = `/cygdrive/c/WINDOWS/TEMP' URL_MY_HOME = `http://home.eu.org/~jari/' EDITOR = `runemacs -q' DOS_USR_SHARE = `J:\u\usr\share' HOME_DOS = `E:\home\jaalto' EMAIL_MAILING_LIST = `posting-list@MailAndNews.com' HOST = `picasso' JAVA_HOME = `\sun\jdk1.2.2' PERL5_PATH = `/usr/local/bin/perl/cpan;/usr/local/bin/perl/lib' SAVEDIR = `E:/home/jaalto/News' SSH1 = `D:\bin\ssh\ssh' MY_HOME_MAIL_ROOT = `E:/home/jaalto/Mail' SSH2 = `J:\u\bin\ssh' APERL = ` $DOS_WIN_BIN_ROOT\languages\perl\bin\perl' DOS_HOME_DIR = `E:\home\jaalto' NNTPSERVER_TPO = `news.koti.tpo.fi' SSH = `D:\bin\ssh\ssh' TMP = `/cygdrive/c/WINDOWS/TEMP' DISPLAY = `:0' CVSROOT_TERRA = `:pserver:jaalto@terra.cs.tpu.fi:/usr/share/version-control/cvs/cvsroot' EMACS_DIR = `L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3' EMACSDATA = `L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/etc' LOGNAME = `jaalto' MAILHOST = `mail.koti.tpo.fi' UNIX_WIN_BIN_ROOT = `D:/wbin' SHLVL = `1' LC_CTYPE = `iso_8859_1' PERL_BADLANG = `1' DIRCMD = ` /P /O:GNE' PGPPATH = `E:\home\jaalto\pgp' EMAIL = `jari.aalto@poboxes.com' JRE = `\sun\jdk1.2.2\jre' MM_CHARSET = `iso-8859-1' CVSEDITOR = `notepad' REED_KOTLER__ROOT_START = `J:' SHELL = `j:/u/bin/bash.exe' CVSROOT = `:local:/cygdrive/K/data/version-control/cvsroot' EM_PARENT_PROCESS_ID = `-1733547' HOSTTYPE = `i686' LYNX_CFG = `d:\bin\lynx\lynx.cfg' EMACSLOADPATH = `L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/site-lisp;L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/lisp;L:/BIN/EMACS/GNU-EMACS/EMACS-20.7.3/leim' OSTYPE = `cygwin' JSERV_HOME = `O:\java\apache\cvs\jserv' MY_JAVA_JCVS = `\jcvs-5.2.2\application\jcvsii.jar' TERM = `cygwin' VERSION_CONTROL = `never' CFLAGS = `-static -Wall -Wno-format -Wstrict-prototypes -Wmissing-prototypes -mwindows' LESSCHARSET = `latin1' MY_HOME_NEWS_ROOT = `f:/home/jaalto/News' NAME = `Jari Aalto' TPU_COURSE = `E:\home\jaalto\work\tpu\course' VIM = `J:\u\USR\LOCAL\REED-K~1\help\vim' DOS_WIN_BIN_ROOT = `D:\wbin' LC_COLLATE = `iso_8859_1' _ = `/usr/bin/cygcheck' HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Explorer\MenuOrder\Start Menu\&Programs\Cygnus Solutions (default) = (unsupported type) HKEY_CURRENT_USER\Software\Cygnus Solutions HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2 (default) = `/cygdrive' cygdrive flags = 0x00000022 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/home (default) = `e:\home' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/ (default) = `j:\u' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/bin (default) = `j:/u/bin' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2\/usr/lib (default) = `j:/u/lib' flags = 0x00000002 HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\Program Options HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 (default) = `\\.\tape1:' unix = `/dev/st1' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 (default) = `\\.\tape0:' unix = `/dev/st0' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 (default) = `\\.\b:' unix = `/dev/fd1' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 (default) = `\\.\a:' unix = `/dev/fd0' fbinary = 0x00000000 fsilent = 0x00000001 HKEY_CURRENT_USER\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 (default) = `C:' unix = `/' fbinary = 0x00000000 fsilent = 0x00000000 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\mounts v2 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\Cygwin\Program Options HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\00 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\01 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\02 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\03 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\04 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\05 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\06 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\07 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\08 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\09 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0A HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0B HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0C HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0D HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0E HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\0F HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\10 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\11 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\12 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\13 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\14 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\15 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\16 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\17 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\18 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\19 HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1A HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1B HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1C HKEY_LOCAL_MACHINE\Software\Cygnus Solutions\CYGWIN.DLL setup\b15.0\mounts\1D a: fd N/A N/A c: hd FAT 1003Mb 64% CP UN C-DISK d: hd FAT 2039Mb 40% CP UN e: hd FAT 2031Mb 84% CP UN f: hd FAT 533Mb 74% CP UN g: hd FAT 1513Mb 81% CP UN h: hd FAT 2039Mb 1% CP UN ULTRA i: hd FAT 2039Mb 8% CP UN j: hd FAT 2039Mb 81% CP UN k: hd FAT 2039Mb 9% CP UN l: hd FAT32 23803Mb 70% CP UN m: hd FAT32 30013Mb 31% CP UN n: hd FAT 901Mb 33% CP UN NT o: cd N/A N/A p: cd N/A N/A j:\u\bin /usr/bin user binmode j:\u\lib /usr/lib user binmode e:\home /home user binmode j:\u / user binmode Found: j:\u\bin\bash.exe Found: j:\u\bin\cat.exe Found: j:\u\bin\cpp.exe Found: j:\u\lib\GCC-LIB\I686-PC-CYGWIN\2.95.2-6\cpp.exe Warning: j:\u\bin\cpp.exe hides j:\u\lib\GCC-LIB\I686-PC-CYGWIN\2.95.2-6\cpp.exe Found: j:\u\bin\find.exe Found: c:\WINDOWS\COMMAND\find.exe Warning: j:\u\bin\find.exe hides c:\WINDOWS\COMMAND\find.exe Found: j:\u\bin\gcc.exe Found: j:\u\bin\gdb.exe Found: j:\u\bin\ld.exe Found: j:\u\bin\ls.exe Found: j:\u\bin\make.exe Found: j:\u\bin\sh.exe 14k 2000/10/23 j:\u\bin\cygintl.dll - os=4.0 img=1.0 sys=4.0 "cygintl.dll" v0.0 ts=2000/10/23 22:02 390k 2001/01/18 j:\u\bin\cygtcl80.dll - os=4.0 img=1.0 sys=4.0 "cygtcl80.dll" v0.0 ts=2001/1/18 6:44 81k 2000/12/05 j:\u\bin\cygitcl30.dll - os=4.0 img=1.0 sys=4.0 "cygitcl30.dll" v0.0 ts=2000/11/26 3:43 35k 2000/12/05 j:\u\bin\cygitk30.dll - os=4.0 img=1.0 sys=4.0 "cygitk30.dll" v0.0 ts=2000/11/26 3:43 5k 2001/01/18 j:\u\bin\cygtclpip80.dll - os=4.0 img=1.0 sys=4.0 10k 2001/01/18 j:\u\bin\cygtclreg80.dll - os=4.0 img=1.0 sys=4.0 "cygtclreg80.dll" v0.0 ts=2001/1/18 6:44 623k 2000/12/05 j:\u\bin\cygtk80.dll - os=4.0 img=1.0 sys=4.0 "cygtk80.dll" v0.0 ts=2000/11/26 3:43 45k 2000/10/22 j:\u\bin\cygjbig1.dll - os=4.0 img=1.0 sys=4.0 "cygjbig1.dll" v0.0 ts=2000/10/23 2:06 119k 2000/10/23 j:\u\bin\cygjpeg6b.dll - os=4.0 img=1.0 sys=4.0 "cygjpeg6b.dll" v0.0 ts=2000/10/23 3:58 243k 2000/10/23 j:\u\bin\cygtiff3.dll - os=4.0 img=1.0 sys=4.0 "cygtiff3.dll" v0.0 ts=2000/10/23 4:14 49k 2000/10/23 j:\u\bin\cygz.dll - os=4.0 img=1.0 sys=4.0 "cygz.dll" v0.0 ts=2000/10/23 3:22 18k 2000/10/23 j:\u\bin\cyggdbm.dll - os=4.0 img=1.0 sys=4.0 "cyggdbm.dll" v0.0 ts=2000/10/23 5:26 82k 2001/01/21 j:\u\bin\cygform5.dll - os=4.0 img=1.0 sys=4.0 "cygform5.dll" v0.0 ts=2001/1/21 22:39 53k 2001/01/21 j:\u\bin\cygmenu5.dll - os=4.0 img=1.0 sys=4.0 "cygmenu5.dll" v0.0 ts=2001/1/21 22:39 34k 2001/01/21 j:\u\bin\cygpanel5.dll - os=4.0 img=1.0 sys=4.0 "cygpanel5.dll" v0.0 ts=2001/1/21 22:38 17k 2001/01/07 j:\u\bin\cyghistory4.dll - os=4.0 img=1.0 sys=4.0 "cyghistory4.dll" v0.0 ts=2001/1/7 6:34 108k 2001/01/07 j:\u\bin\cygreadline4.dll - os=4.0 img=1.0 sys=4.0 "cygreadline4.dll" v0.0 ts=2001/1/7 6:34 414k 2001/01/21 j:\u\bin\cygncurses++5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses++5.dll" v0.0 ts=2001/1/21 22:40 299k 2001/01/21 j:\u\bin\cygncurses5.dll - os=4.0 img=1.0 sys=4.0 "cygncurses5.dll" v0.0 ts=2001/1/21 22:38 41k 2000/11/20 j:\u\bin\cygXpm-noX4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-noX4.dll" v0.0 ts=2000/11/20 4:41 45k 2000/11/20 j:\u\bin\cygXpm-X4.dll - os=4.0 img=1.0 sys=4.0 "cygXpm-X4.dll" v0.0 ts=2000/11/20 4:45 56k 2000/12/03 j:\u\bin\cygbz21.0.dll - os=4.0 img=1.0 sys=4.0 "cygbz21.0.dll" v0.0 ts=2000/11/21 1:53 162k 2000/10/23 j:\u\bin\cygpng2.dll - os=4.0 img=1.0 sys=4.0 "cygpng2.dll" v0.0 ts=2000/10/23 3:40 615k 2001/01/31 j:\u\bin\cygwin1.dll - os=4.0 img=1.0 sys=4.0 "cygwin1.dll" v0.0 ts=2001/1/31 17:08 Cygwin DLL version info: dll major: 1001 dll minor: 8 dll epoch: 19 dll bad signal mask: 19005 dll old termios: 5 dll malloc env: 28 api major: 0 api minor: 34 shared data: 3 dll identifier: cygwin1 mount registry: 2 cygnus registry name: Cygnus Solutions cygwin registry name: Cygwin program options name: Program Options cygwin mount registry name: mounts v2 cygdrive flags: cygdrive flags cygdrive prefix: cygdrive prefix cygdrive default prefix: build date: Wed Jan 31 10:08:38 EST 2001 shared id: cygwin1S3 653k 1998/10/30 d:\WBIN\SQL\MYSQL\LIB\cygwinb19.dll - os=4.0 img=1.0 sys=4.0 "cygwinb19.dll" v0.0 ts=1998/7/15 20:50 Use -h to see help about each section ---------------------------------------------------------------------- crypt latest/crypt/crypt-1.0.tar.gz 7407 findutils latest/findutils/findutils.tar.gz 81300 gawk latest/gawk/gawk-3.0.4.tar.gz 326380 man latest/man/man-1.5g-2.tar.gz 50382 byacc latest/byacc/byacc.tar.gz 30927 clear latest/clear/clear-1.0.tar.gz 925 diff latest/diff/diff.tar.gz 94144 gperf latest/gperf/gperf.tar.gz 47317 groff latest/groff/groff-1.11a-1.tar.gz 1986071 gzip latest/gzip/gzip.tar.gz 91515 login latest/login/login-1.4-1.tar.gz 8756 m4 latest/m4/m4.tar.gz 68815 mt latest/mt/mt-1.9.1.tar.gz 10063 patch latest/patch/patch.tar.gz 39608 sed latest/sed/sed-3.02-1.tar.gz 33953 shellutils latest/shellutils/shellutils.tar.gz 272743 textutils latest/textutils/textutils-2.0-1.tar.gz 579785 time latest/time/time.tar.gz 11137 vim latest/vim/vim-5.7-4.tar.gz 1477095 jbigkit contrib/jbigkit/jbigkit-1.2-3.tar.gz 83876 jpeg contrib/jpeg/jpeg-6b-3.tar.gz 300495 tiff contrib/tiff/tiff-3.5.5-3.tar.gz 488508 zlib contrib/zlib/zlib-1.1.3-5.tar.gz 72671 cvs contrib/cvs/cvs-1.11.0-1.tar.gz 886467 gdbm contrib/gdbm/gdbm-1.8.0-3.tar.gz 49710 less latest/less/less-358-2.tar.gz 66678 make latest/make/make-3.79.1-2.tar.gz 288557 openssl latest/openssl/openssl-0.9.5a.tar.gz 3852643 regex latest/regex/regex-4.4.tar.gz 29048 autoconf latest/autoconf/autoconf-2.13.tar.gz 261770 bison latest/bison/bison-1.28-1.tar.gz 123218 newlib-man latest/cygwin/newlib-man-20001118.tar.gz 64618 opengl latest/opengl/opengl-1.1.0-3.tar.gz 878290 xpm contrib/xpm/xpm-4.0.0-2.tar.gz 421955 gettext contrib/gettext/gettext-0.10.35-2p1.tar.gz 346343 texinfo latest/texinfo/texinfo-4.0-3.tar.gz 794023 bzip2 latest/bzip2/bzip2-1.0.1-6.tar.gz 339440 gdb latest/gdb/gdb-20001125-1.tar.gz 3650851 tcltk latest/tcltk/tcltk-20001125-1.tar.gz 1756413 termcap latest/termcap/termcap-20001216-1.tar.gz 18697 cpio latest/cpio/cpio-2.4.2.tar.gz 30199 grep latest/grep/grep-2.4.2-1.tar.gz 168997 binutils latest/binutils/binutils-20001221-1.tar.gz 3507710 perl contrib/perl/perl-5.6.1-1.tar.gz 5893455 fileutils latest/fileutils/fileutils-4.0-2.tar.gz 567481 gcc latest/gcc/gcc-2.95.2-6.tar.gz 4872207 tar latest/tar/tar-1.13.18-2.tar.gz 335390 readline contrib/readline/readline-4.1-2.tar.gz 646802 unzip contrib/unzip/unzip-5.41-1.tar.gz 160517 zip contrib/zip/zip-2.3-1.tar.gz 84023 libpng contrib/libpng/libpng-1.0.8-2.tar.gz 266528 openssh latest/openssh/openssh-2.3.0p1-2.tar.gz 1195941 ash latest/ash/ash-20010129.tar.gz 34747 automake latest/automake/automake-1.4-2.tar.gz 205666 bash latest/bash/bash-2.04-6.tar.gz 275903 cygwin latest/cygwin/cygwin-1.1.8-2.tar.gz 666115 dejagnu latest/dejagnu/dejagnu-20010117-1.tar.gz 156354 expect latest/expect/expect-20010117-1.tar.gz 809104 flex latest/flex/flex-2.5.4-1.tar.gz 93425 inetutils latest/inetutils/inetutils-1.3.2-10.tar.gz 255830 mingw latest/mingw/mingw-20010130-1.tar.gz 138206 ncftp contrib/ncftp/ncftp-3.0.2-1.tar.gz 381148 ncurses latest/ncurses/ncurses-5.2-4.tar.gz 2479155 popt contrib/popt/popt-1.6.1-1.tar.gz 39291 squid contrib/squid/squid-2.4.PRE-STABLE.tar.gz 438059 w32api latest/w32api/w32api-20010130-1.tar.gz 616451 wget contrib/wget/wget-1.6-1.tar.gz 232639
Attachment
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