Hello,

Trying to build unattended under CentOS-4 (gcc-3.4.6-10.i386, binutils-2.15.92.0.2-25.i386) without chroot (standard user).

glibc-2.6.1 fails to build, since it's using kernel includes from system: ccp_ASM definition is using directory /lib/modules/`uname -r`/build/includes/

So a proposed patch on linuxboot/Makefile (file attached): add "--with-headers=$(cwd)/$(linux)/dest/include" to glibc-2.6.1/configure options.


Pierre Bourgin

--- linuxboot/Makefile.orig	2009-03-04 02:11:54.000000000 +0100
+++ linuxboot/Makefile	2009-03-04 10:06:49.000000000 +0100
@@ -300,6 +300,7 @@
 	    --without-gd --without-cvs				\
             --without-selinux					\
 	    --includedir=$(cwd)/$(linux)/dest/include		\
+	    --with-headers=$(cwd)/$(linux)/dest/include		\
 	    --build=i586-linux					\
 	&& find . -name \*.d -print0 | xargs -0 -r rm -f	\
 	&& $(MAKE)
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
unattended-devel mailing list
unattended-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/unattended-devel

Reply via email to