[csw-users] GCC4 ld Warnings

Kapoor, Nitin Nitin.Kapoor at Sensis.com
Mon Apr 11 15:21:31 CEST 2011

Thanks Maciej for looking into this.

So for example I am trying to compile xerces, xqilla, or Google protobuf etc... etc...
Step that I took to build were:
MY LD_LIBRARY_PATH is set to /opt/csw/gcc4/lib

1). gunzip xerces-c-3.1.1.tar.gz
2). Tar xvf xerces-c-3.1.1.tar
3). Cd xerces-c-3.1.1
4). ./configure
5). make   ...after a while into make it starts outputting these ld warnings.

ld: warning: file
linked to /opt/csw/gcc4/lib/libstdc++.so: attempted multiple inclusion of


-----Original Message-----
From: users-bounces+nkapoor=sensis.com at lists.opencsw.org [mailto:users-bounces+nkapoor=sensis.com at lists.opencsw.org] On Behalf Of Maciej Blizinski
Sent: Saturday, April 09, 2011 4:29 AM
To: Questions and discussions
Subject: Re: [csw-users] GCC4 ld Warnings

2011/4/8 Kapoor, Nitin <Nitin.Kapoor at sensis.com>:
> ld: warning: file
> /opt/csw/gcc4/lib/gcc/sparc-sun-solaris2.8/4.3.3/../../../libstdc++.so:
> linked to /opt/csw/gcc4/lib/libstdc++.so: attempted multiple inclusion of
> file

I'm not sure whether this has got to do with OpenCSW gcc packages, or
the compilation procedure you're using.  Are you able to provide a
minimal example reproducing the issue?


gtar xfvz foo.tar.gz
cd foo
...attempted multiple inclusion of file

users mailing list
users at lists.opencsw.org
This message is intended only for the addressee and may contain information that is company confidential or privileged.  Any technical data in this message may be exported only in accordance with the U.S. International Traffic in Arms Regulations (22 CFR Parts 120-130) or the Export Administration Regulations (15 CFR Parts 730-774). Unauthorized use is strictly prohibited and may be unlawful. If you are not the intended recipient, or the person responsible for delivering to the intended recipient, you should not read, copy, disclose or otherwise use this message. If you have received this email in error, please delete it, and advise the sender immediately. 

More information about the users mailing list