public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* RE: [ECOS] TCP/IP as a program.
@ 2001-08-16  1:29 David.Karlberg
  2001-08-16  1:37 ` Andrew Lunn
  2001-08-16  7:47 ` [ECOS] " Grant Edwards
  0 siblings, 2 replies; 6+ messages in thread
From: David.Karlberg @ 2001-08-16  1:29 UTC (permalink / raw)
  To: andrew.lunn; +Cc: ecos-discuss

I want to use PPP with TCP/IP and I figured it would be a lot easier to work
with the Net pack 
if I did not have to recompile the whole eCos everytime I want to see if my
changes work.
And that I would have more control of which files are used.

David

-----Original Message-----
From: Andrew Lunn [ mailto:andrew.lunn@ascom.ch ]
Sent: den 16 augusti 2001 10:20
To: Karlberg David
Cc: ecos-discuss@sources.redhat.com
Subject: Re: [ECOS] 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. 

Silly question: Why?

        Andrew

^ permalink raw reply	[flat|nested] 6+ messages in thread
* [ECOS] TCP/IP as a program.
@ 2001-08-16  1:16 David.Karlberg
  2001-08-16  1:19 ` Andrew Lunn
  2001-08-16  6:52 ` Jonathan Larmour
  0 siblings, 2 replies; 6+ messages in thread
From: David.Karlberg @ 2001-08-16  1:16 UTC (permalink / raw)
  To: ecos-discuss

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

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2001-08-16  7:47 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-08-16  1:29 [ECOS] TCP/IP as a program David.Karlberg
2001-08-16  1:37 ` Andrew Lunn
2001-08-16  7:47 ` [ECOS] " Grant Edwards
  -- strict thread matches above, loose matches on Subject: below --
2001-08-16  1:16 [ECOS] " David.Karlberg
2001-08-16  1:19 ` Andrew Lunn
2001-08-16  6:52 ` Jonathan Larmour

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).