Hai, On Thu, 09 Feb 2006, Hai Zaar wrote:
> Dear, Brian, > > > > > > Altering the produced Makefile does not help: the configure script > > > has already found the wrong result on many of its tests using the > > > mangled CPPFLAGS. I'll see if I can put a brief patch together for > > > you. (I haven't really tested Debian Sarge yet, but will eventually.) > > I will joyfully help to test it on Gentoo and/or LFS, if you like. > Any news about the patch? > > BTW, LiS-2.18.1 suffers from the similar issue on 2.6.15. BUT, the > old 2.18.0 (with some patch I've sent 4 month about for 2.6.11) What patch? I didn't see it. > compiles fine under 2.6.15! But it won't run. Try running the 2.18.2 testsuite against it! > > -- > Zaar > _______________________________________________ > Linux-streams mailing list > [email protected] > http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams Apply the attached patch to the m4/kernel.m4 file in any of the recent distribution packages and the, in the source directory, type: autoconf -fiv to reconfigure the package this you will need autoconf 2.59 or better, automake 1.9.5 or better, libtool 1.5.14 or better, gettext 0.14.1 or better, and texinfo 4.6. See also, README-cvs in the package for instructions on preparing the source directory. If the patch works well for you, it will be in the next release. --brian -- Brian F. G. Bidulock ¦ The reasonable man adapts himself to the ¦ [EMAIL PROTECTED] ¦ world; the unreasonable one persists in ¦ http://www.openss7.org/ ¦ trying to adapt the world to himself. ¦ ¦ Therefore all progress depends on the ¦ ¦ unreasonable man. -- George Bernard Shaw ¦ Index: m4/kernel.m4 =================================================================== RCS file: /u2/cvsroot/LiS/m4/kernel.m4,v retrieving revision 0.9.2.117 diff -u -r0.9.2.117 kernel.m4 --- m4/kernel.m4 29 Dec 2005 10:42:14 -0000 0.9.2.117 +++ m4/kernel.m4 13 Feb 2006 08:13:00 -0000 @@ -1737,6 +1737,12 @@ linux_cv_k_cppflags=`echo "$linux_cv_k_cppflags" | sed -e "s| -Iinclude/asm| -I${ksrcdir}/include/asm|g"` linux_cv_k_cppflags=`echo "$linux_cv_k_cppflags" | sed -e "s| -Iarch/| -I${ksrcdir}/arch/|g"` dnl +dnl Recent 2.6.15+ kernels include autoconf.h from the build directory instead of the source +dnl directory. I suppose the idea is to allow your to configure in a separate directory as +dnl well as build. Given 100 years, kbuild might catch up to autoconf. +dnl + linux_cv_k_cppflags=`echo "$linux_cv_k_cppflags" | sed -e "s| -include include/linux/autoconf.h| -include ${kbuilddir}/include/linux/autoconf.h|"` +dnl dnl Non-kbuild (2.4 kernel) always needs include directories to be in the dnl build directory. dnl _______________________________________________ Linux-streams mailing list [email protected] http://gsyc.escet.urjc.es/mailman/listinfo/linux-streams
