This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
why error when compiling ?
- From: "Wang Jianwen" <jianwen_wang at msn dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 12 Nov 2002 19:11:35 +0800
- Subject: why error when compiling ?
- Bcc:
- Reply-to: wangjw at ccermail dot net
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/