sched.h something now quite right :(

Joel Sherrill joel.sherrill@oarcorp.com
Fri Apr 2 21:34:00 GMT 2010


Hi,

Trying a build before I go home on Friday, I had
this happen. Looks like something might not be
right. I just dropped sched.h and sys/sched.h
into an cvs checkout. Any ideas?

/users/joel/test-gcc/b-gcc-go/./gcc/xgcc 
-B/users/joel/test-gcc/b-gcc-go/./gcc/ -nostdinc 
-B/users/joel/test-gcc/b-gcc-go/sparc-rtems4.10/soft/newlib/ -isystem 
/users/joel/test-gcc/b-gcc-go/sparc-rtems4.10/soft/newlib/targ-include 
-isystem /users/joel/test-gcc/gccgo/newlib/libc/include 
-B/users/joel/test-gcc/install-go/sparc-rtems4.10/bin/ 
-B/users/joel/test-gcc/install-go/sparc-rtems4.10/lib/ -isystem 
/users/joel/test-gcc/install-go/sparc-rtems4.10/include -isystem 
/users/joel/test-gcc/install-go/sparc-rtems4.10/sys-include -msoft-float 
-DPACKAGE_NAME=\"newlib\" -DPACKAGE_TARNAME=\"newlib\" 
-DPACKAGE_VERSION=\"1.18.0\" -DPACKAGE_STRING=\"newlib\ 1.18.0\" 
-DPACKAGE_BUGREPORT=\"\" -I. -I../../../../../../gccgo/newlib/libc/argz 
-DMALLOC_ALIGNMENT=8 -DMALLOC_PROVIDED -DEXIT_PROVIDED -DSIGNAL_PROVIDED 
-DREENTRANT_SYSCALLS_PROVIDED -DHAVE_NANOSLEEP -DHAVE_BLKSIZE 
-DHAVE_FCNTL -DHAVE_ASSERT_FUNC -D_NO_GETLOGIN -D_NO_GETPWENT 
-D_NO_GETUT -D_NO_GETPASS -D_NO_SIGSET -D_NO_WORDEXP -D_NO_POPEN 
-fno-builtin -g -O2 -msoft-float -c -o lib_a-argz_add.o `test -f 
'argz_add.c' || echo '../../../../../../gccgo/newlib/libc/argz/'`argz_add.c
In file included from 
/users/joel/test-gcc/gccgo/newlib/libc/include/signal.h:5:0,
from /users/joel/test-gcc/gccgo/newlib/libc/include/time.h:140,
from /users/joel/test-gcc/gccgo/newlib/libc/include/sys/sched.h:28,
from /users/joel/test-gcc/gccgo/newlib/libc/include/sys/types.h:273,
from /users/joel/test-gcc/gccgo/newlib/libc/include/argz.h:11,
from ../../../../../../gccgo/newlib/libc/argz/argz_add.c:7:
/users/joel/test-gcc/gccgo/newlib/libc/include/sys/signal.h:49:3: error: 
expected specifier-qualifier-list before ‘pthread_attr_t’
/users/joel/test-gcc/gccgo/newlib/libc/include/sys/signal.h:163:5: 
error: expected ‘)’ before ‘thread’
make[8]: *** [lib_a-argz_add.o] Error 1


-- 
Joel Sherrill, Ph.D.             Director of Research&  Development
joel.sherrill@OARcorp.com        On-Line Applications Research
Ask me about RTEMS: a free RTOS  Huntsville AL 35805
    Support Available             (256) 722-9985




More information about the Newlib mailing list