[sldev] Can't make llmozlib2.

Russell G. Wells rgwells at techno-logix.com
Sun Mar 15 18:24:14 PDT 2009


I trying again to build the second life viewer on my Kubuntu 8.04 x86_64 
platform.  Specifically, I'm building the llmozlib2 sources.  Note that I 
tried building the current viewer source with the -DMOZLIB:BOOL-FALSE option, 
but the 1.22.11 sources still fail to compile (that's another post).

Anyway I checked out the llmozlib2 source from svn 
(https://svn.secondlife.com/svn/llmozlib/trunk/llmozlib2) and have tried to 
build using these steps:

1. update the ./build_mozilla/linux-libxul-bits/mozconfig to use gcc-4.2

2. run the linux-checkout_patch_build.sh script.  This script checks out the 
mozilla code and applies the linden patches to it.  Finaly, it does a build.

I get the following error when the build process is generating the 
libxremote_client_s library:

...
rm -f libxremote_client_s.a
ar cr libxremote_client_s.a XRemoteClient.o
ranlib libxremote_client_s.a
XRemoteClient_standalone.o:(.data.rel.ro._ZTI13XRemoteClient[typeinfo for 
XRemoteClient]+0x0): undefined reference to `vtable for 
__cxxabiv1::__si_class_type_info'
XRemoteClient_standalone.o:(.data.rel.ro._ZTI14nsRemoteClient[typeinfo for 
nsRemoteClient]+0x0): undefined reference to `vtable for 
__cxxabiv1::__class_type_info'
/usr/bin/ld: mozilla-xremote-client: hidden symbol `vtable for 
__cxxabiv1::__class_type_info' isn't defined
/usr/bin/ld: final link failed: Nonrepresentable section on output
collect2: ld returned 1 exit status
make[3]: *** [mozilla-xremote-client] Error 1
make[3]: Leaving directory 
`/home/rgwells/projects/llmozlib2/build_mozilla/objdir-mozilla-linux/widget/src/xremoteclient'
make[2]: *** [tier_50] Error 2
make[2]: Leaving directory 
`/home/rgwells/projects/llmozlib2/build_mozilla/objdir-mozilla-linux'
make[1]: *** [default] Error 2
make[1]: Leaving directory 
`/home/rgwells/projects/llmozlib2/build_mozilla/objdir-mozilla-linux'
make: *** [build] Error 2
 


There are no other errors in the 16000 line of compiler output i captured.  
I'm thinking that there is a library dependency that I'm missing, but that's 
a guess.

Does anyone have a clue as to what this issue might be?


System info:
-------------------
Distribution: Kubuntu 8.04
Kernel version: 2.6.24-23-generic #1 SMP Mon Jan 26 01:04:16 UTC 2009 x86_64 
GNU/Linux
CPU: AMD Phenom 9850 Quad-Core @ 2.5 Ghz
GPU: GeForce 9500 GT
NVidia driver: 173.14.12



More information about the SLDev mailing list