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

James Richard Tyrer tyrerj at acm.org
Fri Apr 29 07:18:39 CEST 2005


Michael Cook wrote:
> 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' 

<SNIP>
> 
> it would seem TO ME that my libGL.a file has not been compiled with
> the correct options.  

Actually, unless you are trying to make a static build, it should be 
linking against: "libGL.so".  Do you have this file?

-- 
JRT


More information about the kde-quality mailing list