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]
Other format: [Raw text]

RE: 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


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