Libraries

I am trying to make a demo work which uses 4 3rd party libraries. changed the makefiles and got the libs to compile but the demo just wont run “file not found” but its in the temp folder. after trying stuff and making a simple app and trying to link just one of the libs I found that the linker complains about not finding libm.so.6 and libc.so.6
I also notice that when building/installing the rootfs it complains about not being able to stat libm.so.6 (file not found)

**** Build of configuration Debug for project TestApp ****

make all
Building target: TestApp
Invoking arm-linux-g++ (cross)Linker
arm-linux-g++ -L/home/marc/workspace/DmsApp/snmp++/lib -L/home/marc/workspace/Dms/build/rootfs/lib -o"TestApp" ./main.o -lsnmp++
/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.6/…/…/…/…/arm-unknown-linux-uclibcgnueabi/bin/ld: warning: libm.so.6, needed by /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so, not found (try using -rpath or -rpath-link)
/usr/local/DigiEL-5.7/x-tools/arm-unknown-linux-uclibcgnueabi/lib/gcc/arm-unknown-linux-uclibcgnueabi/4.4.6/…/…/…/…/arm-unknown-linux-uclibcgnueabi/bin/ld: warning: libc.so.6, needed by /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so, not found (try using -rpath or -rpath-link)
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to stdout@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strlen@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_mutex_init@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to inet_aton@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to memset@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fgets@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to getpid@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to inet_ntoa@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fclose@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to tolower@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to ntohs@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to bind@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to localtime@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to isxdigit@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strcmp@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to gethostbyaddr_r@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to select@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strftime@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to rand@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to des_key_sched’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to atol@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to setsockopt@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to memcpy@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fwrite@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_create' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to recvfrom@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strstr@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to isprint@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to rename@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to gethostname@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to printf@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to malloc@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strncmp@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to __errno_location@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to inet_addr@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strcat@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_mutex_lock@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to socket@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to htonl@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to atoi@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to time@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_mutex_destroy@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to sendto@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fprintf@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to strcpy@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_exit@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to htons@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to sprintf@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_mutex_unlock@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to gethostbyname_r@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to gettimeofday@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to close@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to ntohl@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to localtime_r@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to free@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to des_ncbc_encrypt’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fopen@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to unlink@GLIBC_2.4’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to fputs@GLIBC_2.4' /home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to pthread_join’
/home/marc/workspace/DmsApp/snmp++/lib/libsnmp++.so: undefined reference to `raise@GLIBC_2.4’
collect2: ld returned 1 exit status
make: *** [TestApp] Error 1