Re: C++/STL linking trouble

2008-01-13 Thread Ben Hutchings
On Wed, 2008-01-09 at 17:30 -0500, Adam C Powell IV wrote: > I think I found the problem. I pre-processed two files in question, > TDF_Attribute.cxx in OpenCASCADE and testDS.cxx in Salomé. I put both > outputs in http://lyre.mit.edu/~powell/salome/ > > In the former, /usr/include/stlport/stl/_

Re: C++/STL linking trouble

2008-01-09 Thread Adam C Powell IV
On Wed, 2008-01-09 at 10:09 -0500, Adam C Powell IV wrote: > On Wed, 2008-01-09 at 15:37 +0100, Thomas Girard wrote: > > On Wed, Jan 09, 2008 at 07:07:30AM -0500, Adam C Powell IV wrote: > > > I'm having trouble with a new C++ package called Salomé which I can't > > > get to link to a C++ library i

Re: C++/STL linking trouble

2008-01-09 Thread Adam C Powell IV
On Wed, 2008-01-09 at 15:37 +0100, Thomas Girard wrote: > On Wed, Jan 09, 2008 at 07:07:30AM -0500, Adam C Powell IV wrote: > > Greetings, > > Hello Adam, > > > I'm having trouble with a new C++ package called Salomé which I can't > > get to link to a C++ library in a new package OpenCASCADE. > >

Re: C++/STL linking trouble

2008-01-09 Thread Thomas Girard
On Wed, Jan 09, 2008 at 07:07:30AM -0500, Adam C Powell IV wrote: > Greetings, Hello Adam, > I'm having trouble with a new C++ package called Salomé which I can't > get to link to a C++ library in a new package OpenCASCADE. > > Here's the error: [...] > Using nm -C I found that the library lib

C++/STL linking trouble

2008-01-09 Thread Adam C Powell IV
Greetings, I'm having trouble with a new C++ package called Salomé which I can't get to link to a C++ library in a new package OpenCASCADE. Here's the error: g++ -m64 -D_OCC64 -g -D_DEBUG_ -Wno-deprecated -Wparentheses -Wreturn-type -Wunused -o .libs/testDS testDS-testDS.o -pthread ./.libs/lib