why error when compiling ?
Wang Jianwen
jianwen_wang@msn.com
Tue Nov 12 03:46:00 GMT 2002
I used the GCC to complie the source file which used the x11,
but it said that undefined reference error when ld run.
the source file is from
http://www.gnu.org/software/guile/docs/guile-ortoise2.html
and I used the instrucion:
gcc x.cpp -o file.exe -I/usr/X11R6/include -L/usr/X11R6/lib -lX11
but the compiler tell me that :
/cygdrive/c/Temp/ccWwBmed.o(.eh_frame+0x11):x.cpp:
undefined reference to `___gxx_personality_v0'
collect2: ld returned 1 exit status
What's the problem and how can I to solve it ?
_________________________________________________________________
Ãëê»úµÃÃ
óÃýøÃý»Ã÷£¬ÃëùÃà MSN Messenger: http://messenger.msn.com/lccn/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
More information about the Cygwin
mailing list