hi , all i`m trying to cross compile pjsip for my kit running embedded linux when i try with the following commands i only use the kit cross compiler ./configure --host=arm-linux make dep make at make step some error appears to me ************************************************************* arm-linux-ar: creating ../lib/libpjlib-util-arm-unknown-linux-gnu.a a - output/pjlib-util-arm-unknown-linux-gnu/base64.o a - output/pjlib-util-arm-unknown-linux-gnu/crc32.o a - output/pjlib-util-arm-unknown-linux-gnu/errno.o a - output/pjlib-util-arm-unknown-linux-gnu/dns.o a - output/pjlib-util-arm-unknown-linux-gnu/dns_dump.o a - output/pjlib-util-arm-unknown-linux-gnu/dns_server.o a - output/pjlib-util-arm-unknown-linux-gnu/getopt.o a - output/pjlib-util-arm-unknown-linux-gnu/hmac_md5.o a - output/pjlib-util-arm-unknown-linux-gnu/hmac_sha1.o a - output/pjlib-util-arm-unknown-linux-gnu/http_client.o a - output/pjlib-util-arm-unknown-linux-gnu/md5.o a - output/pjlib-util-arm-unknown-linux-gnu/pcap.o a - output/pjlib-util-arm-unknown-linux-gnu/resolver.o a - output/pjlib-util-arm-unknown-linux-gnu/scanner.o a - output/pjlib-util-arm-unknown-linux-gnu/sha1.o a - output/pjlib-util-arm-unknown-linux-gnu/srv_resolver.o a - output/pjlib-util-arm-unknown-linux-gnu/string.o a - output/pjlib-util-arm-unknown-linux-gnu/stun_simple.o a - output/pjlib-util-arm-unknown-linux-gnu/stun_simple_client.o a - output/pjlib-util-arm-unknown-linux-gnu/xml.o arm-linux-ranlib ../lib/libpjlib-util-arm-unknown-linux-gnu.a make[2]: Leaving directory `/home/trojan/Desktop/pjproject-2.0-rc/pjlib-util/build' make[1]: Leaving directory `/home/trojan/Desktop/pjproject-2.0-rc/pjlib-util/build' make: *** [all] Error 1 ************************************************************* so any one can help me :)
Cross compiling PJSIP for ARM 6410
Hello, Its seems to be error with your toolchain which appears here incorrect or not valid. For that you should pass the correct toolchain name "--host=your toolchain name without gcc" to ./configure i.e "./configure --host=arm-linux-gnueabihf [other flags,libs and features if you want to add]" Here in this case my toolchain is arm-linux-gnueabihf. This will help you. If still have a problem then provide toolchain name and complete error logs. Regards Jaymin D