undefined reference to '_...
Hans Horn
hannes@2horns.com
Sun Jun 8 20:23:00 GMT 2003
Andrew Markebo wrote:
| Just give it a try and put "the library" one more time in the linker
| command, at the end.
|
| /A
Andrew,
you are right,
repeating the list of internal libs back-to-back
gcc -ofoo
foomain.o -L../lib -lfoo1 -lfoo2 -lfoo1 -lfoo2 -lg2c -lc -lgsl -lm
does the trick! The executable links now properly.
Even though it dumps a core on invocation. But here the debugger can help!
thank you so much!
H.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list