public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
From: David.Karlberg@combitechsystems.com
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] TCP/IP as a program.
Date: Thu, 16 Aug 2001 01:16:00 -0000	[thread overview]
Message-ID: <2253171AF143D21185A60000F8FA748B03795E14@pluto.combitech.se> (raw)

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

             reply	other threads:[~2001-08-16  1:16 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-16  1:16 David.Karlberg [this message]
2001-08-16  1:19 ` Andrew Lunn
2001-08-16  6:52 ` Jonathan Larmour
2001-08-16  1:29 David.Karlberg
2001-08-16  1:37 ` Andrew Lunn

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=2253171AF143D21185A60000F8FA748B03795E14@pluto.combitech.se \
    --to=david.karlberg@combitechsystems.com \
    --cc=ecos-discuss@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).