[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Linking problems with Solaris Workshop 5.0
From: |
Arnaud Desitter |
Subject: |
Re: Linking problems with Solaris Workshop 5.0 |
Date: |
Wed, 20 Jun 2001 09:25:59 +0100 (BST) |
>
> Hello,
>
> I've tried to build DDD 3.3 and 3.3.1 on Solaris 2.6 using the Workshop
> 5.0 CC and cc compilers and GNU make, and am running into the following
> undefined symbol errors when trying to link vsl:
>
> Undefined first referenced
> symbol in file
> void set_status(string,bool)
> ./SunWS_cache/CC_obj_h/hmKoQfjt8gzlYGTO8uAp.o
> void unlock_status()
> ./SunWS_cache/CC_obj_h/hmKoQfjt8gzlYGTO8uAp.o
> ld: fatal: Symbol referencing errors. No output written to vsl
>
> These methods are defined in status.C, but status.o doesn't appear as an
> argument -- I tried this and got a slew of other undefined symbol errors.
>
> From the error message, it looks like Workshop CC is using a cached object
> file that it shouldn't be using
> (template instantiations or inline methods?); Can anyone who has
> successfully built with Workshop CC offer any insight?
Yes. Upgrade to Workshop 6 Update 1, i.e. CC 5.2. Former versions of
the 5 series are buggy and better avoided.
Cheers,
Arnaud
_____________________________________________________________________
This message has been checked for all known viruses by Star Internet
delivered through the MessageLabs Virus Scanning Service. For further
information visit http://www.star.net.uk/stats.asp or alternatively call
Star Internet for details on the Virus Scanning Service.