[Freeswitch-users] libcurl fails cross compilation on latest git

curriegrad2004 curriegrad2004 at gmail.com
Thu May 12 22:40:25 MSD 2011


reported this to JIRA yet?

On Thu, May 12, 2011 at 11:30 AM, mazilo <Nabble at slickdeals.endjunk.com> wrote:
> I just did a fresh untar with a git pull this morning to
> dc2208e3fe0ec8bdd0eeb63e1db1111f6ac8f982 revision and now FS cross
> compilation crashes on compiling libs/curl as shown below:
>
> OpenWrt-quiet_libtool: compile:  arm-openwrt-linux-uclibcgnueabi-gcc
> -DHAVE_CONFIG_H -I. -I./src/include -I./libs/xmlrpc-c
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/libteletone/src
> -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I.
> -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -DLINUX=2 -D_REENTRANT -D_GNU_SOURCE
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/apr/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/apr-util/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/apr-util/xml/expat/lib
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/stfu
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/sqlite
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/pcre
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/speex/include
> -Ilibs/speex/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/srtp/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/srtp/crypto/include
> -Ilibs/srtp/crypto/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/spandsp/src
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/tiff-3.8.2/libtiff
> -DCORE_USE_CURL -DENABLE_SRTP -DSWITCH_HAVE_ODBC
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/libedit/src
> -DSWITCH_HAVE_LIBEDIT
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/libteletone/src
> -fPIC -Werror -fvisibility=hidden -DSWITCH_API_VISIBILITY=1
> -DHAVE_VISIBILITY=1 -g -ggdb -Wall -std=c99 -pedantic
> -Wdeclaration-after-statement -I. -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -Os -pipe -march=armv5te -mtune=xscale -fno-caller-saves -fhonour-copts
> -msoft-float -DLUA_USE_LINUX -fpic -std=gnu99 -Wno-format -MT
> libfreeswitch_la-bit_operations.lo -MD -MP -MF
> .deps/libfreeswitch_la-bit_operations.Tpo -c
> libs/spandsp/src/bit_operations.c -o libfreeswitch_la-bit_operations.o
>>/dev/null 2>&1
> OpenWrt-quiet_libtool: compile:  arm-openwrt-linux-uclibcgnueabi-g++
> -DHAVE_CONFIG_H -I. -I./src/include -I./libs/xmlrpc-c
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/libteletone/src
> -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I.
> -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -I. -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -DLUA_USE_LINUX -fpic -Wno-format -MT switch_cpp.lo -MD -MP -MF
> .deps/switch_cpp.Tpo -c src/switch_cpp.cpp  -fPIC -DPIC -o
> .libs/switch_cpp.o
> OpenWrt-quiet_libtool: compile:  arm-openwrt-linux-uclibcgnueabi-g++
> -DHAVE_CONFIG_H -I. -I./src/include -I./libs/xmlrpc-c
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/src/include
> -I/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/libteletone/src
> -fPIC -fvisibility=hidden -DSWITCH_API_VISIBILITY=1 -DHAVE_VISIBILITY=1 -I.
> -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -I. -I./lua
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/target-arm_v5te_uClibc-0.9.32_eabi/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/usr/include
> -I/opt/openwrt-svn-trunk/staging_dir/toolchain-arm_v5te_gcc-linaro_uClibc-0.9.32_eabi/include
> -DLUA_USE_LINUX -fpic -Wno-format -MT switch_cpp.lo -MD -MP -MF
> .deps/switch_cpp.Tpo -c src/switch_cpp.cpp -o switch_cpp.o >/dev/null 2>&1
> OpenWrt-quiet_libtool: link: cannot find the library
> `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/curl/lib/libcurl.la'
> or unhandled argument
> `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/libs/curl/lib/libcurl.la'
> make[4]: *** [libfreeswitch.la] Error 1
> make[4]: Leaving directory
> `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git'
> make[3]: *** [all] Error 2
> make[3]: Leaving directory
> `/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git'
> make[2]: ***
> [/opt/openwrt-svn-trunk/build_dir/target-arm_v5te_uClibc-0.9.32_eabi/freeswitch_git/.built]
> Error 2
> make[2]: Leaving directory `/opt/OpenWRT/feeds/packages/net/freeswitch_git'
> make[1]: *** [package/feeds/local/freeswitch_git/compile] Error 2
> make[1]: Leaving directory `/opt/openwrt-svn-trunk'
> make: *** [package/freeswitch_git/compile] Error 2
>
>
> -----
> FreeSWITCH hosted on a Seagate DockStar with OpenWRT.
> --
> View this message in context: http://freeswitch-users.2379917.n2.nabble.com/libcurl-fails-cross-compilation-on-latest-git-tp6356793p6356793.html
> Sent from the freeswitch-users mailing list archive at Nabble.com.
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>



More information about the FreeSWITCH-users mailing list