[sldev] Re: ETA for 1.20 source and supporting archives on the
wiki?
Robin Cornelius
robin.cornelius at gmail.com
Sat Apr 12 02:45:49 PDT 2008
Soft wrote:
> I'm pushing Mac and Windows 1.20 shortly - I've got those building and
> running happily.
> Linux is still being a PITA, and I'll have to look at it more in the
> morning. I think I'm running into the same boost issues that others
> have mentioned, and I'm not sure if it's a different compiler version
> issue or what yet. I'm seeing many of these:
>
> `.gnu.linkonce.t._ZN5boost9re_detail12perl_matcherIN9__gnu_cxx17__normal_iteratorIPKcSsEESaINS_9sub_matchIS6_EEENS_12regex_traitsIcNS_16cpp_regex_traitsIcEEEEE15match_startmarkEv'
> referenced in section `.rodata' of
> /home/soft/ll/public/linden/libraries/i686-linux/lib_release_client/libboost_regex-gcc34-mt.a(instances.o):
> defined in discarded section collect2: ld returned 1 exit status
There is some strangeness with the boost libraries. I've got it built on
debian but i had to make scons changes.
Firstly you were specifying the soname to link to (well not quite the
soname but a compiler specific version of the library), which is a bit
naughty.
This is what i changed in SConstruct
@@ -301,7 +300,7 @@
if standalone:
include_dirs += [d[2:] for d in
pkgconfig('--cflags-only-I').split()]
- client_external_libs += [ 'boost_program_options-gcc34-mt',
'boost_signals-gcc34-mt', 'boost_regex-gcc34-mt']
+ client_external_libs += [ 'boost_program_options', 'boost_signals',
'boost_regex']
On a well managed distro I presume that the actual libboost installed
reflected the gcc compiler version selected. So on debian if i update
alternatives to use gcc-3.4 i get the correct boost libraries for
anything i build.
In the libs package you should probably supply a
libboost_program_options.so that is simlinked to your actual
libboost_program_options-gcc34-mt and probably change the gcc command to
gcc-3.4 to force non standalone users to use 3.4 or else boost hell will
let loose.
The only thing i can think of for your problem is that your gcc and your
boost libraries don't match.
Regards
Robin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 252 bytes
Desc: OpenPGP digital signature
Url : http://lists.secondlife.com/pipermail/sldev/attachments/20080412/8e865957/signature.pgp
More information about the SLDev
mailing list