链接库的问题
root/CodeSourcery/Sourcery_G++_Lite//bin/arm-none-linux-gnueabi-gcc -I/usr/local/dvsdk/xdctools_3_16_03_36/packages -I/usr/local/dvsdk/dmai_2_20_00_14/packages -I/usr/local/dvsdk/codec-engine_2_26_01_09/packages -I/usr/local/dvsdk/framework-components_2_25_03_07/packages -I/usr/local/dvsdk/xdais_6_26_00_02/packages -I/usr/local/dvsdk/codecs-dm365_4_00_00_00/packages -DDmai_Device_dm368 -I/usr/local/dvsdk/psp/linux-2.6.32.17-psp03.01.01.38/include -I/usr/local/dvsdk/psp/linux-2.6.32.17-psp03.01.01.38/arch/arm/include -I/usr/local/dvsdk/psp/linux-2.6.32.17-psp03.01.01.38/arch/arm/mach-davinci/include -include /usr/local/dvsdk/psp/linux-2.6.32.17-psp03.01.01.38/include/linux/autoconf.h -I/usr/local/dvsdk/linuxutils_2_25_05_11/packages -I -DDmai_BuildOs_linux -Dxdc_target_types__=gnu/targets/std.h -I/usr/local/dvsdk/linux-devkit/arm-none-linux-gnueabi/usr/include -Dxdc_target_name__=arm/GCArmv5T -g -Wall -Werror -o hello a.c /tmp/ccUfi2mW.o: In function `main': /root/c/a.c:30: undefined reference to `CERuntime_init' collect2: ld returned 1 exit status make: *** [hello] Error 1
这个事链接库的问题;告诉库的地址就可以了?
Feng Dong:
应该是XDC_PATH设置问题,建议在应用的安装目录执行