Article View: gnu.gcc.help
Article #51143Help! I can't decipher this!
From: Mike Aguilar
Date: Mon, 05 Jul 1993 03:51
Date: Mon, 05 Jul 1993 03:51
28 lines
1631 bytes
1631 bytes
Howdy all! I'm new to the wonderful world of C++ and even newer to gcc so please go easy on me. I've written a short program with a class called "George" defined. I try to compile it with gcc and it works fine up to the linking stage. When it tries to link i get the following message: ld: Undefined Symbol __6GeorgePCc __6GeorgeUi collect: usr/bin/ld returned 2 exit status I do get an a.out file which of course won't run (it just spits out a message like the one above.) I tried the '-g' option to use dbx and dbx gave me a message that said dbx:internal error:unexpected value 47 at line 2620 in file ../common/object.c I have no idea what is so unexpected about 47! I'm sure that there's something goofy in my program that's causing this but these messages don't give me any clue as to what it might be. _I_ certainly didn't ask for any such symbols and not define them! Any help in decoding this message would be very appreciated. Thanks, -mike aguilar beaker@math.uchicago.edu
Technical Details
Message-ID:
<1993Jul5.035121.1571@midway.uchicago.edu>Path:
arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!linac!uchinews!dent.uchicago.edu!beakerShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11318c,41c2e2e99fd4c8a1,start X-Google-Attributes: gid11318c,public X-Google-ArrivalTime: 1993-07-04 20:53:18 PST Newsgroups: gnu.gcc.help Path: arc1-ca.pugleaf.net!gmd.de!xlink.net!sol.ctr.columbia.edu!spool.mu.edu!uwm.edu!linac!uchinews!dent.uchicago.edu!beaker From: beaker@dent.uchicago.edu (Mike Aguilar) Subject: Help! I can't decipher this! Message-ID: <1993Jul5.035121.1571@midway.uchicago.edu> Sender: news@uchinews.uchicago.edu (News System) Organization: Dept. of Mathematics Distribution: usa Date: Mon, 5 Jul 1993 03:51:21 GMT Lines: 28