🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #166

Unresolved references during linking of g++ objects

#166
From: Allen M. Cohen
Date: Sat, 25 Jul 1992 02:21
25 lines
1461 bytes
I built gcc 2.2.2 on a 486 machine with ISC Unix 3.0.

I tried to build a Public domain program called XcRichText, which
has some c++ code.  I used gcc 2.2.2.

I got the following undefined refs:
_assert__FPcT0i                     ../libXc.a
strcat__FPcPCc                      ../libXc.a
strchr__FPCci                       ../libXc.a
_15ParagraphFormat.default_tab_width_ ../libXc.a
strcspn__FPCcT0                     ../libXc.a

When I built with the -S option, I noticed that the assembly language
output does indeed make the latter references.

E.G.:
  Why does gcc build an instruction like:
     call strcat__FPcPCc
instead of just:
     call strcat???
-- 
<> Allen M. Cohen -- Autologic, Inc. 1050 Rancho Conejo Blvd.,T.O. Ca.91320 <>
<> 1853 Stonesgate St.             Internet:  amc@IIPO.GTEGSC.COM           <>
<> Westlake Village, Ca. 91361     Telephone: (805) 498-9611 ext. 195       <>
<><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><><>
Technical Details
Message-ID: <1992Jul25.022158.20955@wlbr.iipo.gtegsc.com>
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!awds.imsd.contel.com!wlbr!amc

Show Full Headers
Complete Article Headers
Newsgroups: gnu.gcc.help
Path: arc1-ca.pugleaf.net!sparky!uunet!europa.asd.contel.com!awds.imsd.contel.com!wlbr!amc
From: amc@WLV.IIPO.GTEGSC.COM (Allen M. Cohen)
Subject: Unresolved references during linking of g++ objects
Message-ID: <1992Jul25.022158.20955@wlbr.iipo.gtegsc.com>
Sender: news@wlbr.iipo.gtegsc.com (news)
Nntp-Posting-Host: wlv.iipo.gtegsc.com
Organization: GTE Government Systems
Distribution: usa
Date: Sat, 25 Jul 92 02:21:58 GMT
Lines: 25