[CentOS] Kernel compilation - 2.6, x86_64, CentOS4.1
j.logsdon at quantex-research.com
Sun Nov 6 11:59:04 UTC 2005
I am having trouble compiling some 2.6 kernels on a x86_64 box under
CentOS4.1. I cannot use xconfig at all and menuconfig on my system is
unreadable. It appears to be something to do with the Qt library but I
have all the necessary bits installed:
but note that the second of these only is installed both for x86 and
x86_64 - the first is installed for x86_64 only.
I have tried both the standard kernel 2.6.9-11.EL-smp-x86_64 and also
184.108.40.206 and the same problem exists. Googling around, it appears to be
to do with a makefile in scripts/kconfig and none of the fixes work.
On issuing make xconfig, the messages always end up:
/usr/bin/ld: cannot find -lqt
collect2: ld returned 1 exit status
make: *** [scripts/kconfig/qconf] Error 1
make: *** [xconfig] Error 2
and the fixes suggest removing the middle two lines in
scripts/kconfig/Makefile (starting at line 130 for the 220.127.116.11 case):
LIBPATH=$$DIR/lib; LIB=qt; \
- $(HOSTCXX) -print-multi-os-directory > /dev/null 2>&1 && \
- LIBPATH=$$DIR/lib/$$($(HOSTCXX) -print-multi-os-directory); \
if [ -f $$LIBPATH/libqt-mt.so ]; then LIB=qt-mt; fi; \
But that still returns the same fault.
Can anyone advise? The same kernel compiles perfectly on an x86 box.
John Logsdon "Try to make things as simple
Quantex Research Ltd, Manchester UK as possible but not simpler"
j.logsdon at quantex-research.com a.einstein at relativity.org
+44(0)161 445 4951/G:+44(0)7717758675 www.quantex-research.com
More information about the CentOS