My previous experiments with multiarch cross-building had run into lots of build-dependency and tool problems and as a result I hadn't got arround to actually building anything beyond trivial test programs.

Unfortunately I have now discovered that when I try to link against some libraries I get link errors.

root@debian:/# arm-linux-gnueabihf-gcc test.c -lglib-2.0
/usr/lib/gcc/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/bin/ld: warning: libpcre.so.3, needed by /usr/lib/arm-linux-gnueabihf/libglib-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/bin/ld: warning: libpthread.so.0, needed by /usr/lib/arm-linux-gnueabihf/libglib-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/gcc/arm-linux-gnueabihf/4.7/../../../../arm-linux-gnueabihf/bin/ld: warning: librt.so.1, needed by /usr/lib/arm-linux-gnueabihf/libglib-2.0.so, not found (try using -rpath or -rpath-link) /usr/lib/arm-linux-gnueabihf/libglib-2.0.so: undefined reference to `pthread_rwlock_wrlock@GLIBC_2.4'

Any thoughts on what could be causing this and how best to fix it?


--
To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/506f6d07.7090...@postgrad.manchester.ac.uk

Reply via email to