delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/11/12/06:11:47

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
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" <jianwen_wang AT msn DOT com>
To: cygwin AT cygwin DOT com
Subject: why error when compiling ?
Date: Tue, 12 Nov 2002 19:11:35 +0800
Mime-Version: 1.0
Message-ID: <F21NpJUPH9bdqGwLx2y0000b0a6@hotmail.com>
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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019