🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.windows.interviews
Article #851

Re: RS/6000 port, IV 3.1, g++-2.3.1

#851
From: juando
Date: Thu, 12 Nov 1992 22:49
47 lines
2236 bytes
>X-Envelope-to: interviews@interviews.stanford.edu, tmcconne@sedona.intel.com

In article <1992Nov12.204345.7586@ichips.intel.com>tmcconne@sedona.intel.com
(Tom McConnell~) writes:
>
>  I have not been able to build IV-3.1-beta3 on an RS/6000 AIX-3.1.6, using
>gcc-2.3.1. The problem is in collect2 from gcc.
>
>  Has anyone managed to build IV-3.1 beta3 on the RS/6000?
>
>  Here is the failure from "make World":
>
>g++    -o a.out *.o     -L../../../.././src/lib/IV/IBMr2 -lIV
> -L/stor/x11dev/R5/aix/lib -lXext -lX11 -lm  -lbsd
>0706-317 ERROR: Unresolved or undefined symbols detected:
>                 Symbols in error (followed by references) are
>                 dumped to the load map.
>.select__FUlPvN21P7timeval
>
>  The linker is apparently not demangling this correctly. Maybe g++ mangled it
>incorrectly in the first place?
>
>  Thanks for any help.
>
>    Cheers,
>
>    Tom McConnell
>-- 
> Tom McConnell          |     Internet: tmcconne@sedona.intel.com
> Intel, Corp. C3-91     |     Phone: (602)-554-8229
> 5000 W. Chandler Blvd. | The opinions expressed are my own. No one in 
> Chandler, AZ  85226    | their right mind would claim them.

It looks like select (system call) is not declared extern "C". Try to find out
where is it declared and bracket it with:

extern "C" {
...
}

Hope it helps.

-- 
Juan D. Martin                     Centro Nacional de Microelectronica
<juando@cnm.us.es>                                   Edificio C.I.C.A.
Phone: 34-5-4623811                             Av/ Reina Mercedes s/n
Fax:   34-5-4624506                               41012-SEVILLA, SPAIN
Technical Details
Message-ID: <9211122226.AA00724@sparc1.cnm.us.es>
Path: arc1-ca.pugleaf.net!sparky!uunet!know!hri.com!noc.near.net!nic.umass.edu!caen!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!agate!stanford.edu!cnm.us.es!juando

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!know!hri.com!noc.near.net!nic.umass.edu!caen!zaphod.mps.ohio-state.edu!darwin.sura.net!jvnc.net!yale.edu!qt.cs.utexas.edu!cs.utexas.edu!sun-barr!ames!agate!stanford.edu!cnm.us.es!juando
From: juando@cnm.us.es
Newsgroups: comp.windows.interviews
Subject: Re: RS/6000 port, IV 3.1, g++-2.3.1
Message-ID: <9211122226.AA00724@sparc1.cnm.us.es>
Date: 12 Nov 92 22:49:14 GMT
Sender: news@shelby.stanford.edu (USENET News System)
Organization: Internet-USENET Gateway at Stanford University
Lines: 47
X-Unparsable-Date: Thu, 12 Nov 1992 23: 26:25 UTC+0100