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]

IXDP425 redboot from CVS ld error


Hi all,
I have a IXDP425 development platform A0 and B0 step processor.
I have rebuild arm-elf toolchain following the instructions from
ecos site and I have download ecos from CVS.
I have also dowloaded npe-1.4.epk and IxNpeMicrocode.c from intel site.
I made the following steps:
# export PATH=/gnutools/bin:$PATH
# export TOPDIR=/home/antonello/eCos/eCos_Dwld/ecos
# export ECOS_REPOSITORY=$TOPDIR/packages
# mkdir $TOPDIR/IXDP425-redboot_RAM-build
# cd $TOPDIR/IXDP425-redboot_RAM-build
# chmod +x ./$ECOS_REPOSITORY/acosadmin.tcl
# ./$ECOS_REPOSITORY/acosadmin.tcl add ../../npe-1.4.epk
# cp ../../IxNpeMicrocode.c
./$ECOS_REPOSITORY/devs/eth/intel/npe/v1_4/src/npeDl
# ecosconfig new ixdp425 redboot
# ecosconfig import
./$ECOS_REPOSITORY/hal/arm/xscale/ixdp425/current/misc/redboot_RAM.ecm
# ecosconfig add intel_npe
# ecosconfig add ixdp425_npe
# ecosconfig tree
# make

The compilation stops with the following error:
make[1]: Entering directory
`/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/redboot/curre
nt'
arm-elf-gcc -c  -I/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-bu
ild/install/include -I/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/c
urrent -I/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/src -I
/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/tests -I. -finl
ine-limit=7000 -mbig-endian -Wall -Wpointer-arith -Wstrict-prototypes -Winli
ne -Wundef -Woverloaded-virtual -g -O2 -ffunction-sections -fdata-sections -
fno-rtti -fno-exceptions  -mapcs-frame -o
/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/ve
rsion.o
/home/antonello/eCos/eCos_Dwld/ecos/packages/redboot/current/src/version.c
arm-elf-gcc -mbig-endian -Wl,--gc-sections -Wl,-static -g -O2 -nostdlib -L/h
ome/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib -Tta
rget.ld -o
/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/re
dboot.elf
/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/ve
rsion.o
/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/lib/ex
tras.o: In function `do_exec':
/home/antonello/eCos/eCos_Dwld/ecos/packages/hal/arm/arch/current/src/redboo
t_linux_exec.c:308: undefined reference to `pthread_mutex_trylock'
/home/antonello/eCos/eCos_Dwld/ecos/packages/hal/arm/arch/current/src/redboo
t_linux_exec.c:308: undefined reference to `POSIX_OSS_RETCODE'
collect2: ld returned 1 exit status
make[1]: ***
[/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/install/bin/r
edboot.elf] Error 1
make[1]: Leaving directory
`/home/antonello/eCos/eCos_Dwld/ecos/IXDP425-redboot_RAM-build/redboot/curre
nt'
make: *** [build] Error 2

Any suggestion?


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