Today, I just performed an OpenWRT SVN update, i.e. svn up and scripts/feeds update. When I executed make, the compilation returned and error message saying FreeSwitch failed to compile:
make[3] -C feeds/packages/net/freeswitch compile
make -r world: build failed. Please re-run make with V=99 to see what's going on
make: *** [world] Error 1
Then I executed make package/feeds/packages/freeswitch/compile V=99 and the compilation spitted out the following error messages:
make[10]: Entering directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/src'
mipsel-openwrt-linux-uclibc-gcc -DHAVE_CONFIG_H -I. -I../include -I../include -I/opt/tmp/openwrt-svn-trunk-WGT634U/staging_dir/target-mipsel_uClibc-0.9.30.1/usr/include -I/opt/tmp/openwrt-svn-trunk-WGT634U/staging_dir/target-mipsel_uClibc-0.9.30.1/include -I/opt/tmp/openwrt-svn-trunk-WGT634U/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/usr/include -I/opt/tmp/openwrt-svn-trunk-WGT634U/staging_dir/toolchain-mipsel_gcc-4.3.3+cs_uClibc-0.9.30.1/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -Wall -I/usr/include -Os -pipe -mips32 -mtune=mips32 -funit-at-a-time -fhonour-copts -msoft-float -Wall -MT libiksemel_la-io-posix.lo -MD -MP -MF .deps/libiksemel_la-io-posix.Tpo -c io-posix.c -fPIC -DPIC -o libiksemel_la-io-posix.o
cc1: warning: include location "/usr/include" is unsafe for cross-compilation
io-posix.c:1: note: someone does not honour COPTS correctly, passed 2 times
io-posix.c: In function 'io_recv':
io-posix.c:116: error: can't find a register in class 'COP3_REGS' while reloading 'asm'
io-posix.c:116: error: 'asm' operand has impossible constraints
make[10]: *** [libiksemel_la-io-posix.lo] Error 1
make[10]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/src'
Making all in tools
make[10]: Entering directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/tools'
make[10]: *** No rule to make target `../src/libiksemel.la', needed by `ikslint'. Stop.
make[10]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/tools'
Making all in test
make[10]: Entering directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/test'
make[10]: *** No rule to make target `../src/libiksemel.la', needed by `tst-ikstack'. Stop.
make[10]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel/test'
Making all in doc
make[9]: *** [all-recursive] Error 1
make[9]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/libs/iksemel'
make[8]: *** [../../../../libs/iksemel/src/libiksemel.la] Error 2
make[8]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/src/mod/endpoints/mod_dingaling'
make[7]: *** [all] Error 1
make[7]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/src/mod/endpoints/mod_dingaling'
make[6]: *** [mod_dingaling-all] Error 1
make[6]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/src/mod'
make[5]: *** [all-recursive] Error 1
make[5]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/src'
Making all in build
make[5]: Entering directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/build'
+-------- FreeSWITCH Build Complete -----------+
+ FreeSWITCH has been successfully built. +
+ Install by running: +
+ +
+ make install +
+----------------------------------------------+
make[5]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/build'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4'
make[3]: *** [all] Error 2
make[3]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4'
make[2]: *** [/opt/tmp/openwrt-svn-trunk-WGT634U/build_dir/target-mipsel_uClibc-0.9.30.1/freeswitch-1.0.4/.built] Error 2
make[2]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U/feeds/packages/net/freeswitch'
make[1]: *** [package/feeds/packages/freeswitch/compile] Error 2
make[1]: Leaving directory `/opt/tmp/openwrt-svn-trunk-WGT634U'
make: *** [package/feeds/packages/freeswitch/compile] Error 2