[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: compile glibc + nptl fail



Now:
   gcc: gcc-3.3-12 ( installed from Rawhide rpm )
   ../configure --prefix=/usr/local/glibc2 --with-tls
--enable-add-ons=nptl --with-headers=/usr/include
   there are "can't find __NR_..." errors.
   if I use
with-headers=/data2/kernel/linux-2.5.74/include. the
error message are:
..../libc-start.o -MD -MP -MF
/data2/temp/glibc-2.3.2+nptl0.52/glibc-2.3.2+nptl0.52/build/csu/libc-start.o.dt
In file included from
../sysdeps/unix/sysv/linux/sys/sysctl.h:29,
                 from ../include/sys/sysctl.h:2,
                 from
../sysdeps/unix/sysv/linux/dl-osinfo.h:22,
                 from
../sysdeps/generic/libc-start.c:33:
/data1/kernel/linux-2.5.74/include/linux/sysctl.h:39:
error: syntax error before '*' token
/data1/kernel/linux-2.5.74/include/linux/sysctl.h:41:
error: syntax error before '*' token
/data1/kernel/linux-2.5.74/include/linux/sysctl.h:42:
error: syntax error before '*' token
/data1/kernel/linux-2.5.74/include/linux/sysctl.h:43:
error: syntax error before '*' token
/data1/kernel/linux-2.5.74/include/linux/sysctl.h:46:
error: syntax error before '}' token
make[2]: ***
[/data2/temp/glibc-2.3.2+nptl0.52/glibc-2.3.2+nptl0.52/build/csu/libc-start.o]
Error 1
make[2]: Leaving directory
`/data2/temp/glibc-2.3.2+nptl0.52/glibc-2.3.2+nptl0.52/csu'
make[1]: *** [csu/subdir_lib] Error 2
make[1]: Leaving directory
`/data2/temp/glibc-2.3.2+nptl0.52/glibc-2.3.2+nptl0.52'
make: *** [all] Error 2


--- Christian Leber <christian leber de> wrote:
> On Wed, Jul 09, 2003 at 06:40:26AM -0700, chen liwen
> wrote:
> > Now I'm using
> >   binutils: 2.14
> >   kernel: 2.5.74
> >   gcc: gcc-3.2-7 ( in redhat 8.0)
> 
> I think this is much to old, the 0.51 changelog said
> this.
> (i used a gcc-snapshot (20030623)).
> 
> >   nptl: 0.52
> >   glibc: checkout from cvs
> 
> Could also be brocken, this directory contains a
> tar.gz
> with sources, i was able to build an use without
> problems.
> (glibc as of nptl 0.51)
> 
> http://ijuz.uugrn.org/nptl-0.52-0/
> There are also debian packages for sid if someone
> wants to test.
> 
> 
> Christian Leber
> 
> -- 
>   "Omnis enim res, quae dando non deficit, dum
> habetur et non datur,
>    nondum habetur, quomodo habenda est."      
> (Aurelius Augustinus)
>   Translation:
> <http://gnuhh.org/work/fsf-europe/augustinus.html>
> 
> 
> -- 
> Phil-list mailing list
> Phil-list redhat com
> https://www.redhat.com/mailman/listinfo/phil-list


__________________________________
Do you Yahoo!?
SBC Yahoo! DSL - Now only $29.95 per month!
http://sbc.yahoo.com




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]