public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] fatal error when building ecos with lwip
@ 2009-07-17 10:16 Robert Brusa
  2009-07-17 10:30 ` Mandeep Sandhu
  0 siblings, 1 reply; 5+ messages in thread
From: Robert Brusa @ 2009-07-17 10:16 UTC (permalink / raw)
  To: ecos-discuss

Hi
I added the packages CYGPKG_NET_LWIP v3_0 and CYGPKG_IO_ETH_DRIVERS v3_0  
to my (proven) template, configured tcp and started the build. But hellas  
- it runs on a severe problem:

<cut>
/home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:89: warning:  
‘packed’ attribute ignored for field of type ‘struct eth_addr’
/home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:90: warning:  
‘packed’ attribute ignored for field of type ‘struct ip_addr2’
/home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:102: warning:  
‘packed’ attribute ignored for field of type ‘struct eth_hdr’
/home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:103: warning:  
‘packed’ attribute ignored for field of type ‘struct ip_hdr’
In file included from  
/home/rwb/ecoswc-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/init.c:65:
/home/rwb/hyaplibs/hyaplib_0_install/include/cyg/io/eth/eth_drv.h:155:  
error: redefinition of ‘struct arpcom’
make[1]: *** [src/ecos/init.o.d] Fehler 1
make: *** [build] Fehler 2

Does anybody know how to fix this problem? And what's about these  
warnings? Thanks for help.
    Robert

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] fatal error when building ecos with lwip
  2009-07-17 10:16 [ECOS] fatal error when building ecos with lwip Robert Brusa
@ 2009-07-17 10:30 ` Mandeep Sandhu
  2009-07-17 12:23   ` Robert Brusa
  2009-07-17 13:01   ` Robert Brusa
  0 siblings, 2 replies; 5+ messages in thread
From: Mandeep Sandhu @ 2009-07-17 10:30 UTC (permalink / raw)
  To: Bob.Brusa; +Cc: ecos-discuss

I got the same error once while trying to add lwIP to my SAM7X
template (using the GUI tool).

I started afresh and things worked! I also chose one of the
pre-defined configs i.e lwip_eth.

HTH,
-mandeep

On Fri, Jul 17, 2009 at 3:46 PM, Robert Brusa<bob.brusa@gmail.com> wrote:
> Hi
> I added the packages CYGPKG_NET_LWIP v3_0 and CYGPKG_IO_ETH_DRIVERS v3_0 to
> my (proven) template, configured tcp and started the build. But hellas - it
> runs on a severe problem:
>
> <cut>
> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:89: warning:
> ‘packed’ attribute ignored for field of type ‘struct eth_addr’
> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:90: warning:
> ‘packed’ attribute ignored for field of type ‘struct ip_addr2’
> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:102: warning:
> ‘packed’ attribute ignored for field of type ‘struct eth_hdr’
> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:103: warning:
> ‘packed’ attribute ignored for field of type ‘struct ip_hdr’
> In file included from
> /home/rwb/ecoswc-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/init.c:65:
> /home/rwb/hyaplibs/hyaplib_0_install/include/cyg/io/eth/eth_drv.h:155:
> error: redefinition of ‘struct arpcom’
> make[1]: *** [src/ecos/init.o.d] Fehler 1
> make: *** [build] Fehler 2
>
> Does anybody know how to fix this problem? And what's about these warnings?
> Thanks for help.
>   Robert
>
> --
> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>
>

