This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
> Hello.
>
> I have failed to build glibc 2.3.{1,2} and from cvs
> (2003-06-17T19:15:00-0700 and couple of snapshots) with kernels since
> 2.5.70, I have not tried older ones.
>
> The compilation finishes with
> gcc ../sysdeps/generic/libc-start.c -c -std=gnu99 -O2 -Wall -Winline -Wstrict-prototypes -Wwrite-strings -g -I../nptl -I../include -I. -I/usr/src/nptl_stuff/libc_/build/csu -I.. -I../libio -I../nptl -I/usr/src/nptl_stuff/libc_/build -I../sysdeps/i386/elf -I../nptl/sysdeps/unix/sysv/linux/i386/i686 -I../nptl/sysdeps/unix/sysv/linux/i386 -I../nptl/sysdeps/unix/sysv/linux -I../nptl/sysdeps/pthread -I../sysdeps/pthread -I../nptl/sysdeps/unix/sysv -I../nptl/sysdeps/unix -I../nptl/sysdeps/i386/i686 -I../nptl/sysdeps/i386 -I../sysdeps/unix/sysv/linux/i386/i686 -I../sysdeps/unix/sysv/linux/i386 -I../sysdeps/unix/sysv/linux -I../sysdeps/gnu -I../sysdeps/unix/common -I../sysdeps/unix/mman -I../sysdeps/unix/inet -I../sysdeps/unix/sysv/i386/i686 -I../sysdeps/unix/sysv/i386 -I../sysdeps/unix/sysv -I../sysdeps/unix/i386/i686 -I../sysdeps/unix/i386 -I../sysdeps/unix -I../sysdeps/posix -I../sysdeps/i386/i686/fpu -I../sysdeps/i386/i686 -I../sysdeps/i386/i486 -I../nptl/sysdeps/i386/i486 -I../sysdeps/i386/fpu -I../sysdeps/i386 -I../sysdeps/wordsize-32 -I../sysdeps/ieee754/ldbl-96 -I../sysdeps/ieee754/dbl-64 -I../sysdeps/ieee754/flt-32 -I../sysdeps/ieee754 -I../sysdeps/generic/elf -I../sysdeps/generic -I /lib/modules/2.5.72/build/include -D_LIBC_REENTRANT -D_LIBC_REENTRANT -include ../include/libc-symbols.h -DHAVE_INITFINI -o /usr/src/nptl_stuff/libc_/build/csu/libc-start.o -MD -MP -MF /usr/src/nptl_stuff/libc_/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:
> /lib/modules/2.5.72/build/include/linux/sysctl.h:39: warning: no semicolon at end of struct or union
> /lib/modules/2.5.72/build/include/linux/sysctl.h:39: error: parse error before '*' token
> /lib/modules/2.5.72/build/include/linux/sysctl.h:41: error: parse error before '*' token
>
Yes. I use the following 'fix':
----------------------------------------------
--- linux-2.5.69-bk12/include/linux/sysctl.h.orig 2003-05-18
22:12:39.000000000 +0200
+++ linux-2.5.69-bk12/include/linux/sysctl.h 2003-05-18
22:13:58.000000000 +0200
@@ -35,6 +35,10 @@
the largest acceptable value for the nlen
member of a struct __sysctl_args to have? */
+#ifndef __user
+#define __user
+#endif
+
struct __sysctl_args {
int __user *name;
int nlen;
-----------------------------------------------
Regards,
--
Martin Schlemmer
Attachment:
signature.asc
Description: This is a digitally signed message part
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |