OK. Installed Solaris 10 to start fresh and then installed GCC4. I did not set LD_LIBRARY_PATH this time. Updated $PATH to include /opt/csw/gcc4/bin
Then, I configured the source with the following command:- ./configure LDFLAGS=-R/opt/csw/gcc4/lib ( I had to pass the LDFLAGS to the configure script otherwise it was not able to locate libstdc++ libs.) make But I am still getting those warnings. -----Original Message----- From: [email protected] [mailto:[email protected]] On Behalf Of Ben Walton Sent: Monday, April 11, 2011 9:26 AM To: users Subject: Re: [csw-users] GCC4 ld Warnings Excerpts from Kapoor, Nitin's message of Mon Apr 11 09:21:31 -0400 2011: Hi Nitin, > 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 You shouldn't need to set this variable and it may be the cause of your issue. Pass -L /opt/csw/gcc4/lib and -R /opt/csw/gcc4/lib if gcc isn't adding the required paths itself. This may not be the whole story, but it won't be helping you. Thanks -Ben -- Ben Walton Systems Programmer - CHASS University of Toronto C:416.407.5610 | W:416.978.4302 _______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users - 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. - _______________________________________________ users mailing list [email protected] https://lists.opencsw.org/mailman/listinfo/users
