|
Boost-Build : |
From: Michael Peterson (michael148_at_[hidden])
Date: 2004-11-18 14:53:41
Here is the spew following the invocation..
...found 5274 targets...
...updating 414 targets...
gcc-Link-action
bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s
hared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so
LD_LIBRARY_PATH=bin/boost/libs/date_time/build/libboost_date_time.so/gcc
-stlport/debug/shared-linkable-true:$LD_LIBRARY_PATH
export LD_LIBRARY_PATH
g++ -g -fPIC -shared -pthread -o
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/
shared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so.1_31_0"
-L"/home/michael/sde/STLport-5.0-0125//home/michael/sde/STLport-5.0-0125
/lib"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/
shared-linkable-true/greg_month.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/
shared-linkable-true/greg_weekday.o"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/
shared-linkable-true/date_generators.o" -lstlport_gcc_stldebug -lrt
-Wl,-rpath-link,.
-Wl,-soname,libboost_date_time-gcc-gdp-1_31_0.so.1_31_0
ln -fs "libboost_date_time-gcc-gdp-1_31_0.so.1_31_0"
"bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/
shared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so"
Here is a directory listing of the $STLPORT_LIB_DIRECTORY:
michael ~/sde/STLport-5.0-0125/lib> ls -al
total 24916
drwxr-xr-x 3 michael michael 4096 Nov 19 02:16 ./
drwxr-xr-x 9 michael michael 4096 Nov 15 05:48 ../
-rw-r--r-- 1 michael michael 2385142 Nov 19 02:10 libstlport_gcc.a
lrwxrwxrwx 1 michael michael 21 Nov 19 02:12 libstlport_gcc.so ->
libstlport_gcc.so.5.0*
-rwxr-xr-x 1 michael michael 1135208 Nov 19 02:03
libstlport_gcc.so.5.0*
-rw-r--r-- 1 michael michael 15028352 Nov 19 02:12
libstlport_gcc_stldebug.a
lrwxrwxrwx 1 michael michael 30 Nov 19 02:12
libstlport_gcc_stldebug.so -> libstlport_gcc_stldebug.so.5.0*
-rwxr-xr-x 1 michael michael 6901088 Nov 19 02:06
libstlport_gcc_stldebug.so.5.0*
drwxr-xr-x 3 michael michael 4096 Nov 15 06:02 obj/
michael ~/sde/STLport-5.0-0125/lib>
Note that both libraries are available. Somewhere, somehow, I've not
configured something properly.
Cheers,
Michael
-----Original Message-----
From: Rene Rivera [mailto:grafik.list_at_[hidden]]
Sent: Thursday, November 18, 2004 11:24 AM
To: jamboost_at_[hidden]
Subject: Re: [jamboost] [Q] Link failure - can't find -lstlport_gcc
Michael Peterson wrote:
> Here's the invocation command line and the output:
>
> michael ~/sde/boost_1_31_0> bjam "-sTOOLS=gcc-stlport"
> -stlport-iostream=on -stlport-cstd-namespace=global
> ...found 5274 targets...
> ...updating 404 targets...
> gcc-Link-action
>
bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s
> hared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so
> /usr/bin/ld: cannot find -lstlport_gcc_stldebug
> collect2: ld returned 1 exit status
Hmm, not what I was looking for :-( Could you add the "-n" option and
post the gcc link command that bjam is trying to invoke.
-- -- Grafik - Don't Assume Anything -- Redshift Software, Inc. - http://redshift-software.com -- rrivera/acm.org - grafik/redshift-software.com - 102708583/icq Yahoo! Groups Sponsor <http://us.ard.yahoo.com/SIG=129olopgj/M=296572.5585671.6651487.3001176/ D=groups/S=1707281907:HM/EXP=1100892264/A=2343726/R=0/SIG=12i70acff/*htt p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=11008058643 33654> <http://us.ard.yahoo.com/SIG=129olopgj/M=296572.5585671.6651487.3001176/ D=groups/S=1707281907:HM/EXP=1100892264/A=2343726/R=1/SIG=12i70acff/*htt p://clk.atdmt.com/VON/go/yhxxxvon01900091von/direct/01/&time=11008058643 33654> Get unlimited calls to U.S./Canada <http://view.atdmt.com/VON/view/yhxxxvon01900091von/direct/01/&time=1100 805864333654> <http://us.adserver.yahoo.com/l?M=296572.5585671.6651487.3001176/D=group s/S=:HM/A=2343726/rand=871927729> _____ Yahoo! Groups Links * To visit your group on the web, go to: http://groups.yahoo.com/group/jamboost/ * To unsubscribe from this group, send an email to: jamboost-unsubscribe_at_[hidden] <mailto:jamboost-unsubscribe_at_[hidden]?subject=Unsubscribe> * Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service <http://docs.yahoo.com/info/terms/> . ------=_NextPart_000_0027_01C4CD65.42CDEFC0 Content-Type: text/html; charset="US-ASCII" Content-Transfer-Encoding: quoted-printable <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD> <META HTTP-EQUIV=3D"Content-Type" CONTENT=3D"text/html; charset=3Dus-ascii"= > <TITLE>Message</TITLE> <META content=3D"MSHTML 6.00.2900.2523" name=3DGENERATOR></HEAD> <BODY> <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN class=3D330065019-18= 112004>Here=20 is the spew following the invocation..</SPAN></FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004></SPAN></FONT> </DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV><FONT face=3DArial color=3D#0000ff size=3D2>...found 5274=20 targets...<BR>...updating 414 targets...<BR>gcc-Link-action=20 bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/sh= ared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so</FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2> =20 LD_LIBRARY_PATH=3Dbin/boost/libs/date_time/build/libboost_date_time.so/gc= c-stlport/debug/shared-linkable-true:$LD_LIBRARY_PATH=20 <BR> export LD_LIBRARY_PATH <BR> =20 g++ -g -fPIC -shared -pthread -o=20 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s= hared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so.1_31_0"  = ;=20 -L"/home/michael/sde/STLport-5.0-0125//home/michael/sde/STLport-5.0-0125/= lib" =20 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s= hared-linkable-true/greg_month.o"=20 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s= hared-linkable-true/greg_weekday.o"=20 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s= hared-linkable-true/date_generators.o" =20 -lstlport_gcc_stldebug -lrt -Wl,-rpath-link,. =20 -Wl,-soname,libboost_date_time-gcc-gdp-1_31_0.so.1_31_0 <BR> &= nbsp;=20 ln -fs "libboost_date_time-gcc-gdp-1_31_0.so.1_31_0"=20 "bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s= hared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so"=20 <BR></FONT></DIV></BLOCKQUOTE> <DIV><SPAN class=3D330065019-18112004><FONT face=3DArial color=3D#0000ff si= ze=3D2>Here=20 is a directory listing of the $STLPORT_LIB_DIRECTORY:</FONT></SPAN></DIV> <DIV><SPAN class=3D330065019-18112004><FONT face=3DArial color=3D#0000ff=20 size=3D2></FONT></SPAN> </DIV> <BLOCKQUOTE dir=3Dltr style=3D"MARGIN-RIGHT: 0px"> <DIV><FONT face=3DArial color=3D#0000ff size=3D2>michael=20 ~/sde/STLport-5.0-0125/lib> <SPAN class=3D330065019-18112004>ls=20 -al</SPAN><BR>total 24916<BR>drwxr-xr-x 3 michael=20 michael 4096 Nov 19 02:16 ./<BR>drwxr-xr-x = 9=20 michael michael 4096 Nov 15 05:48=20 ../<BR>-rw-r--r-- 1 michael michael 2385142 Nov 19 02:10=20 libstlport_gcc.a<BR>lrwxrwxrwx 1 michael=20 michael 21 Nov 19 02:12 libstlport_gc= c.so=20 -> libstlport_gcc.so.5.0*<BR>-rwxr-xr-x 1 michael michael = =20 1135208 Nov 19 02:03 libstlport_gcc.so.5.0*<BR>-rw-r--r-- 1 michael= =20 michael 15028352 Nov 19 02:12 libstlport_gcc_stldebug.a<BR>lrwxrwxrwx&nbs= p; 1=20 michael michael 30 Nov 19 02:12=20 libstlport_gcc_stldebug.so ->=20 libstlport_gcc_stldebug.so.5.0*<BR>-rwxr-xr-x 1 michael michael&nbs= p;=20 6901088 Nov 19 02:06 libstlport_gcc_stldebug.so.5.0*<BR>drwxr-xr-x = 3=20 michael michael 4096 Nov 15 06:02 obj/<BR>michael= =20 ~/sde/STLport-5.0-0125/lib></FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV></BLO= CKQUOTE> <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004>Note that both libraries are available. Somewher= e,=20 somehow, I've not configured something properly.</SPAN></FONT></DIV> <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004></SPAN></FONT> </DIV> <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004>Cheers,</SPAN></FONT></DIV> <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004></SPAN></FONT> </DIV> <DIV dir=3Dltr><FONT face=3DArial color=3D#0000ff size=3D2><SPAN=20 class=3D330065019-18112004>Michael</SPAN></FONT></DIV> <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV><FONT f= ace=3DArial=20 color=3D#0000ff size=3D2> <DIV><BR></DIV></FONT> <DIV><FONT face=3DArial color=3D#0000ff size=3D2></FONT> </DIV> <BLOCKQUOTE style=3D"MARGIN-RIGHT: 0px"> <DIV></DIV> <DIV class=3DOutlookMessageHeader lang=3Den-us dir=3Dltr align=3Dleft><FO= NT=20 face=3DTahoma size=3D2>-----Original Message-----<BR><B>From:</B> Rene Ri= vera=20 [mailto:grafik.list_at_[hidden]] <BR><B>Sent:</B> Thursday, Nov= ember=20 18, 2004 11:24 AM<BR><B>To:</B> jamboost_at_[hidden]<BR><B>Subject:</= B>=20 Re: [jamboost] [Q] Link failure - can't find=20 -lstlport_gcc<BR><BR></FONT></DIV><TT>Michael Peterson wrote:<BR><BR>>= =20 Here's the invocation command line and the output:<BR>> <BR>> micha= el=20 ~/sde/boost_1_31_0> bjam "-sTOOLS=3Dgcc-stlport"<BR>> -stlport-iost= ream=3Don=20 -stlport-cstd-namespace=3Dglobal<BR>> ...found 5274 targets...<BR>>= =20 ...updating 404 targets...<BR>> gcc-Link-action<BR>>=20 bin/boost/libs/date_time/build/libboost_date_time.so/gcc-stlport/debug/s<= BR>>=20 hared-linkable-true/libboost_date_time-gcc-gdp-1_31_0.so<BR>> /usr/bin= /ld:=20 cannot find -lstlport_gcc_stldebug<BR>> collect2: ld returned 1 exit=20 status<BR><BR>Hmm, not what I was looking for :-( Could you add the "-n"= =20 option and <BR>post the gcc link command that bjam is trying to=20 invoke.<BR><BR><BR>-- <BR>-- Grafik - Don't Assume Anything<BR>-- Redshif= t=20 Software, Inc. - <A=20 href=3D"http://redshift-software.com">http://redshift-software.com><BR= >--=20 rrivera/acm.org - grafik/redshift-software.com - 102708583/icq<BR></TT><B= R></BODY></HTML> ------=_NextPart_000_0027_01C4CD65.42CDEFC0--
Boost-Build list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk