Hello,
I recently downloaded and installed the DVSDK for OMAP-L138 under linux, version 4_01_00_09. When I try to compile the provided example program emqbit (located at ${DVSDK}/c6run_0_94_05_06/examples/c6runapp/emqbit, I run into several problems, which I describe here. The first few problems I am able to work around, but the last one I'm stuck on. Here are the steps I'm following:
- Download and install dvsdk_omapl138-evm_4_01_00_09_setuplinux
- Copy ${DVSDK}/c6run_0_94_05_06/examples/c6runapp/emqbit to my home directory on the host
- Setup the environment:
source ${DVSDK}/linux-devkit/environment-setup
- run make:
[linux-devkit]:~/emqbit2> make
c6runapp-cc -c -O3 -o dsp/main_cfft.o main_cfft.c
make: c6runapp-cc: Command not found
make: *** [dsp/main_cfft.o] Error 127
- edit the Makefile adding the lines:
include $(DVSDK)/Rules.make
ARM_TOOLCHAIN_PATH=$(CSTOOL_DIR)
C6RUN_TOOLCHAIN_PATH=$(C6RUN_INSTALL_DIR)
- run make:
[linux-devkit]:~/emqbit> make
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc -o bench_dsp dsp/main_bench.o dsp/distance.o
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 89: /usr/local/dvsdk/c6run_0_94_05_06/bin/../environment.sh: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 513: /bin/cl6x: No such file or directory
mv: cannot stat `bench_dsp.dsp_image.out': No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 527: /bin/strip6x: No such file or directory
od: bench_dsp.dsp: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 538: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 556: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc -o cfft_dsp dsp/main_cfft.o dsp/cfft.o
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 89: /usr/local/dvsdk/c6run_0_94_05_06/bin/../environment.sh: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 513: /bin/cl6x: No such file or directory
mv: cannot stat `cfft_dsp.dsp_image.out': No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 527: /bin/strip6x: No such file or directory
od: cfft_dsp.dsp: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 538: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 556: /bin/gcc: No such file or directory
/usr/local/arm-2009q1//bin/arm-none-linux-gnueabi-gcc -lm -o bench_arm gpp/main_bench.o gpp/distance.o
/usr/local/arm-2009q1//bin/arm-none-linux-gnueabi-gcc -lm -o cfft_arm gpp/main_cfft.o gpp/cfft.o
- copy the ${DVSDK}/Rules.make to ${DVSDK}/c6run_0_94_05_06/environment.sh, and modify variables so they are exported as environment variables
- run make again:
[linux-devkit]:~/emqbit> make
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc -o bench_dsp dsp/main_bench.o dsp/distance.o
error: cannot find file "/usr/local/dvsdk/c6run_0_94_05_06/lib/libc6rundsp.a"
"/tmp/084784AqJ2G", line 15: error: cannot find file
"/usr/local/dvsdk/c6run_0_94_05_06/lib/c6rundsp.cmd"
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
warning: creating ".sysmem" section with default size of 0x400; use the -heap
option to change the default size
error: errors encountered during linking; "bench_dsp.dsp_image.out" not built
mv: cannot stat `bench_dsp.dsp_image.out': No such file or directory
>> error: errors occurred while reading bench_dsp.dsp
od: bench_dsp.dsp: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 538: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 556: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc -o cfft_dsp dsp/main_cfft.o dsp/cfft.o
error: cannot find file "/usr/local/dvsdk/c6run_0_94_05_06/lib/libc6rundsp.a"
"/tmp/08499eLVaij", line 15: error: cannot find file
"/usr/local/dvsdk/c6run_0_94_05_06/lib/c6rundsp.cmd"
warning: creating ".stack" section with default size of 0x400; use the -stack
option to change the default size
warning: creating ".sysmem" section with default size of 0x400; use the -heap
option to change the default size
error: errors encountered during linking; "cfft_dsp.dsp_image.out" not built
mv: cannot stat `cfft_dsp.dsp_image.out': No such file or directory
>> error: errors occurred while reading cfft_dsp.dsp
od: cfft_dsp.dsp: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 538: /bin/gcc: No such file or directory
/usr/local/dvsdk/c6run_0_94_05_06/bin/c6runapp-cc: line 556: /bin/gcc: No such file or directory
/usr/local/arm-2009q1//bin/arm-none-linux-gnueabi-gcc -lm -o bench_arm gpp/main_bench.o gpp/distance.o
/usr/local/arm-2009q1//bin/arm-none-linux-gnueabi-gcc -lm -o cfft_arm gpp/main_cfft.o gpp/cfft.o
And this is where I'm stuck. Does it look like I'm doing something wrong here?
Thanks in advance for any help!
Cheers,
John