This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
ld not showing undefined externals
- To: gnu-win32 at cygnus dot com
- Subject: ld not showing undefined externals
- From: Michael Lemke <michael at bamp01 dot sternwarte dot uni-erlangen dot de>
- Date: Mon, 26 Jan 1998 23:07:16 +0100
Can anyone help me with what might be wrong in my set up? When I call a
subroutine that doesn't exist (missing library or what) gcc
does not tell me which routine is missing. All I get is
bash$ gcc Generic.o -v -mwindows
Reading specs from
F:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\egcs-2.90.21\specs
gcc version egcs-2.90.21 971202 (egcs-1.00 release)
F:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\egcs-2.90.21\ld.exe
--subsystem windows //F/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/lib\crt0.o
-LF:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib\i386-cygwin32\egcs-2.90.21
-LF:\gnuwin32\b18\H-i386-cygwin32\lib\gcc-lib
-L//F/gnuwin32/b18/H-i386-cygwin32/lib/gcc-lib/i386-cygwin32/egcs-2.90.21
-L//F/gnuwin32/b18/H-i386-cygwin32/lib
-L//F/gnuwin32/b18/H-i386-cygwin32/i386-cygwin32/lib Generic.o -lgcc
-lcygwin -luser32 -lgdi32 -lcomdlg32 -lkernel32 -lgcc
collect2: ld returned 1 exit status
gcc: Internal compiler error: program ld got fatal signal 1
(The above happens because I omitted -lversion on purpose.)
I tried what the FAQ said about collect-ld but it didn't help.
If you need more information let me know.
Thanks,
Michael
-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request@cygnus.com" with one line of text: "help".