This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: INT_ASM_OP undeclared



----- Original Message -----
From: "Alexandre Oliva" <aoliva@redhat.com>
To: "Vu Pham" <vu@sivell.com>
Cc: <gcc-help@gcc.gnu.org>
Sent: Sunday, May 20, 2001 2:46 PM
Subject: Re: INT_ASM_OP undeclared


[...]
>
> Well, then...  You have probably messed up glibc and kernel headers.
> You said you had upgraded the kernel to 2.4.3.  Which glibc are you
> using?  I recall people having compatibility problems between 2.4
> kernels and old releases of glibc, that ended up showing up as this
> kind of problem.
>
I appreciate your help.

-rwxr-xr-x   1 root     root        10739 Feb 17  2000 libuuid.so.1.2
[vu@esmeralda /lib]$ ls -l libc*
-rwxr-xr-x   1 root     root      1249095 Feb 17  2000 libc-2.1.2.so
lrwxrwxrwx   1 root     root           13 Jan 14 05:23 libc.so.6 ->
libc-2.1.2.s

So I think it is 2.1.2

My current check shows that only /usr/include/bits/resource.h has the
definition of RUSAGE_CHILREN, this resource.h is called from sys/resource.h
and gcc.c has
#ifdef HAVE_SYS_RESOURCE_H
#include <sys/resource.h>
#endif

I ''ve tried  include directly this sys/resource.h in gcc.c and got some
error of "previous declaration" ...

Vu




Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]