[sldev] [HELP] Skipping incompatible lllmozlib2 library

Ricky kf6kjg at gmail.com
Tue Mar 3 19:16:28 PST 2009


I wrote a series of step on my wiki userpage (
http://wiki.secondlife.com/wiki/User:Cron_Stardust ) that might be of use to
you.  I wrote it for compiling trunk on Gentoo x86_64, but it should apply
to most 64bit Linux...

Hope you are successful,
Cron Stardust

On Tue, Mar 3, 2009 at 6:54 PM, Khyota <khyota at redhyena.net> wrote:

> - Show quoted text -
> On Tuesday 03 March 2009 7:58:02 Russell G. Wells wrote:
>
>
> > General compiling notes:
> > ------------------------
> >
> > I won't go into all the dependencies I needed to install compile, as I
> > should reproduce the list on a clean install of my distribution. But here
> > is the short list of steps I took after I installed the missing stuff.
> >
> > 1. unpacked the source code, linux libs, and artwork into a working
> > directory.
> >
> > 2, ran the <work_dir>/linden/indra/develop.py to generate linux
> makefiles.
> >
> > 3. copy header files for the following elements into the
> > <work_dir>/linden/libraries/<target_platform>/include directory.
> >
> >     cp -a /usr/include/atk-1.0 ${TARGETDIR}/include/
> >
> >     # linux GUI framework
> >     cp -a /usr/include/gtk-2.0 ${TARGETDIR}/include/
> >     cp -a /usr/lib/gtk-2.0/include/* ${TARGETDIR}/include/gtk-2.0/
> >
> >     # general support framework
> >     cp -a /usr/include/glib-2.0 ${TARGETDIR}/include/
> >     cp -a /usr/lib/glib-2.0/include/* ${TARGETDIR}/include/glib-2.0/
> >
> >     # text layout with emphasis on internationalization
> >     cp -a /usr/include/pango-1.0 ${TARGETDIR}/include/
> >
> >     # 2D vector graphics support
> >     cp -a /usr/include/cairo/* ${TARGETDIR}/include
> >
> >     # IPC support
> >     cp -a /usr/include/dbus-1.0/dbus/ ${TARGETDIR}/include/
> >
> >     # ELF file format debugging support (Stack trace)
> >     mkdir ${TARGETDIR}/include/ELFIO
> >     cp ${ELFIO}/ELFIO/*.h ${TARGETDIR}/include/ELFIO/
> >     cp ${ELFIO}/ELFIO/libELFIO.a ${TARGETDIR}/lib_release_client/
> >
> > NOTE: This is the minimal set I needed to compile (tried lots more as
> > suggested for older builds on the wiki).
> >
> >
> > 4. ran a compile.
> > * had to fix error in
> <work_dir>/linden/indra/newview/llappviewerlinux.cpp
> > line 258  needed to change from
> >
> >     fprintf(StraceFile, "%d:\t", btpos);
> >
> > to
> >     fprintf(StraceFile, "%lu:\t", btpos);
> >
> >
> > 5. compile again
> > * compile completes OK, but the link step generates the error listed
> above.
> >
> > Other thoughts:
> > --------------------
> >
> > I saw in aan old post, that version FL-1.13.3.58185 would not compile on
> > linux unless LL_LIBXUL_ENABLED was defined to 0.  Is this still true?
> > I tried it, but still got the link error.
> >
> > Russell G. Wells
> >
> > _______________________________________________
> > Policies and (un)subscribe information available here:
> > http://wiki.secondlife.com/wiki/SLDev
> > Please read the policies before posting to keep unmoderated posting
> > privileges
>
> It looks like your trying to compile non-standalone which isnt supported on
> x86_64 yet, most of the libs are missing, run develop.py configure
> with --standalone to get it to use your system libs. The libraries/
> directory
> is not used during standalone builds.
>
> > The following error is being generated:
> >
> > Linking CXX executable secondlife-bin
> > master:
> > http://secondlife.com/app/message_template/master_message_template.msg
> > current:
> >
> /home/rgwells/projects/slv-1.22.10/linden/scripts/messages/message_template
> >.msg Refreshing master cache from
> > http://secondlife.com/app/message_template/master_message_template.msg
> > --- PASS ---
> > Older
> >     missing message RezRestoreToWorld, did you mean to deprecate?
> >     in message RegionHandshake: missing 1 extra blocks
> >     in message RegionInfo: missing 1 extra blocks
> >
> > /usr/bin/ld: skipping
> > incompatible
> >
> /home/rgwells/projects/slv-1.22.10/linden/indra/../libraries/x86_64-linux/l
> >ib_release_client/libllmozlib2.a when searching for -lllmozlib2
> > /usr/bin/ld: cannot find -lllmozlib2
> > collect2: ld returned 1 exit status
> > make[2]: *** [newview/secondlife-bin] Error 1
> > make[1]: *** [newview/CMakeFiles/secondlife-bin.dir/all] Error 2
> > make: *** [all] Error 2
>
> I usualy see this error when a library is actually compiled for i686 rather
> then x86_64 but i dont know how to find out if thats true. You can turn
> llmozlib off by adding to the -DMOZLIB:BOOL=FALSE to the develop.py
> configure
> line, download the source and compile it yourself, or grab the ubuntu
> package
> from Terrex's repository
> http://omvviewer.byteme.org.uk/ubuntu_binary.shtml
>
> Hope this helps!
>
> Khyota
> - Show quoted text -
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.secondlife.com/pipermail/sldev/attachments/20090303/4b7a8f5f/attachment-0001.htm


More information about the SLDev mailing list