Joe
On Jan 16, 3:14am, jhohertz@golden.net wrote:
> Subject: Bad kernel headers in 2.0.32 + alpha patch 2.0.32?
> Compiling mpg123 (and squid gives something similar) gets me the output
below.
> I tried looking at it, but just got confused by what I saw. I noticed the
> alpha-patch mucks about with (and creates) all kinds of *bits.h files though.
>
> Joe
>
> --------------------8<------------
>
> In file included from /usr/include/linux/resource.h:4,
> from /usr/include/resourcebits.h:21,
> from /usr/include/sys/resource.h:27,
> from mpg123.c:13:
> /usr/include/linux/time.h:12: redefinition of `struct timeval'
> /usr/include/linux/time.h:17: redefinition of `struct timezone'
> /usr/include/linux/time.h:22: redefinition of `struct itimerval'
> In file included from /usr/include/sys/resource.h:27,
> from mpg123.c:13:
> /usr/include/resourcebits.h:32: `RLIMIT_CPU' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:32: enumerator value for `_RLIMIT_CPU' not
integer
> constant
> /usr/include/resourcebits.h:38: `RLIMIT_FSIZE' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:38: enumerator value for `_RLIMIT_FSIZE' not
> integer constant
> /usr/include/resourcebits.h:44: `RLIMIT_DATA' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:44: enumerator value for `_RLIMIT_DATA' not
integer
> constant
> /usr/include/resourcebits.h:50: `RLIMIT_STACK' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:50: enumerator value for `_RLIMIT_STACK' not
> integer constant
> /usr/include/resourcebits.h:56: `RLIMIT_CORE' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:56: enumerator value for `_RLIMIT_CORE' not
integer
> constant
> /usr/include/resourcebits.h:65: `RLIMIT_RSS' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:65: enumerator value for `_RLIMIT_RSS' not
integer
> constant
> /usr/include/resourcebits.h:71: `RLIMIT_NOFILE' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:71: enumerator value for `_RLIMIT_NOFILE' not
> integer constant
> /usr/include/resourcebits.h:79: `RLIMIT_AS' undeclared here (not in a
function)
> /usr/include/resourcebits.h:79: enumerator value for `_RLIMIT_AS' not integer
> constant
> /usr/include/resourcebits.h:85: `RLIMIT_NPROC' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:85: enumerator value for `_RLIMIT_NPROC' not
> integer constant
> /usr/include/resourcebits.h:91: `RLIMIT_MEMLOCK' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:91: enumerator value for `_RLIMIT_MEMLOCK' not
> integer constant
> /usr/include/resourcebits.h:96: `RLIM_NLIMITS' undeclared here (not in a
> function)
> /usr/include/resourcebits.h:96: enumerator value for `RLIMIT_NLIMITS' not
> integer constant
> /usr/include/resourcebits.h:108: redefinition of `struct rlimit'
> /usr/include/resourcebits.h:135: redefinition of `struct rusage'
> make[1]: *** [mpg123.o] Interrupt
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
>-- End of excerpt from jhohertz@golden.net