[uClibc]uClibc compilation... or not

Erik Andersen andersen at lineo.com
Thu Dec 21 16:25:44 UTC 2000


On Thu Dec 21, 2000 at 10:34:54AM -0500, Andy Dickinson wrote:
> I'm trying to compile uClibc 0.95 (so I can use it with BusyBox).  I'm
> running an i686 redhat 7.0 box (yes, that probably the problem) and I keep
> getting the same compile errors:
> 
> In file included from getdents.c:43:
> ../../../include/linux/dirent.h:12: parse error before `__u64'
> ../../../include/linux/dirent.h:12: warning: no semicolon at end of struct
> or union
> ../../../include/linux/dirent.h:13: warning: type defaults to `int' in
> declaration of `d_off'
> ../../../include/linux/dirent.h:13: warning: data definition has no type or
> storage class
> ../../../include/linux/dirent.h:17: parse error before `}'
> 
> These don't make sense... the structs in dirent.h are fine.  I've tried
> compiling with gcc, egcs and kgcc.  What am I doing wrong?  If this isn't
> the right mailing list, point me there, thanks.

This is definately the right mailing list.  Have you done a 'cvs update'
recently?  It compiles with no problems at all on my debian box (gcc 2.95.2,
glibc 2.1.3).  Just a couple of days ago, I know Red Hat released a upgrade to
their (alledged) gcc 2.96 compiler.  Have you installed that yet?

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the uClibc mailing list