This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
error in compiling networking for linux synthetic target
- To: ecos-discuss at sourceware dot cygnus dot com
- Subject: [ECOS] error in compiling networking for linux synthetic target
- From: Suresh N <nsuresh at cdotb dot ernet dot in>
- Date: Thu, 20 Apr 2000 13:55:42 +0500 (GMT+0500)
Hello everybody,
i have installed the ecos software toold for linux synthetic
target successfully and it is working fine.
but when i try to compile the networking code, i am getting
following error.
can anybody help?
<cut>
i686-pc-linux-gnu-gcc -c -o test.o -O -Ilibnetworking
-Wmissing-prototypes -Wstrict-prototypes -Wall
-I/export/home1/ecos/ecos-1.2.1/ecos-pseudo-dev-pkg
/networking/ecos-networking/install/include test.c
In file included from /usr/include/sys/time.h:24,
from libnetworking/net/if.h:66,
from test.c:60:
/usr/include/time.h:135: parse error before `__s'
/usr/include/time.h:158: parse error before `__timer'
/usr/include/time.h:160: parse error before `__timer'
/usr/include/time.h:165: parse error before `__timer'
/usr/include/time.h:181: parse error before `__tp'
/usr/include/time.h:185: parse error before `__timer'
test.c:70: warning: no previous prototype for `serial_test'
test.c: In function `serial_test':
test.c:78: warning: implicit declaration of function `rtems_panic'
test.c:78: warning: implicit declaration of function `strerror'
test.c:80: warning: implicit declaration of function `bzero'
test.c:82: warning: implicit declaration of function `htonl'
test.c:83: warning: implicit declaration of function `htons'
test.c:99: warning: implicit declaration of function `diag_printf'
test.c:104: warning: implicit declaration of function `close'
test.c:71: warning: unused variable `i'
test.c: At top level:
test.c:111: warning: no previous prototype for `cyg_start'
make: *** [test.o] Error 1
</cut>
regards
bye
-----------------***************************************----------------
N.SURESH
Research Engineer,
Centre For Development of Telematics,
71/1,Sneha Complex,
Bangalore-560052
-----------------***************************************----------------