Skip to Content.
Sympa Menu

sm-users - Re: [SM-Users] glibc/linux-2.6.0-testX compile problem + solution

sm-users AT lists.ibiblio.org

Subject: Sourcemage Users List

List archive

Chronological Thread  
  • From: Eric Sandall <eric AT sandall.us>
  • To: sm-users AT lists.ibiblio.org
  • Subject: Re: [SM-Users] glibc/linux-2.6.0-testX compile problem + solution
  • Date: Sat, 23 Aug 2003 18:08:46 -0700

Quoting Mads Laursen <dossen+sgl AT daimi.au.dk>:
> It seems that the current glibc does not compile on the 2.6.0 kernels.
> In /usr/src/linux/include/linux/sysctl.h one of the structs uses the
> symbol __user, which resides in linux/compiler.h.
>
> Adding #include <linux/compiler.h> to sysctl.h fixes the problem. So
> if other enterprising Sourcemages out there are trying the
> test-kernels (which have been running fine here (though not for very
> lon at a time - laptop)) and have problems compiling glibc (or
> anything else that complains about sysctl.h), I hope this is helpful.
>
> Oh... and a big round of applause to the init-system/devfs guys. The
> new system is great, and besides me forgetting to run lilo and having
> to fix a few pre-existing problems it went very smoothly. Kudos!
>
> /dossen
> --
> "Nuclear war can ruin your whole compile."
> -- Karl Lehenbauer
>

Have you tried patching glibc to use NPTL? (RH9 has NPTL+glibc on their 2.4
boxen).

-sandalle

--
PGP Key Fingerprint: FCFF 26A1 BE21 08F4 BB91 FAED 1D7B 7D74 A8EF DD61
http://search.keyserver.net:11371/pks/lookup?op=get&search=0xA8EFDD61

-----BEGIN GEEK CODE BLOCK-----
Version: 3.12
GCS/E/IT$ d-- s++:+>: a-- C++(+++) BL++++VIS>$ P+(++) L+++ E-(---) W++ N+@ o?
K? w++++>-- O M-@ V-- PS+(+++) PE(-) Y++(+) PGP++(+) t+() 5++ X(+) R+(++)
tv(--)b++(+++) DI+@ D++(+++) G>+++ e>+++ h---(++) r++ y+
------END GEEK CODE BLOCK------

Eric Sandall | Source Mage GNU/Linux Developer
eric AT sandall.us | http://www.sourcemage.org/
http://eric.sandall.us/ | SysAdmin @ Inst. Shock Physics @ WSU
http://counter.li.org/ #196285 | http://www.shock.wsu.edu/

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/





Archive powered by MHonArc 2.6.24.

Top of Page