This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
Problem getting any template to build correctly
- From: Daniel Stewart <mpc823_99 at yahoo dot com>
- To: ecos-discuss at sources dot redhat dot com
- Date: Fri, 2 Jul 2004 10:12:12 -0700 (PDT)
- Subject: [ECOS] Problem getting any template to build correctly
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.
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
----
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.
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.
Daniel Stewart
=====
Daniel Stewart
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail
--
Before posting, please read the FAQ: http://ecos.sourceware.org/fom/ecos
and search the list archive: http://ecos.sourceware.org/ml/ecos-discuss