Building Astersik 13.2.0 with OpenWrt Barrier Breaker 14.07

Hey everyone,
I am trying to build an image with Asterisk-13 selected from OpenWrts package manager, menuconfig. am running into this error while building…Note Asterisk-11 builds fine:

configure: loading site script /home/Documents/barrier_breaker/include/site/mips-openwrt-linux-uclibc
checking build system type... x86_64-unknown-linux-gnu
checking host system type... x86_64-unknown-linux-gnu
checking for gcc... gcc
checking whether the C compiler works... no
configure: error: in `/home/Documents/barrier_breaker/build_dir/target-mips_34kc_uClibc-0.9.33.2/asterisk-13.2.0/menuselect':
configure: error: C compiler cannot create executables
See `config.log' for more details
Makefile:268: recipe for target '/home/Documents/barrier_breaker/build_dir/target-mips_34kc_uClibc-0.9.33.2/asterisk-13.2.0/.configured_' failed
make[3]: *** [/home/Documents/barrier_breaker/build_dir/target-mips_34kc_uClibc-0.9.33.2/asterisk-13.2.0/.configured_] Error 77
make[3]: Leaving directory '/home/Documents/barrier_breaker/feeds/telephony/net/asterisk-13.x'
package/Makefile:173: recipe for target 'package/feeds/telephony/asterisk-13.x/compile' failed

So, gcc compiler is not working for some reason, could I be missing some header files in linux? Any tips would help!
Thanks!

As you are building it using their build system it’s entirely possible that something isn’t quite right there, or that Asterisk hasn’t been given the proper arguments to allow it to build under it.

1 Like

Thanks for the reply, do you have any experience with OpenWrt, I can’t find where to change the compiler arguments.

Nope, I have no experience in that ecosystem.

1 Like