This is the mail archive of the
ecos-discuss@sources.redhat.com
mailing list for the eCos project.
R: R: R: Problem compiling redboot for XScale
- From: "Pascal Pediroda @ Brime" <pascal dot pediroda at brime dot it>
- To: "Jonathan Larmour" <jifl at eCosCentric dot com>
- Cc: <ecos-discuss at sources dot redhat dot com>
- Date: Thu, 27 Mar 2003 08:22:54 +0100
- Subject: [ECOS] R: R: R: [ECOS] Problem compiling redboot for XScale
- Reply-to: <pascal dot pediroda at brime dot it>
Hello ,
here is the new log. I hope it will me more usefull for you ;-) :
Reading specs from /gnutools/lib/gcc-lib/arm-elf/3.2.2/specs
Configured with:
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v : (reconfigured)
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v : (reconfigured)
/src/gcc-3.2.2/configure --target=arm-elf --prefix=/gnutools --enable-langua
ges=c,c++ --with-gnu-as --with-new-ld --with-newlib -with-gxx-include-dir=/g
nutools/arm-elf/include -v
Thread model: single
gcc version 3.2.2
/gnutools/lib/gcc-lib/arm-elf/3.2.2/cc1.exe -lang-c -v -I/ecos-c/BootRosso/B
ootrosso_install/include -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/cur
rent -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src -I/ecos-c/c
ygwin/src/ecos/packages/hal/arm/arch/current/tests -I. -D__GNUC__=3 -D__GNUC
_MINOR__=2 -D__GNUC_PATCHLEVEL__=2 -D__GXX_ABI_VERSION=102 -D__ELF__ -D__ELF
__ -D__OPTIMIZE__ -D__STDC_HOSTED__=1 -Acpu=arm -Amachine=arm -D__ARM_ARCH_5
TE__ -D__XSCALE__ -D__APCS_32__ -D__ARMEL__ -D__ELF__ -D__USES_INITFINI__ -D
__arm__ -MD arm.tmp
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c -qui
et -dumpbase
hal_mk_defs.c -mcpu=xscale -mapcs-frame -g -O2 -Wall -Wpointer-arith -Wstric
t-prototypes -Winline -Wundef -Woverloaded-virtual -version -ffunction-secti
ons -fdata-sections -fno-rtti -fno-exceptions -fvtable-gc -finit-priority -o
hal_mk_defs.tmp
ignoring nonexistent directory
"/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/tests"
GNU CPP version 3.2.2 (cpplib) (ARM/ELF)
GNU C version 3.2.2 (arm-elf)
compiled by GNU C version 3.2 20020927 (prerelease).
ignoring nonexistent directory "/gnutools/arm-elf/sys-include"
#include "..." search starts here:
#include <...> search starts here:
/ecos-c/BootRosso/Bootrosso_install/include
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src
.
/gnutools/include
/gnutools/lib/gcc-lib/arm-elf/3.2.2/include
/gnutools/arm-elf/include
End of search list.
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c: In
function `main':
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:83:
`HAL_THREAD_CONTEXT_R8' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:83:
(Each undeclared identifier is reported only once
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:83:
for each function it appears in.)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:84:
`HAL_THREAD_CONTEXT_R9' undeclared (first use in this function)
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:93:
structure has no member named `svc_lr'
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:94:
structure has no member named `svc_sp'
/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_mk_defs.c:122:
`CYGNUM_HAL_INTERRUPT_NONE' undeclared (first use in this function)
-----Messaggio originale-----
Da: Jonathan Larmour [mailto:jifl at eCosCentric dot com]
Inviato: mercoledi 26 marzo 2003 19.58
A: pascal dot pediroda at brime dot it
Cc: ecos-discuss at sources dot redhat dot com
Oggetto: Re: R: R: [ECOS] Problem compiling redboot for XScale
Pascal Pediroda @ Brime wrote:
> Here is the command :
>
>
arm-elf-gcc -c -I/ecos-c/BootRosso/Bootrosso_install/include -I/ecos-c/cygw
>
in/src/ecos/packages/hal/arm/arch/current -I/ecos-c/cygwin/src/ecos/packages
>
/hal/arm/arch/current/src -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/cu
>
rrent/tests -I. -I/ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/
> -v -mcpu=xscale -Wall -Wpointer-arith -Wstrict-prototypes -Winline -Wunde
f
> -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -fno-rtti
-f
>
no-exceptions -fvtable-gc -finit-priority -mapcs-frame -Wp,-MD,src/hal_misc.
> tmp -o src/hal_arm_arch_hal_misc.o
> /ecos-c/cygwin/src/ecos/packages/hal/arm/arch/current/src/hal_misc.c
Hold on, that's not hal_mk_defs. Ah I suppose being a custom build rule it
is treated differently. Sigh. You could try: "make arm.inc" instead of
"make" from before.
An alternative is not to use the config tool and instead try using
straight ecosconfig and see if that helps.
BTW is it repeatable anyway?
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