Hi all, am getting undefined reference to exit() linking errors. while building my package app. following is the snap of the error.
mv5t -mapcs -mtune=arm9tdmi -msoft-float -mno-sched-prolog -Wall -Uarm -Os -fno- strict-aliasing -g -o ../bin/g711dec_app.out ../src/g711dec_sys_funcs.o ../sr c/main.o g711_dec_app_package/package/cfg/pkg_x470MV.o `cat ./g711_dec_app_packa ge/package/cfg/pkg_x470MV.xdl` -lpthread ../src/g711dec_sys_funcs.o(.text+0x4c0): In function `g711decapp_main': ../src/g711dec_sys_funcs.c:372: undefined reference to `exit' /eyeshare/dvevm/workdir/filesys/home/jrmp84/g711_xdm/DM6446/g711_xdm/codecs/g711 dec/lib/g711_dec_arm9e.a(basic_op.o)(.text+0x610): In function `div_s': source\basic_op.c: undefined reference to `exit' /eyeshare/dvevm/dvevm_1_10_00_18/codec_engine_1_02/packages/ti/sdo/ce/osal/lib/o sal_posix.a470MV(Global_noOS.o470MV)(.text+0x38): In function `Global_abort': Global_noOS.c: undefined reference to `exit' /eyeshare/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl -montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld: ../ bin/g711dec_app.out: hidden symbol `exit' isn't defined /eyeshare/opt/mv_pro_4.0/montavista/pro/devkit/arm/v5t_le/bin/../lib/gcc/armv5tl -montavista-linuxeabi/3.4.3/../../../../armv5tl-montavista-linuxeabi/bin/ld: fin al link failed: Nonrepresentable section on output collect2: ld returned 1 exit status Let me know the any solution...compiler options settings.. I tried -1gcc option. it didn't work. Regards, Mahesha
_______________________________________________ Davinci-linux-open-source mailing list [email protected] http://linux.davincidsp.com/mailman/listinfo/davinci-linux-open-source
