The problem is kernel header files are intentionally tainted for userspace builds now. The interim fix (while someone figures out a better process) is to get:
http://ep09.pld-linux.org/~mmazur/linux-libc-headers/ Get the one closest to your 2.6.x kernel. Untar it to /lib/modules/`uname -r`/build. This will overwrite the include directory with include files that are untainted (useable in userspace). > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Jeff > Murphy > Sent: Sunday, March 06, 2005 12:21 PM > To: ltsp-discuss@lists.sourceforge.net > Subject: [Ltsp-discuss] Re: LBE errors (Ragnar Wisloff) > > > to build LBE under FC3, i temporarily moved /lib/modules/`uname -r` > out of the way (renamed it) and i also added --disable-sanity-checks > to the glibc package.def > > i havent yet looked into which portion of the build is causing LBE to > put /lib/modules/`uname -r` into the include path, but the rename hack > appears to be a quick workaround. don't forget to rename it back after > LBE finishes building ;) > > jeff > > > > > >>Following errors occurs when i compiles ltsp > > >> > > >> > > >> > > >>/lib/modules/2.6.5-1.358/build/include/linux/config.h:6:2: #error > > >>including kernel header in userspace; use the glibc headers instead! > > >>make[2]: *** > > > >>[/home/amitvyas/lbe/crosscomp-src/glibc/glibc-build/elf/readlib.o] Error > > >>1 > > >>make[2]: Leaving directory > > >>`/home/amitvyas/lbe/crosscomp-src/glibc/glibc-2.3.2/elf' > > >>make[1]: *** [elf/subdir_lib] Error 2 > > >>make[1]: Leaving directory > > >>`/home/amitvyas/lbe/crosscomp-src/glibc/glibc-2.3.2' > > >>make: *** [all] Error 2 > > >>Unable to build glibc > > >>Unable to build crosscomp-src: > > > > > > > > > I know of no 2.6 system that will build lbe. The was recent discussion > > > on this list to say 1) Build lbe under redhat 9 2) move the > build env to > > > your 2.6 system to build ltsp-src, kernel, initrd. > > > > I have seen this message now several times. It confuses me. I thought > > maybe people were talking about getting 2.6 built as a kernel to use on > > the thin clients, but it seems you talk about getting LBE built on a > > machine that runs 2.6. > > > > I have on my system Debian Sarge running 2.6.8-1 as a bog standard > > Debian kernel: > > > > # uname -a > > Linux hugin 2.6.8-1-686 #1 Thu Oct 7 03:15:25 EDT 2004 i686 GNU/Linux > > > > Building LBE was not a problem at all. Since then I have added a couple > > of packages myself that also build well. > > > > > > # cd /home/projects/lbe > > # ./build_all > > > > <snip> > > > ################################################################## > ############## > > Processing time to run ./build_all : > > > > crosscomp-src 0:04 > > lbe-src 0:20 > > ltsp-src 0:26 > > kernel-src 0:07 > > ======= > > Total 0:57 > > > > > > I don't recollect doing anything special, and thought this might clear > > up a misunderstanding. > > Thanks lots that IS useful info. > I assume it really has nothing to do with the kernel, but rather libs, > includes etc. > > lbe will not build under: > fedora 2 > fedora 3 > suse 9.1 > suse 9.2 > > James > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click > _____________________________________________________________________ > Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: > https://lists.sourceforge.net/lists/listinfo/ltsp-discuss > For additional LTSP help, try #ltsp channel on irc.freenode.net ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click _____________________________________________________________________ Ltsp-discuss mailing list. To un-subscribe, or change prefs, goto: https://lists.sourceforge.net/lists/listinfo/ltsp-discuss For additional LTSP help, try #ltsp channel on irc.freenode.net