[ELDK] ELDK 4.2 cross complie ppc_4xxFP is not working for lmbench

cvenkat9 at rockwellcollins.com cvenkat9 at rockwellcollins.com
Mon Aug 29 16:56:36 CEST 2011


All,
 I installed ELDK 4.2 using "ppc-2008-04-01_amcc.iso" ; post i have set 
all enviornment varibles 

export ARCH=powerpc
export CROSS_COMPILE=ppc_4xx-
export PATH=/opt/eldk-4.2/usr/bin:$PATH

post this i tried to complie lmbench  by  changing  make file CC path to 
"ppc_4xxFP"  and 
cd lmbench-3.0-a9/src
make CC=ppc_4xxFP-gcc  TARGET=linux 
but is throwed below error; so do i need to chnage any more things inorder 
to see cross complie to work?
please guide me.



make[2]: Entering directory `/usb/TOOLS/benchmark/lmbench3/src'
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_tcp.c -o 
../bin/i686-pc-linux-gnu/lib_tcp.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_tcp.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_udp.c -o 
../bin/i686-pc-linux-gnu/lib_udp.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_udp.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_unix.c -o 
../bin/i686-pc-linux-gnu/lib_unix.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_unix.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_timing.c -o 
../bin/i686-pc-linux-gnu/lib_timing.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_timing.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_mem.c -o 
../bin/i686-pc-linux-gnu/lib_mem.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_mem.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_stats.c -o 
../bin/i686-pc-linux-gnu/lib_stats.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_stats.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_debug.c -o 
../bin/i686-pc-linux-gnu/lib_debug.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_debug.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c getopt.c -o 
../bin/i686-pc-linux-gnu/getopt.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/getopt.o] Error 127 (ignored)
O -DSYS5 -Dvalloc=malloc -DS_IFIFO=S_IFFIFO   -c lib_sched.c -o 
../bin/i686-pc-linux-gnu/lib_sched.o
make[2]: O: Command not found
make[2]: [../bin/i686-pc-linux-gnu/lib_sched.o] Error 127 (ignored)
/bin/rm -f ../bin/i686-pc-linux-gnu/lmbench.a
ar cr ../bin/i686-pc-linux-gnu/lmbench.a 
../bin/i686-pc-linux-gnu/lib_tcp.o ../bin/i686-pc-linux-gnu/lib_udp.o 
../bin/i686-pc-linux-gnu/lib_unix.o ../bin/i686-pc-linux-gnu/lib_timing.o 
../bin/i686-pc-linux-gnu/lib_mem.o ../bin/i686-pc-linux-gnu/lib_stats.o 
../bin/i686-pc-linux-gnu/lib_debug.o ../bin/i686-pc-linux-gnu/getopt.o 
../bin/i686-pc-linux-gnu/lib_sched.o
ar: ../bin/i686-pc-linux-gnu/lib_tcp.o: No such file or directory
make[2]: *** [../bin/i686-pc-linux-gnu/lmbench.a] Error 1
make[2]: Leaving directory `/usb/TOOLS/benchmark/lmbench3/src'
make[1]: *** [lmbench] Error 2
make[1]: Leaving directory `/usb/TOOLS/benchmark/lmbench3/src'
make: *** [results] Error 2


Thanks and Regards
Chethan Venkatesh
319-263- 4794


More information about the eldk mailing list