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


> 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 never use the GUI, im prefure the friendly CLI.

~/eCos/mbx860$ ecosconfig new mbx860 redboot
~/eCos/mbx860$ ecosconfig import ../anoncvs/packages/hal/powerpc/mbx/current/misc/redboot_RAM.ecm
~/eCos/mbx860$ ecosconfig tree
~/eCos/mbx860$ make -s
headers finished
build finished
        
        Andrew

-- 
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]