[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-bugs-dist
Subject:    [Bug 145457] New: Link error on Solaris 8 - libintl_* functions
From:       stevee () zuken ! co ! uk
Date:       2007-05-15 11:57:41
Message-ID: 20070515135739.145457.stevee () zuken ! co ! uk
[Download RAW message or body]

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
         
http://bugs.kde.org/show_bug.cgi?id=145457         
           Summary: Link error on Solaris 8 - libintl_* functions undefined
           Product: kdelibs
           Version: unspecified
          Platform: Compiled Sources
        OS/Version: Solaris
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: general
        AssignedTo: coolo kde org
        ReportedBy: stevee zuken co uk


Version:            (using KDE Devel)
Installed from:    Compiled sources
Compiler:          gcc 3.4.6 
OS:                Solaris

I get this link error on Solaris 8 (output from gmake VERBOSE=1)

Linking CXX executable ../bin/kde4-config
cd /cad4/stevee/kde-svn/kdelibs/kde-build/kdecore && \
/gorbag/exta/cad/externals/SOLARIS/bin/cmake -P \
CMakeFiles/kde4-config.dir/cmake_clean_target.cmake cd \
/cad4/stevee/kde-svn/kdelibs/kde-build/kdecore && \
/gorbag/exta/cad/externals/distcc/c++   -I/opt/kde/include \
-I/gorbag/exta/cad/externals/SOLARIS/include -I/opt/qt/include  -O2 \
-fomit-frame-pointer   -DNeedVarargsPrototypes=1 -DNeedFunctionPrototypes=1 -pipe \
-fno-exceptions -mcpu=ultrasparc  -O2 -g  -fPIC -L/opt/kde/lib -lnsl -lxnet -lsocket \
-liconv -L/gorbag/exta/cad/externals/SOLARIS/lib -L/opt/qt/lib \
"CMakeFiles/kde4-config.dir/kde-config.o"   -o ../bin/kde4-config  -L/usr/local/lib \
-L/cad4/stevee/kde-svn/kdelibs/kde-build/lib -L/opt/qt/lib \
-L/gorbag/exta/cad/externals/SOLARIS/lib -lQtCore -lthread -lkdecore -lQtCore \
-lthread -lQtNetwork -lQtDBus -lz -lbz2 -lresolv \
-Wl,-R/opt/kde/lib:/usr/local/lib:/opt/qt/lib:/gorbag/exta/cad/externals/SOLARIS/lib \
Undefined                       first referenced  symbol                             \
in file libintl_dngettext                   \
/cad4/stevee/kde-svn/kdelibs/kde-build/lib/libkdecore.so libintl_dcngettext           \
/cad4/stevee/kde-svn/kdelibs/kde-build/lib/libkdecore.so \
libintl_bind_textdomain_codeset     \
/cad4/stevee/kde-svn/kdelibs/kde-build/lib/libkdecore.so libintl_bindtextdomain       \
                /cad4/stevee/kde-svn/kdelibs/kde-build/lib/libkdecore.so
ld: fatal: Symbol referencing errors. No output written to ../bin/kde4-config

Adding -lintl to the link line by editing the file \
kdecore/CMakeFiles/kde4-config.dir/build.make fixes it.

I would provide a patch but I don't know enough about cmake to change it to add \
-lintl to this generated file :-(


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic