[ECOS] Problems when selecting the FREEBSD stack
Cusson, Pascal
pascal.cusson@analog.com
Mon Oct 28 08:01:00 GMT 2002
Thank you very much, it works now.
Pascal
-----Original Message-----
From: Ajay Dudani [mailto:abdudani@unity.ncsu.edu]
Sent: Monday, October 28, 2002 10:59 AM
To: 'Cusson, Pascal'
Subject: RE: [ECOS] Problems when selecting the FREEBSD stack
>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
More information about the Ecos-discuss
mailing list