* Bad kernel headers in 2.0.32 + alpha patch 2.0.32?
@ 1998-01-16 8:14 jhohertz
0 siblings, 0 replies; 3+ messages in thread
From: jhohertz @ 1998-01-16 8:14 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bad kernel headers in 2.0.32 + alpha patch 2.0.32?
[not found] <980116031425.ZM5258@golden.net>
@ 1998-01-16 13:45 ` Adrian Feiguin
0 siblings, 0 replies; 3+ messages in thread
From: Adrian Feiguin @ 1998-01-16 13:45 UTC (permalink / raw)
On Fri, 16 Jan 1998 jhohertz@golden.net wrote:
> 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
You have an alpha-patched kernel and there are differences between your
headers and the originial ones. You have to copy back the .orig listed
headers. List your folder /usr/include/asm looking for *.h.orig files.
<ADRIAN>
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Bad kernel headers in 2.0.32 + alpha patch 2.0.32?
@ 1998-01-17 5:10 jhohertz
0 siblings, 0 replies; 3+ messages in thread
From: jhohertz @ 1998-01-17 5:10 UTC (permalink / raw)
I hate following up to myself, but it is worth noting I also get this with the
stock Redhat 5.0 tree.
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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-01-17 5:10 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <980116031425.ZM5258@golden.net>
1998-01-16 13:45 ` Bad kernel headers in 2.0.32 + alpha patch 2.0.32? Adrian Feiguin
1998-01-17 5:10 jhohertz
-- strict thread matches above, loose matches on Subject: below --
1998-01-16 8:14 jhohertz
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox