This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
RE: Problems when selecting the FREEBSD stack
- From: "Ajay Dudani" <abdudani at unity dot ncsu dot edu>
- To: "'Cusson, Pascal'" <pascal dot cusson at analog dot com>,<ecos-discuss at sources dot redhat dot com>
- Date: Mon, 28 Oct 2002 10:59:59 -0500
- Subject: RE: [ECOS] Problems when selecting the FREEBSD stack
- Organization: North Carolina State University
- Reply-to: <abdudani at unity dot ncsu dot edu>
>gcc -c -ggdb -I/home/pcusson/simfb/install/include adieth.c -D__ECOS -
> D__KERNEL -L/home/pcusson/simfb/install/lib -Ttarget.ld -nostdlib
I think that should be -D__ECOS -D_KERNEL
And not __KERNEL.
Ajay Dudani
-----Original Message-----
From: ecos-discuss-owner@sources.redhat.com [mailto:ecos-discuss-
owner@sources.redhat.com] On Behalf Of Cusson, Pascal
Sent: Monday, October 28, 2002 10:57 AM
To: ecos-discuss@sources.redhat.com
Subject: [ECOS] Problems when selecting the FREEBSD stack
Hi everyone,
When trying to use the FreeBSD mon software does not compile
anymore. My eCos was originaly composed of the psim all template.
Then
I remove the CYGPKG_NET_OPENBSD_STACK and I replaced it by the
CYGPKG_NET_FREEBSD_STACK. Now when I compile I get the following
errors
which I did not have with the previous stack. Could anyone indicate
me
what went wrong ???
Thanks
Pascal
[pcusson@pcusson-linux src]$ make
gcc -c -ggdb -I/home/pcusson/simfb/install/include thread.c -
L/home/pcusson/simfb/install/lib -Ttarget.ld -nostdlib
gcc -c -ggdb -I/home/pcusson/simfb/install/include adiserial.c -
L/home/pcusson/simfb/install/lib -Ttarget.ld -nostdlib
gcc -c -ggdb -I/home/pcusson/simfb/install/include init.c -
L/home/pcusson/simfb/install/lib -Ttarget.ld -nostdlib
gcc -c -ggdb -I/home/pcusson/simfb/install/include adieth.c
-D__ECOS -
D__KERNEL -L/home/pcusson/simfb/install/lib -Ttarget.ld -nostdlib
In file included from
/home/pcusson/simfb/install/include/cyg/io/eth/eth_drv.h:71,
from adieth.h:17,
from adieth.c:1:
/home/pcusson/simfb/install/include/netinet/in_var.h:70: field
`ia_ifa'
has incomplete type
In file included from
/home/pcusson/simfb/install/include/netinet/in_var.h:242,
from
/home/pcusson/simfb/install/include/cyg/io/eth/eth_drv.h:71,
from adieth.h:17,
from adieth.c:1:
/home/pcusson/simfb/install/include/netinet6/in6_var.h:128: field
`ia_ifa' has incomplete type
In file included from adieth.h:17,
from adieth.c:1:
/home/pcusson/simfb/install/include/cyg/io/eth/eth_drv.h:153: field
`sc_arpcom' has incomplete type
make: *** [adieth.o] Error 1
[pcusson@pcusson-linux src]$
--
Before posting, please read the FAQ:
http://sources.redhat.com/fom/ecos
and search the list archive:
http://sources.redhat.com/ml/ecos-discuss
--
Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos
and search the list archive: http://sources.redhat.com/ml/ecos-discuss