Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-Originating-IP: [202.110.220.14] Reply-To: wangjw AT ccermail DOT net From: "Wang Jianwen" To: cygwin AT cygwin DOT com Subject: why error when compiling ? Date: Tue, 12 Nov 2002 19:11:35 +0800 Mime-Version: 1.0 Content-Type: text/plain; charset=gb2312; format=flowed Message-ID: X-OriginalArrivalTime: 12 Nov 2002 11:11:36.0047 (UTC) FILETIME=[43D48FF0:01C28A3C] Note-from-DJ: This may be spam 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/