Problem in compiling : cannot find -ldl
philippe guillaume
guillaume_pfr@yahoo.fr
Wed Jul 9 12:09:00 GMT 2003
Here is the line for the compilation :
" gcc -o wish.exe OBJ/wish.o OBJ/calculPosition.o
OBJ/calculVisibiliteCmd.o -L/usr/lib -L/usr/X11R6/lib
-ltk -ltcl -ldl -lX11 -lm "
and it produces this error :
"
/usr/lib/gcc-lib/i686-pc-cygwin/3.2/../../../../i686-pc-cygwin/bin/ld
: cannot find -ldl "
There's two things that i don't understand ...
1- Why i can't see the bin directory on windows in
c:\cygwin\usr and even when i do " ls -l /usr " ?
2- the option -llibrary ... this error means that dl
library isn't on my cygwin ? if it's that how can i
get it ?
Could you please help me ?
Thanks a lot.
Philippe
___________________________________________________________
Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français !
Yahoo! Mail : http://fr.mail.yahoo.com
--
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