[1.34] using STLport 5.1.0 fails during linking

Hello, I'm trying to build Boost 1.34 using STLport 5.1(.0), but I get those error messages during link: /usr/bin/ld: cannot find -lstlportstlg.5.1 /usr/bin/ld: cannot find -lstlport.5.1 I use Linux and gcc 4.1.2. The static libs of STLport exist, but without the version number. Here is how I compile and install STLport: tar jxvf STLport-5.1.0.tar.bz2 cd STLport-5.1.0/build/lib make -f gcc.mak depend make -f gcc.mak make -f gcc.mak all-static make -f gcc.mak install make -f gcc.mak install-static cd ../.. cp lib/libstlport* $HOME/local/lib/ cp -R stlport $HOME/local/include/ Here are the available static libs: libstlport.a libstlportg.a libstlportstlg.a Note: I've just compiled STLport 5.1.3. Same files. They didn't change the build system. Note bis: I've asked the STLport devs if I should link my project with static or shared lib of STLport. They answered the shared lib as it is less troublesome. Maybe Boost should also do that. I modified user-config.jam by adding ($HOME == /home/torri): using stlport : 5.1.0 : "/home/torri/local/stlport" "/home/torri/local/lib" ; I compiled Boost with that command line: ../../boost-jam-3.1.13-1-linuxx86/bjam --prefix=$HOME/local stdlib=stlport --toolset=gcc If needed, I can provide more informations on my system. Vincent Torri

Vincent Torri wrote:
tar jxvf STLport-5.1.0.tar.bz2 cd STLport-5.1.0/build/lib make -f gcc.mak depend make -f gcc.mak make -f gcc.mak all-static make -f gcc.mak install make -f gcc.mak install-static cd ../.. cp lib/libstlport* $HOME/local/lib/ cp -R stlport $HOME/local/include/
That's essentially what I did with STLport 5.1.0, except on Windows (MinGW+MSYS & BAT)
Here are the available static libs:
libstlport.a libstlportg.a libstlportstlg.a
But I get: libstlport.5.1.a libstlport.5.1.dll.a libstlportg.5.1.a libstlportg.5.1.dll.a libstlportstlg.5.1.a libstlportstlg.5.1.dll.a Since I also did the dynamic builds.
using stlport : 5.1.0 : "/home/torri/local/stlport" "/home/torri/local/lib" ;
That looks fine.
I compiled Boost with that command line:
../../boost-jam-3.1.13-1-linuxx86/bjam --prefix=$HOME/local stdlib=stlport --toolset=gcc
Hm, all I can think of is to try using "stdlib=stlport-5.1.0".
If needed, I can provide more informations on my system.
Some of the commands run by the bjam build might be illuminating. -- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com -- 102708583/icq - grafikrobot/aim - grafikrobot/yahoo

On Thu, 5 Apr 2007, Rene Rivera wrote:
tar jxvf STLport-5.1.0.tar.bz2 cd STLport-5.1.0/build/lib make -f gcc.mak depend make -f gcc.mak make -f gcc.mak all-static make -f gcc.mak install make -f gcc.mak install-static cd ../.. cp lib/libstlport* $HOME/local/lib/ cp -R stlport $HOME/local/include/
That's essentially what I did with STLport 5.1.0, except on Windows (MinGW+MSYS & BAT)
But I get:
libstlport.5.1.a libstlport.5.1.dll.a libstlportg.5.1.a libstlportg.5.1.dll.a libstlportstlg.5.1.a libstlportstlg.5.1.dll.a
That the problem of having different maintainer for Unix and Windows, I guess :)
I compiled Boost with that command line:
../../boost-jam-3.1.13-1-linuxx86/bjam --prefix=$HOME/local stdlib=stlport --toolset=gcc
Hm, all I can think of is to try using "stdlib=stlport-5.1.0".
no change. Same error messages
If needed, I can provide more informations on my system.
Some of the commands run by the bjam build might be illuminating.
You can see the output here : http://pastebin.ca/425041 Vincent Torri

Hey, I've tried something which is not the correct solution : adding symbolic links. Boost 1.34 seems to compile fine with STLport 5.1.0 or 5.1.3. At least, I know that there is no problem for the compilation itself. What needs to be fixed is the configuration. Btw, There is a TODO in stlport.jam, that says that the configuration needs to support different settings according to the chose toolset. Maybe for Boost 1.34.1. About the compilation itself, I just have some warnings about non virtual destructors. Vincent Torri On Thu, 5 Apr 2007, Vincent Torri wrote:
On Thu, 5 Apr 2007, Rene Rivera wrote:
tar jxvf STLport-5.1.0.tar.bz2 cd STLport-5.1.0/build/lib make -f gcc.mak depend make -f gcc.mak make -f gcc.mak all-static make -f gcc.mak install make -f gcc.mak install-static cd ../.. cp lib/libstlport* $HOME/local/lib/ cp -R stlport $HOME/local/include/
That's essentially what I did with STLport 5.1.0, except on Windows (MinGW+MSYS & BAT)
But I get:
libstlport.5.1.a libstlport.5.1.dll.a libstlportg.5.1.a libstlportg.5.1.dll.a libstlportstlg.5.1.a libstlportstlg.5.1.dll.a
That the problem of having different maintainer for Unix and Windows, I guess :)
I compiled Boost with that command line:
../../boost-jam-3.1.13-1-linuxx86/bjam --prefix=$HOME/local stdlib=stlport --toolset=gcc
Hm, all I can think of is to try using "stdlib=stlport-5.1.0".
no change. Same error messages
If needed, I can provide more informations on my system.
Some of the commands run by the bjam build might be illuminating.
You can see the output here : http://pastebin.ca/425041
Vincent Torri
participants (2)
-
Rene Rivera
-
Vincent Torri