The errors are;
~
$ make -f makefile.test
arm-unknown-linux-gnu-gcc -Wall test.c -o test.exe
In file included from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/sched.h:18,
from test.c:22:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h:18: error: parse error
before "wait_queue_head_t"
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h: In function `sema_init':
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h:47: error: dereferencing pointer to
incomplete type
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h:48: error: dereferencing pointer to
incomplete type
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h:49: error: dereferencing pointer to
incomplete type
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h: In function `sem_getcount':
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/semaphore.h:130: error: dereferencing pointer to
incomplete typ
e
In file included from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/signal.h:4,
from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/sched.h:26,
from test.c:22:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/signal.h: At top level:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/signal.h:27: error: conflicting types for `sigset_t'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/sys/select.h:38: error: previous declaration of
`sigset_t'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/signal.h:163: error: redefinition of `struct
sigaction'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/signal.h:178: error: redefinition of `struct
sigaltstack'
In file included from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/signal.h:5,
from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/sched.h:26,
from test.c:22:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/siginfo.h:8: error: redefinition of `union sigval'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/siginfo.h:16: error: redefinition of `struct
siginfo'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/asm/siginfo.h:200: error: redefinition of `struct
sigevent'
In file included from /opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-
glibc-2.3.2
/arm-unknown-linux-gnu/sys-include/linux/sched.h:80,
from test.c:22:
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/linux/time.h:9: error: redefinition of `struct timespec'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/linux/time.h:88: error: redefinition of `struct timeval'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/linux/time.h:93: error: redefinition of `struct
timezone'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/linux/time.h:119: error: redefinition of `struct
itimerspec'
/opt/crosstool/arm-unknown-linux-gnu/gcc-3.3.2-glibc-2.3.2/arm-
unknown-linux-gnu
/sys-include/linux/time.h:124: error: redefinition of `struct
itimerval'
test.c: In function `transmit':
test.c:337: warning: unused variable `i'
make: *** [test.exe] Error 1
Ryan
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|