[ECOS] RE: first time compiling ecos

adi baron adi_baron@hotmail.com
Thu Jun 25 23:11:00 GMT 2009


Hi thank you for your answer.
I have decided to move to compilation  on linux - from my experience this would be more native for cross compilers.

I have installed ecos and both EABI and elf toolchain from the tcl script.

Now I am facing a new problem on ubuntu machine:
What ever package I choose to compile it seems to face similar problem -
I receive to following error while compiling (using configuration tool).
It seems arch is not build right by build tool from the template chosen.
Or else I have searched the code and it seems due to missing include to hal_frv.h file

Please advice

home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_install/include/cyg/hal/hal_arch.h:59:5: warning: "CYGINT_HAL_FRV_ARCH_FR500" is not defined
make[1]: Leaving directory `/home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_build/hal/arm/arch/v3_0'
/home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_install/include/cyg/hal/hal_arch.h:62:7: warning: "CYGINT_HAL_FRV_ARCH_FR400" is not defined
make: Leaving directory `/home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_build'
/home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_install/include/cyg/hal/hal_arch.h:66:2: error: #error No architecture defined?

In file included from /home/adibaron/Projects/ecos/ecos-3.0/packages/hal/arm/arch/v3_0/src/hal_mk_defs.c:56:
/home/adibaron/Projects/ecos/ecos-3.0/tools/bin/1_install/include/cyg/hal/hal_arch.h:126: error: ‘_NGPR’ undeclared here (not in a function)

Thank you 
Adi Baron.



-----Original Message-----
From: John Dallaway [mailto:john@dallaway.org.uk] 
Sent: Tuesday, June 23, 2009 3:17 PM
To: adi baron
Cc: ecos-discuss@ecos.sourceware.org
Subject: Re: first time compiling ecos

Hi Adi

adi baron wrote:

> I would be happy to use ecos tested toolchain but it seems that the link
> (ftp://ftp.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-arm-
> elf-1.4-2.cygwin.tar.bz2) provided does not work.

Apologies. The correct location is:

ftp://ecos.sourceware.org/pub/ecos/gnutools/cygwin/ecoscentric-gnutools-arm-elf-1.4-2.cygwin.tar.bz2

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



More information about the Ecos-discuss mailing list