[sldev] [HELP] CMake: Errors when linking linux-crash-logger (undefined reference to `FT_Realloc'/`FT_Alloc'/`FT_Free')

Ambrosia chaosstar at gmail.com
Mon Sep 8 05:32:47 PDT 2008


I wonder. It sounds like the freetype development libraries are not installed.

are you sure libfreetype6-dev (or a simiiar package in
non-ubuntu/debian based distros) is installed on your system? Also,
has the 'develop.py configure' step grabbed all remote libraries
without errors?

On Mon, Sep 8, 2008 at 14:02, Boroondas Gupte
<sllists at boroon.dasgupta.ch> wrote:
> Hi all
>
> Because the existing thread
> (https://lists.secondlife.com/pipermail/sldev/2008-July/thread.html#11069)
> is some time ago, I create a new one instead of bumping.
>
> I re-re-tried to build svn trunk, closely following the instructions at
> https://wiki.secondlife.com/wiki/User:Michelle2_Zenovka/cmake (only
> difference should be that I chose trunk/linden instead of just trunk as
> checkout destination directory). Just as back in July, I still get the
> following errors with the current revision (1153):
>
> [...]
> Linking CXX static library libllui.a
> make[2]: Leaving directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> [ 44%] Built target llui
> make[2]: Entering directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> Scanning dependencies of target linux-crash-logger
> make[2]: Leaving directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> make[2]: Entering directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> [ 44%] Building CXX object
> linux_crash_logger/CMakeFiles/linux-crash-logger.dir/linux_crash_logger.o
> [ 44%] Building CXX object
> linux_crash_logger/CMakeFiles/linux-crash-logger.dir/llcrashloggerlinux.o
> Linking CXX executable linux-crash-logger
> /home/<username>/slsrc/svn/trunk/linden/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so:
> undefined reference to `FT_Realloc'
> /home/<username>/slsrc/svn/trunk/linden/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so:
> undefined reference to `FT_Alloc'
> /home/<username>/slsrc/svn/trunk/linden/indra/../libraries/i686-linux/lib_release_client/libpangoft2-1.0.so:
> undefined reference to `FT_Free'
> collect2: ld returned 1 exit status
> make[2]: *** [linux_crash_logger/linux-crash-logger] Error 1
> make[2]: Leaving directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> make[1]: *** [linux_crash_logger/CMakeFiles/linux-crash-logger.dir/all]
> Error 2
> make[1]: Leaving directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> make: *** [all] Error 2
> make: Leaving directory
> `/home/<username>/slsrc/svn/trunk/linden/indra/viewer-linux-i686'
> Error: the command 'make' exited with status 2
>
> Can anyone give me a hint on what might be going wrong here?
> I'm using a gentoo linux (i686) system with
>
> gcc 4.1.2
> python 2.5.2
> cmake 2.4.8
>
> All help appreciated!
>
> Boroondas
>
> _______________________________________________
> Policies and (un)subscribe information available here:
> http://wiki.secondlife.com/wiki/SLDev
> Please read the policies before posting to keep unmoderated posting
> privileges
>


More information about the SLDev mailing list