public inbox for ecos-discuss@sourceware.org
 help / color / mirror / Atom feed
* [ECOS] RedBoot and semaphore
@ 2005-04-01 11:34 Nickolay
  2005-04-01 13:47 ` Mark Salter
  0 siblings, 1 reply; 2+ messages in thread
From: Nickolay @ 2005-04-01 11:34 UTC (permalink / raw)
  To: ecos-discuss

Hallo!

What last ecos version, that successfuly builded with IXP425 NPE support 
from Intel?
I did try build last ecos version from CVS with Intel's 
CYGPKG_DEVS_ETH_INTEL_NPE and
CYGPKG_DEVS_ETH_ARM_IXDP425_NPE. But when compile, has some error:

In file included from 
/home/nickolay/ecos/build1/install/include/os_datatypes.h:168,
                 from 
/home/nickolay/ecos/build1/install/include/ix_ossl.h:170,
                 from 
/home/nickolay/ecos/packages/devs/eth/intel/npe/v1_4/src/if_npe.c:72:
/opt/montavista/previewkit/arm/xscale_le/target/usr/include/asm/semaphore.h:20: 
error: parse error before "wait_queue_head_t"

But wait_queue_head_t really defined only with -D__KERNEL__, but ecos 
compile without this flag.


-- 
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] 2+ messages in thread

* Re: [ECOS] RedBoot and semaphore
  2005-04-01 11:34 [ECOS] RedBoot and semaphore Nickolay
@ 2005-04-01 13:47 ` Mark Salter
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Salter @ 2005-04-01 13:47 UTC (permalink / raw)
  To: Nickolay; +Cc: ecos-discuss

On Fri, 2005-04-01 at 15:34 +0400, Nickolay wrote:
> Hallo!
> 
> What last ecos version, that successfuly builded with IXP425 NPE support 
> from Intel?
> I did try build last ecos version from CVS with Intel's 
> CYGPKG_DEVS_ETH_INTEL_NPE and
> CYGPKG_DEVS_ETH_ARM_IXDP425_NPE. But when compile, has some error:
> 
> In file included from 
> /home/nickolay/ecos/build1/install/include/os_datatypes.h:168,
>                  from 
> /home/nickolay/ecos/build1/install/include/ix_ossl.h:170,
>                  from 
> /home/nickolay/ecos/packages/devs/eth/intel/npe/v1_4/src/if_npe.c:72:
> /opt/montavista/previewkit/arm/xscale_le/target/usr/include/asm/semaphore.h:20: 
> error: parse error before "wait_queue_head_t"
> 
> But wait_queue_head_t really defined only with -D__KERNEL__, but ecos 
> compile without this flag.

The problem seems to be that you are using a linux toolchain. This won't
work because the NPE software sees the __linux__ define and thinks its
building for linux, not RedBoot. You really need to use an xscale-elf
or arm-elf toolchain, not a toolchain meant to build linux apps.

--Mark



-- 
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] 2+ messages in thread

end of thread, other threads:[~2005-04-01 13:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-01 11:34 [ECOS] RedBoot and semaphore Nickolay
2005-04-01 13:47 ` Mark Salter

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