--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] fatal error when building ecos with lwip
  2009-07-17 10:30 ` Mandeep Sandhu
@ 2009-07-17 12:23   ` Robert Brusa
  2009-07-17 13:01   ` Robert Brusa
  1 sibling, 0 replies; 5+ messages in thread
From: Robert Brusa @ 2009-07-17 12:23 UTC (permalink / raw)
  To: Mandeep Sandhu; +Cc: ecos-discuss

> On Fri, Jul 17, 2009 at 3:46 PM, Robert Brusa<bob.brusa@gmail.com> wrote:
>> Hi
>> I added the packages CYGPKG_NET_LWIP v3_0 and CYGPKG_IO_ETH_DRIVERS  
>> v3_0 to
>> my (proven) template, configured tcp and started the build. But hellas  
>> - it
>> runs on a severe problem:
>>
>> <cut>
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:89: warning:
>> ‘packed’ attribute ignored for field of type ‘struct eth_addr’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:90: warning:
>> ‘packed’ attribute ignored for field of type ‘struct ip_addr2’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:102:  
>> warning:
>> ‘packed’ attribute ignored for field of type ‘struct eth_hdr’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:103:  
>> warning:
>> ‘packed’ attribute ignored for field of type ‘struct ip_hdr’
>> In file included from
>> /home/rwb/ecoswc-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/init.c:65:
>> /home/rwb/hyaplibs/hyaplib_0_install/include/cyg/io/eth/eth_drv.h:155:
>> error: redefinition of ‘struct arpcom’
>> make[1]: *** [src/ecos/init.o.d] Fehler 1
>> make: *** [build] Fehler 2
>>
>> Does anybody know how to fix this problem? And what's about these  
>> warnings?
>> Thanks for help.
>>   Robert
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
>>
On Fri, 17 Jul 2009 12:29:58 +0200, Mandeep Sandhu  
<mandeepsandhu.chd@gmail.com> wrote:

> I got the same error once while trying to add lwIP to my SAM7X
> template (using the GUI tool).
>
> I started afresh and things worked! I also chose one of the
> pre-defined configs i.e lwip_eth.
>
> HTH,
> -mandeep
>
I am not so happy: The error persists. Any other hint?
   Robert


-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* Re: [ECOS] fatal error when building ecos with lwip
  2009-07-17 10:30 ` Mandeep Sandhu
  2009-07-17 12:23   ` Robert Brusa
@ 2009-07-17 13:01   ` Robert Brusa
  2009-07-17 16:17     ` [ECOS] " John Dallaway
  1 sibling, 1 reply; 5+ messages in thread
From: Robert Brusa @ 2009-07-17 13:01 UTC (permalink / raw)
  To: Mandeep Sandhu; +Cc: ecos-discuss

>> On Fri, Jul 17, 2009 at 3:46 PM, Robert Brusa<bob.brusa@gmail.com>  
>> wrote:
>> Hi
>> I added the packages CYGPKG_NET_LWIP v3_0 and CYGPKG_IO_ETH_DRIVERS  
>> v3_0 to
>> my (proven) template, configured tcp and started the build. But hellas  
>> - it
>> runs on a severe problem:
>>
>> <cut>
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:89: warning:
>> ‘packed’ attribute ignored for field of type ‘struct eth_addr’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:90: warning:
>> ‘packed’ attribute ignored for field of type ‘struct ip_addr2’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:102:  
>> warning:
>> ‘packed’ attribute ignored for field of type ‘struct eth_hdr’
>> /home/rwb/hyaplibs/hyaplib_0_install/include/netif/etharp.h:103:  
>> warning:
>> ‘packed’ attribute ignored for field of type ‘struct ip_hdr’
>> In file included from
>> /home/rwb/ecoswc-3.0/packages/net/lwip_tcpip/v3_0/src/ecos/init.c:65:
>> /home/rwb/hyaplibs/hyaplib_0_install/include/cyg/io/eth/eth_drv.h:155:
>> error: redefinition of ‘struct arpcom’
>> make[1]: *** [src/ecos/init.o.d] Fehler 1
>> make: *** [build] Fehler 2
>>
>> Does anybody know how to fix this problem? And what's about these  
>> warnings?
>> Thanks for help.
>>   Robert
>>
>> --
>> Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
>> and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss
>>
>>
On Fri, 17 Jul 2009 12:29:58 +0200, Mandeep Sandhu  
<mandeepsandhu.chd@gmail.com> wrote:

> I got the same error once while trying to add lwIP to my SAM7X
> template (using the GUI tool).
>
> I started afresh and things worked! I also chose one of the
> pre-defined configs i.e lwip_eth.
>
> HTH,
> -mandeep
>
Now it builds succesfully. It seems that the macro  
CYGPKG_IO_ETH_DRIVERS_STAND_ALONE
was the problem. Disabling it and it worked. However, I do not understand  
what this
macro does - or does not. Has anyone a hint what this "stand-alone" means  
in this
context. Thank you.
   Robert



-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

* [ECOS] Re: fatal error when building ecos with lwip
  2009-07-17 13:01   ` Robert Brusa
@ 2009-07-17 16:17     ` John Dallaway
  0 siblings, 0 replies; 5+ messages in thread
From: John Dallaway @ 2009-07-17 16:17 UTC (permalink / raw)
  To: Bob.Brusa; +Cc: ecos-discuss

Hi Robert

Robert Brusa wrote:

> Now it builds succesfully. It seems that the macro
> CYGPKG_IO_ETH_DRIVERS_STAND_ALONE was the problem. Disabling it and
> it worked. However, I do not understand what this macro does - or
> does not. Has anyone a hint what this "stand-alone" means in this
> context. Thank you.

In this context, "standalone" describes a TCP/IP stack which does not
use the eCos kernel. Such a stack might be provided by RedBoot or by
application code. The various eCos ethernet drivers will be built
without interrupt handlers if CYGPKG_IO_ETH_DRIVERS_STAND_ALONE is enabled.

John Dallaway

-- 
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss

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

end of thread, other threads:[~2009-07-17 16:17 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-07-17 10:16 [ECOS] fatal error when building ecos with lwip Robert Brusa
2009-07-17 10:30 ` Mandeep Sandhu
2009-07-17 12:23   ` Robert Brusa
2009-07-17 13:01   ` Robert Brusa
2009-07-17 16:17     ` [ECOS] " John Dallaway

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).