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

Michael Cook x2002umy at stfx.ca
Fri Apr 29 03:22:40 CEST 2005


I reinstalled xorg-x11-devel and didn't get that error, but I don't think I'm any further ahead. I got another one instead - and I'm not even sure how to begin approaching this one:

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
.libs/kcm_info_la.all_cpp.o(.text+0xbf8d): In function `print_limits(QListViewItem*, char const*, bool)':
: undefined reference to `glGetFloatv'
.libs/kcm_info_la.all_cpp.o(.text+0xbf92): In function `print_limits(QListViewItem*, char const*, bool)':
: undefined reference to `glGetError'
.libs/kcm_info_la.all_cpp.o(.text+0xc4fc): In function `print_limits(QListViewItem*, char const*, bool)':
: undefined reference to `glGetIntegerv'
.libs/kcm_info_la.all_cpp.o(.text+0x11923): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXChooseVisual'
.libs/kcm_info_la.all_cpp.o(.text+0x119d2): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXCreateContext'
.libs/kcm_info_la.all_cpp.o(.text+0x119fb): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXMakeCurrent'
.libs/kcm_info_la.all_cpp.o(.text+0x11a37): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXDestroyContext'
.libs/kcm_info_la.all_cpp.o(.text+0x11a47): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXDestroyContext'
.libs/kcm_info_la.all_cpp.o(.text+0x11a80): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXQueryServerString'
.libs/kcm_info_la.all_cpp.o(.text+0x11a96): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXQueryServerString'
.libs/kcm_info_la.all_cpp.o(.text+0x11aac): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXQueryServerString'
.libs/kcm_info_la.all_cpp.o(.text+0x11ac0): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXGetClientString'
.libs/kcm_info_la.all_cpp.o(.text+0x11ad4): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXGetClientString'
.libs/kcm_info_la.all_cpp.o(.text+0x11ae8): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXGetClientString'
.libs/kcm_info_la.all_cpp.o(.text+0x11af9): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXQueryExtensionsString'
.libs/kcm_info_la.all_cpp.o(.text+0x11b0a): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glGetString'
.libs/kcm_info_la.all_cpp.o(.text+0x11b1b): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glGetString'
.libs/kcm_info_la.all_cpp.o(.text+0x11b2c): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glGetString'
.libs/kcm_info_la.all_cpp.o(.text+0x11b3d): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glGetString'
.libs/kcm_info_la.all_cpp.o(.text+0x11b81): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXIsDirect'
.libs/kcm_info_la.all_cpp.o(.text+0x12d0e): In function `get_gl_info(_XDisplay*, int, int, QListViewItem*, QListViewItem*)':
: undefined reference to `glXChooseVisual'
.libs/kcm_info_la.all_cpp.o(.text+0x14932): In function `GetInfo_OpenGL(QListView*)':
: undefined reference to `glXChooseVisual'
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
[root at localhost kde]#  


-----Original Message-----
From:	Michael Cook
Sent:	Thu 4/28/2005 9:50 PM
To:	kde-quality at kde.org
Cc:	
Subject:	error compiling KDE 3.4.0 - google not much help on the issue
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'
....
/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
_______________________________________________
kde-quality mailing list
kde-quality at kde.org
https://mail.kde.org/mailman/listinfo/kde-quality



-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/ms-tnef
Size: 5210 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-quality/attachments/20050429/c364775a/attachment-0001.bin


More information about the kde-quality mailing list