RE: [uClinux-dev] RE: ARM uCLinux uc-libc vs. newlib

From: Dan Carlson (decarlson1@juno.com)
Date: Tue Jul 25 2000 - 10:11:15 EDT


Hello,

I am trying to build uc-libc in cygwin for an arm target and have run across
an error ...

arm-elf-gcc -g -O2 -mcpu=arm7tdmi -D__linux__ -D_uclinux_ -I../include -I.  
-c
-o execl.o execl.c
In file included from execl.c:3:
../include/stdarg.h:40: parse error before `__gnuc_va_list'
../include/stdarg.h:40: warning: data definition has no type or storage
class
../include/stdarg.h:42: parse error before `va_list'
../include/stdarg.h:42: warning: data definition has no type or storage
class
execl.c: In function `execl':
execl.c:13: `va_list' undeclared (first use in this function)
execl.c:13: (Each undeclared identifier is reported only once
execl.c:13: for each function it appears in.)
execl.c:13: parse error before `args'
execl.c:17: `args' undeclared (first use in this function)
execl.c:20: parse error before `const'
execl.c:38: parse error before `const'
make[1]: *** [execl.o] Error 1
rm setenv.o getcwd.o
make[1]: Leaving directory `/usr/uC-libc/misc'

The problem is that in stdarg.h for the _arm_ case it is attempting to use a
"built in" type called __builtin_va_list which doesn't seem to be liked by
my version 2.95.2 arm-elf-gcc.  Has anyone run in to this problem?  Is there
some patch I need.  The change log for the compiler claims to have added
this type, but when I look at the source it doesn't show up.

Thanks,

Dan



This message resent by the uclinux-dev@uclinux.org list server http://www.uClinux.org/


This archive was generated by hypermail 2.1.4 : Thu Sep 19 2002 - 13:19:15 EDT