Skip to main content

linker issue

No replies
asif_kalim
Offline
Joined: 2007-11-30
Points: 0

Hi,
im building phoneME Feature MR2 for linux_arm, during build of CLDC, i get linker error, as per my findings when it goes to find libc.so.0 it refers to incorrect path, how can i refer it to the correct path.
Error details;
linking ../bin/cldc_vm ...
/opt/gcc-4.1.2-uclibc/bin/g++ -o ../bin/cldc_vm jvmspi.o Main_linux.o NativesTable.o ROMImage.o ../bin/libcldc_vmx.a ../bin/libcldc_vmtest.a ../bin/libcldc_vm.a \
/home/asif/output/mr2/arm/pcsl/linux_arm/lib/libpcsl_memory.a /home/asif/output/mr2/arm/pcsl/linux_arm/lib/libpcsl_print.a /home/asif/output/mr2/arm/pcsl/linux_arm/lib/libpcsl_network.a /home/asif/output/mr2/arm/pcsl/linux_arm/lib/libpcsl_string.a /home/asif/output/mr2/arm/pcsl/linux_arm/lib/libpcsl_file.a -Xlinker --no-warn-mismatch -lpthread
/opt/gcc-4.1.2-uclibc/bin/../lib/gcc/arm-linux-uclibc/4.1.2/../../../../arm-linux-uclibc/bin/ld: cannot find /opt/usr/local/arm/gcc-4.1.2-uclibc/lib/libc.so.0
collect2: ld returned 1 exit status

thanks
asif