[CentOS] Has anybody recompiled Centos' default kernel on x86_64

Bogdan Nicolescu bo2k2 at yahoo.com
Fri Mar 31 11:58:31 UTC 2006


James,

I was able to get arround the 'cannot find -lqt' error
using make gconfig

Now when I make bzImage it fails with offset.h.tmp
missing error.

Thanks

--- James Pearson <james-p at moving-picture.com> wrote:

> > I haven't been able to recompile Centos' default
> kernel on 4.2, nor on 4.3 on an x86_64
> >    
> >   The process fails with two different problems:
> >    
> >   1. 'cannot find -lqt' error
> 
> You will get that error on x86_64 if you try and run
> 'make xconfig' on 
> the source tree that is extracted after, for
> example, running 'rpmbuild -bp'
> 
> As the normal build process is all command line
> driven, then this is not 
> a problem.
> 
> There are a few patches out there to work round this
> (and I believe it's 
> fixed in more recent kernels). The patch I use which
> works for me is 
> attached.
> 
> James Pearson
> 
> > --- ./scripts/kconfig/Makefile.dist	2006-03-31
> 09:58:34.118069718 +0100
> +++ ./scripts/kconfig/Makefile	2006-03-31
> 10:09:15.851424670 +0100
> @@ -130,8 +130,8 @@
>  	  false; \
>  	fi; \
>  	LIBPATH=$$DIR/lib; LIB=qt; \
> -	$(HOSTCXX) -print-multi-os-directory > /dev/null
> 2>&1 && \
> -	  LIBPATH=$$DIR/lib/$$($(HOSTCXX)
> -print-multi-os-directory); \
> +	$(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" >> $@; \
> > _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
> 




More information about the CentOS mailing list