[ECOS] RE: eCos build net failed

Dean Wang dwang@3upsystems.com
Fri Mar 21 21:32:00 GMT 2003


Janathan,

Thanks! You pointed to the very problem I was having.

Dean

-----Original Message-----
From: Jonathan Larmour [mailto:jifl@eCosCentric.com]
Sent: Thursday, March 20, 2003 6:16 PM
To: dwang@3upsystems.com
Cc: eCos discussion
Subject: Re: eCos build net failed


Dean Wang wrote:
> My eCos experience was mainly on pre-beta release of 2.0 and manually
> built all toolchain. I am new to the 2.0 beta. In the pre-beta, the 'net'
> package build is
> fine, however, in the 2.0 beta, the 'net' package build failed (for MIPS
4kc
> as well as PowerPC
> 8245.) Here is the partial capture of the PowerPC build:
>
> I build from template (Cogent 8245 and net package):
> toolchain was downloaded from ecoscentral. Anyone has suggestions on how
to
> get the right configurations for the build?
>
> ---
> /ecos-c/dev/ppcnet_install/include/netinet/in.h:254: redefinition of
`struct
> in_addr'
> In file included from
> /ecos-c/dev/ppcnet_install/include/cyg/io/eth/eth_drv.h:69,
>                  from
>
/ecos-c/cygwin/opt/ecos/ecos-2.0b1/packages/redboot/v2_0b1/src/net/enet.c:57

You have mixed a redboot build with a normal eCos build. You can't have
both in the same configuration. The easiest, cleanest and safest thing to
do is start over in a new empty build tree.

Jifl
--
eCosCentric    http://www.eCosCentric.com/    The eCos and RedBoot experts
--[ "You can complain because roses have thorns, or you ]--
--[  can rejoice because thorns have roses." -Lincoln   ]-- Opinions==mine


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