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: Problem getting any template to build correctly


On Fri, 2004-07-02 at 11:12, Daniel Stewart wrote:
> I have just started looking into eCos for a PowerPC
> 823 based board. However, no matter what template I
> choose, I cannot get anything to build. More
> frustrating is that the errors are all different for
> all the templates I choose. 
> 
> For example, right after I start configtool, I load
> the Motorola MPC8xx/FADS template and choose RedBoot
> as the package. Immediately I get a conflict about the
> CYGBLD_BUILD_ REDBOOT requires the
> CYGSEM_HAL_VIRTUAL_VECTOR_SUPPORT. Of course, under
> ROM Monitor support the virtual vector checkbox is
> checked and grayed out. I have know idea why its
> complaining. 

The 823 and FADS platforms are probably not current (nor have
they been for years...)

> 
> So I switched to the MBX860 template and the RedBoot
> package. Now there are no conflicts. But when I try to
> build it I get an error as:
> --
> 
> make[1]: Entering directory
> `/home/stewart/eCos/Test_build/hal/powerpc/arch/v2_0'
> powerpc-eabi-gcc -msoft-float -mcpu=860 -Wall
> -Wpointer-arith -Wstrict-prototypes -Winline -Wundef
> -Woverloaded-virtual -g -O2 -ffunction-sections
> -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc
> -finit-priority 
> -I/home/stewart/eCos/Test_install/include
> -I/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0
> -I/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src
> -I/opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/tests
> -I. -Wp,-MD,ppc_offsets.tmp -o hal_mk_defs.tmp -S
> /opt/ecos/ecos-2.0/packages/hal/powerpc/arch/v2_0/src/hal_mk_defs.c
> fgrep .equ hal_mk_defs.tmp | sed s/#// >
> /home/stewart/eCos/Test_install/include/cyg/hal/ppc_offsets.inc
> tail: cannot open `+2' for reading: No such file or
> directory
> make[1]: Leaving directory
> `/home/stewart/eCos/Test_build/hal/powerpc/arch/v2_0'
> make[1]: ***
> [/home/stewart/eCos/Test_install/include/cyg/hal/ppc_offsets.inc]
> Error 1
> make: Leaving directory
> `/home/stewart/eCos/Test_build'
> make: *** [build] Error 2
> 

This was a problem with some newer versions of "tail".

> 
> ----
> I've tried building the default i386 build as it comes
> up. Even that gives an error, albeit a different one
> than I'm seeing under the MBX860 build. I've tried
> about 7 different templates and packages and I get
> various errors during the builds with all of them.

First of all, please update to the CVS as at least the "tail" problem
above is fixed there.

> 
> Surely the configtool and eCos cannot be this
> frustrating to get using. I am surely during something
> wrong. If anyone can help me see what it is, I'd much
> appreciate it. 

Also, as Andrew pointed out, you'll probably find that using 
'ecosconfig' is simpler and easier.

> 
> Daniel Stewart
> 
> =====
> Daniel Stewart
> 
> 
> 		
> __________________________________
> Do you Yahoo!?
> New and Improved Yahoo! Mail - Send 10MB messages!
> http://promotions.yahoo.com/new_mail
-- 
Gary Thomas <gary@chez-thomas.org>


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


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