From: Warren Young Date: January 11 2010 9:52pm Subject: Re: Building mysql++ with STLPort List-Archive: http://lists.mysql.com/plusplus/8861 Message-Id: <4B4B9D8A.10208@etr-usa.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 1/11/2010 2:28 PM, Herman Schultz wrote: > > I tried configure --with-stlport= but that didn't seem to have any affect. Where do you see it documented that it should? > My problem is an unresolved symbol error in one our apps: > > undefined reference to `mysqlpp::SQLTypeAdapter::SQLTypeAdapter(stlp_std::basic_string, stlp_std::allocator > const&, bool)' > > Looks a mixing of stl and stlport to me. To make your compiler find the STLport headers before its standard C++ library, something this should work: $ ./configure CXXFLAGS=-I/where/stlport/is --other-flags This is off the cuff, because I haven't used STLport since the days when most compiler vendors shipped broken STL implementations, or didn't ship STL at all. Why would one use STLport today?