This is the mail archive of the ecos-discuss@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

TCP/IP as a program.


Hi,
I am trying to run the TCP/IP stack as a "program". As opposed to haveing it
in the eCos lib. 
I have all the files from the net directory and Im trying to compile it but
I get a lot of parse errors.
What do I have to do to make it work?

Daivd




bash.exe-2.05$ make
arm-elf-gcc -mcpu=strongarm                      -nostartfiles
-L//c/ecos-work/m
edia_install/lib -Wl,--gc-sections -Wl,-Map -Wl,tcpip_stack_mapfile.map  -o
hell
o hello.o -Ttarget.ld -nostdlib
arm-elf-gcc -mcpu=strongarm                      -c -o src/ecos/timeout.o -g
-Wa
ll -I//c/ecos-work/media_install/include -I//c/Wosp_nexgen/include/
-ffunction
-sections -fdata-sections -Wpointer-arith -Wstrict-prototypes -Winline
-Wundef -
Woverloaded-virtual -ffunction-sections -fdata-sections -D_KERNEL -D_ECOS
-D__EC
OS -DCYGPKG_NET -D_PPP -DBTD_USERSTACK  src/ecos/timeout.c
In file included from //c/Wosp_nexgen/include/machine/param.h:109,
                 from //c/Wosp_nexgen/include/sys/param.h:166,
                 from src/ecos/timeout.c:50:
//c/Wosp_nexgen/include/lib/libkern/libkern.h:122: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:128: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:134: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:140: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:145: parse error before `max'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:146: parse error before
`u_int'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:146: warning: type defaults to
`in
t' in declaration of `a'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:146: warning: type defaults to
`in
t' in declaration of `b'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:146: warning: data definition
has
no type or storage class
//c/Wosp_nexgen/include/lib/libkern/libkern.h:147: parse error before `{'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:151: parse error before `min'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:152: parse error before
`u_int'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:152: warning: type defaults to
`in
t' in declaration of `a'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:152: warning: type defaults to
`in
t' in declaration of `b'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:152: warning: data definition
has
no type or storage class
//c/Wosp_nexgen/include/lib/libkern/libkern.h:153: parse error before `{'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:157: parse error before
`ulmax'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:158: parse error before
`u_long'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:158: warning: type defaults to
`in
t' in declaration of `a'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:158: warning: type defaults to
`in
t' in declaration of `b'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:158: warning: data definition
has
no type or storage class
//c/Wosp_nexgen/include/lib/libkern/libkern.h:159: parse error before `{'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:163: parse error before
`ulmin'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:164: parse error before
`u_long'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:164: warning: type defaults to
`in
t' in declaration of `a'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:164: warning: type defaults to
`in
t' in declaration of `b'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:164: warning: data definition
has
no type or storage class
//c/Wosp_nexgen/include/lib/libkern/libkern.h:165: parse error before `{'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:222: parse error before
`u_int'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:222: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:224: parse error before
`const'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:224: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:225: parse error before
`u_char'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:225: warning: function
declaration
 isn't a prototype
//c/Wosp_nexgen/include/lib/libkern/libkern.h:235: syntax error before
`const'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:235: warning: type defaults to
`in
t' in declaration of `__bcd2bin'
//c/Wosp_nexgen/include/lib/libkern/libkern.h:235: warning: type defaults to
`in
t' in declaration of `__bin2bcd'
In file included from //c/Wosp_nexgen/include/sys/param.h:166,
                 from src/ecos/timeout.c:50:
//c/Wosp_nexgen/include/machine/param.h:149: parse error before `cp'
//c/Wosp_nexgen/include/machine/param.h:149: warning: function declaration
isn't
 a prototype
//c/Wosp_nexgen/include/machine/param.h:157: parse error before `u_long'
//c/Wosp_nexgen/include/machine/param.h:157: warning: function declaration
isn't
 a prototype
src/ecos/timeout.c:74: `CYGNUM_HAL_STACK_SIZE_TYPICAL' undeclared here (not
in a
 function)
src/ecos/timeout.c: In function `cyg_alarm_timeout_init':
src/ecos/timeout.c:197: `CYGPKG_NET_FAST_THREAD_PRIORITY' undeclared (first
use
in this function)
src/ecos/timeout.c:197: (Each undeclared identifier is reported only once
src/ecos/timeout.c:197: for each function it appears in.)
src/ecos/timeout.c:202: `CYGNUM_HAL_STACK_SIZE_TYPICAL' undeclared (first
use in
 this function)
src/ecos/timeout.c: At top level:
//c/Wosp_nexgen/include/lib/libkern/libkern.h:235: warning: array
`__bcd2bin' as
sumed to have one element
//c/Wosp_nexgen/include/lib/libkern/libkern.h:235: warning: array
`__bin2bcd' as
sumed to have one element
src/ecos/timeout.c:74: warning: `alarm_stack' defined but not used
make: *** [src/ecos/timeout.o] Error 1


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]