[ldns-users] cross compiler issues

Jelte Jansen jelte at NLnetLabs.nl
Mon Mar 2 10:44:49 UTC 2009

Puneet Gupta wrote:
> /opt/mtwk/usr/local/gcc-3.4.3-glibc-2.3.6-1/powerpc-603e-linux/lib/gcc/powerpc-603e-linux/3.4.3/../../../../powerpc-603e-linux/bin/ld:
> libusb-1.0.a(libusb_1_0_la-core.o): Relocations in generic ELF (EM: 3)
> libusb-1.0.a: could not read symbols: File in wrong format
> collect2: ld returned 1 exit status
> make: *** [usbmon] Error 1

I am not sure what you are building here, but I have a feeling that it
doesn't have anything to do with the DNS library ldns, and you may have
found the wrong list to ask. My apologies if i am wrong. I cannot tell
from this information what would be the right place.

it would appear that libusb which your environment is trying to link in
has not been crosscompiled correctly.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 260 bytes
Desc: OpenPGP digital signature
URL: <http://lists.nlnetlabs.nl/pipermail/ldns-users/attachments/20090302/1161794e/attachment.bin>

More information about the ldns-users mailing list