error compiling KDE 3.4.0 - google not much help on the issue

Michael Cook x2002umy at stfx.ca
Fri Apr 29 02:50:40 CEST 2005


I'm trying to compile KDE 3.4.0 using Konqueror on Fedora Core 3 on an x86_64 system.

everything runs fine until kdebase starts compiling. When it reaches .../kdebase-3.4.0/kcontrol/info
make dies like this:

make[5]: Entering directory `/root/konstruct/kde/kdebase/work/kdebase-3.4.0/kcontrol/info'
/bin/sh ../../libtool --silent --mode=link --tag=CXX g++ -DINFO_OPENGL_AVAILABLE -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W -Wpointer-arith -Wwrite-strings -O2 -I/root/kde3.4/include -I/usr/lib64/qt-3.3/include -I/usr/X11R6/include -L/root/kde3.4/lib64 -L/usr/lib64/qt-3.3/lib64 -L/usr/X11R6/lib64 -I/root/kde3.4/include -I/usr/lib64/qt-3.3/include -I/usr/X11R6/include -L/root/kde3.4/lib64 -L/usr/lib64/qt-3.3/lib64 -L/usr/X11R6/lib64 -m64 -fPIC -O2 -pipe -m64 -fPIC -O2 -pipe -Wformat-security -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common -fno-exceptions -fno-check-new -fno-common -fvisibility=hidden -fvisibility-inlines-hidden -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT -DQT_NO_TRANSLATION -D_GNU_SOURCE   -L/root/kde3.4/lib64 -L/usr/X11R6/lib64 -L/usr/lib64/qt-3.3/lib64 -L/root/kde3.4/lib64 -L/usr/X11R6/lib64 -L/usr/lib64/qt-3.3/lib64  -o kcm_info.la -rpath /root/kde3.4/lib64/kde3 -L/root/kde3.4/lib64 -L/usr/lib64/qt-3.3/lib -L/usr/X11R6/lib64    -module -avoid-version -no-undefined -Wl,--no-undefined -Wl,--allow-shlib-undefined  kcm_info_la.all_cpp.lo   -lkdeui      -lGLU -lGL -lX11
/usr/bin/ld: /usr/X11R6/lib64/libGL.a(glapi.o): relocation R_X86_64_32 against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/usr/X11R6/lib64/libGL.a: could not read symbols: Bad value
collect2: ld returned 1 exit status
make[5]: *** [kcm_info.la] Error 1
make[5]: Leaving directory `/root/konstruct/kde/kdebase/work/kdebase-3.4.0/kcontrol/info'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/root/konstruct/kde/kdebase/work/kdebase-3.4.0/kcontrol'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/root/konstruct/kde/kdebase/work/kdebase-3.4.0'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/konstruct/kde/kdebase/work/kdebase-3.4.0'
make[1]: *** [build-work/kdebase-3.4.0/Makefile] Error 2
make[1]: Leaving directory `/root/konstruct/kde/kdebase'
make: *** [dep-../../kde/kdebase] Error 2

it would seem TO ME that my libGL.a file has not been compiled with the correct options.  My question is this: how do I fix it?  I don't know how to "recompile with -fPIC" as I don't have the source code (and don't know where to find it).  The libGL.a file that I DO have came from an rpm file: xorg-x11-devel-6.8.2-1.FC3.13.x86_64.rpm

anyone know any "easy" way to solve this problem? (if not, a "hard" way?)
Any suggestions would be appreciated.
Thanks

Mike


More information about the kde-quality mailing list