[CentOS] Kernel compilation - 2.6, x86_64, CentOS4.1

Hilliard, Jay Jay.Hilliard at disney.com
Mon Nov 7 17:31:30 UTC 2005


John Logsdon wrote:
> Hi
> 
> 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:
> 

This kernel patch will fix the xconfig problem.

--- linux-2.6.9/scripts/kconfig/Makefile        2005-10-03 
10:28:56.000000000 -0700
+++ linux-2.6.9.patched/scripts/kconfig/Makefile        2005-10-03 
10:30:09.000000000 -0700
@@ -130,8 +130,6 @@ $(obj)/.tmp_qtcheck:
           false; \
         fi; \
         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; \
         echo "QTDIR=$$DIR" > $@; echo "QTLIBPATH=$$LIBPATH" >> $@; \
         echo "QTLIB=$$LIB" >> $@; \
--
Jay Hilliard
Sr. Systems Administrator
Disney Feature Animation



More information about the CentOS mailing list