i am trying to cross compile libsoup 2.40.3 for use with gstreamer. using glib 2.34.0 and libxml2-2.6.30.
I would appreciate your help solving the compiling error...
sudo ./configure --host=${HOST} --build=${BUILD} CC=${ARMCC} CXX=${ARMCXX} --prefix=$(pwd)/install --enable-introspection=no --disable-glibtest -without-gnome PKG_CONFIG_PATH="$(pwd)/../glib-2.34.0/install/lib/pkgconfig:$(pwd)/../libxml2-2.8.0/install/lib/pkgconfig" CFLAGS="${OMAP3_FLAGS} -I$(pwd)/../glib-2.34.0/install/include/glib-2.0 -I$(pwd)/../glib-2.34.0/install/lib/glib-2.0/include -I$(pwd)/../libxml2-2.6.30/install/include " LDFLAGS="-L$(pwd)/../glib-2.34.0/install/lib -L$(pwd)/../libffi-3.0.11/install/lib -L$(pwd)/../zlib-1.2.7/install/lib -L$(pwd)/../libxml2-2.6.30/install/lib -lgio-2.0 -lglib-2.0 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lffi -lz -lxml2" LIBS="-lgio-2.0 -lglib-2.0 -lgmodule-2.0 -lgthread-2.0 -lgobject-2.0 -lffi -lz -lxml2"
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for arm-linux-strip... no
checking for strip... strip
configure: WARNING: using cross tools not prefixed with host triplet
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make sets $(MAKE)... (cached) yes
checking for arm-linux-gcc... /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... yes
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc accepts -g... yes
checking for /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... gcc3
checking build system type... i686-pc-linux-gnu
checking host system type... arm-unknown-linux-gnu
checking how to print strings... printf
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc... /opt/toolchain/arm-2010q1/arm-none-linux-gnueabi/bin/ld
checking if the linker (/opt/toolchain/arm-2010q1/arm-none-linux-gnueabi/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... no
checking for arm-linux-dumpbin... no
checking for arm-linux-link... no
checking for dumpbin... no
checking for link... link -dump
checking the name lister (nm) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... yes
checking how to convert i686-pc-linux-gnu file names to arm-unknown-linux-gnu format... func_convert_file_noop
checking how to convert i686-pc-linux-gnu file names to toolchain format... func_convert_file_noop
checking for /opt/toolchain/arm-2010q1/arm-none-linux-gnueabi/bin/ld option to reload object files... -r
checking for arm-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for arm-linux-dlltool... no
checking for dlltool... no
checking how to associate runtime and link libraries... printf %s\n
checking for arm-linux-ar... no
checking for ar... ar
checking for archiver @FILE support... @
checking for arm-linux-strip... strip
checking for arm-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse nm output from /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc object... ok
checking for sysroot... no
checking for arm-linux-mt... no
checking for mt... mt
checking if mt is a manifest tool... no
checking how to run the C preprocessor... /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -fno-rtti -fno-exceptions... no
checking for /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc option to produce PIC... -fPIC -DPIC
checking if /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc PIC flag -fPIC -DPIC works... yes
checking if /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc static flag -static works... no
checking if /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... yes
checking if /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc supports -c -o file.o... (cached) yes
checking whether the /opt/toolchain/arm-2010q1/bin/arm-none-linux-gnueabi-gcc linker (/opt/toolchain/arm-2010q1/arm-none-linux-gnueabi/bin/ld) supports shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... yes
checking for arm-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.16... yes
checking for GLIB - version >= 2.33.1... yes (version 2.34.0)
checking for XML... yes
checking for Win32... no
checking whether NLS is requested... yes
checking for intltool >= 0.35.0... 0.41.1 found
checking for intltool-update... /usr/local/bin/intltool-update
checking for intltool-merge... /usr/local/bin/intltool-merge
checking for intltool-extract... /usr/local/bin/intltool-extract
checking for xgettext... /usr/bin/xgettext
checking for msgmerge... /usr/bin/msgmerge
checking for msgfmt... /usr/bin/msgfmt
checking for gmsgfmt... /usr/bin/msgfmt
checking for perl... /usr/bin/perl
checking for perl >= 5.8.1... 5.14.2
checking for XML::Parser... ok
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking for LC_MESSAGES... yes
checking libintl.h usability... yes
checking libintl.h presence... yes
checking for libintl.h... yes
checking for ngettext in libc... yes
checking for dgettext in libc... yes
checking for bind_textdomain_codeset... yes
checking for msgfmt... (cached) /usr/bin/msgfmt
checking for dcgettext... yes
checking if msgfmt accepts -c... yes
checking for gmsgfmt... (cached) /usr/bin/msgfmt
checking for xgettext... (cached) /usr/bin/xgettext
checking for gmtime_r... yes
checking for mmap... yes
checking for socket... yes
checking whether to build libsoup-gnome... no
checking for gtkdoc-check... /usr/bin/gtkdoc-check
checking for gtkdoc-rebase... /usr/bin/gtkdoc-rebase
checking for gtkdoc-mkpdf... /usr/bin/gtkdoc-mkpdf
checking whether to build gtk-doc documentation... no
checking for gobject-introspection... no (disabled, use --enable-introspection to enable)
checking for glib-networking (glib TLS implementation)... unknown (cross-compiling)
configure: checking for programs needed for regression tests
checking for httpd2... no
checking for httpd... no
checking for apache2... no
checking for apache... no
checking for curl... /usr/bin/curl
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating libsoup-2.4.pc
config.status: creating libsoup-gnome-2.4.pc
config.status: creating Makefile
config.status: creating libsoup-zip
config.status: creating libsoup/Makefile
config.status: creating po/Makefile.in
config.status: creating po/Makefile
config.status: creating tests/Makefile
config.status: creating docs/Makefile
config.status: creating docs/reference/Makefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
config.status: executing default-1 commands
config.status: executing po/stamp-it commands
Some regression tests will not be run due to missing packages:
apache
make all-recursive
make[1]: Entering directory `/home/robin/gst/master/libsoup-2.40.3'
Making all in libsoup
make[2]: Entering directory `/home/robin/gst/master/libsoup-2.40.3/libsoup'
GEN soup-marshal.list
GEN soup-marshal.c
GEN soup-marshal.h
GEN soup-enum-types.c
GEN soup-enum-types.h
make all-am
make[3]: Entering directory `/home/robin/gst/master/libsoup-2.40.3/libsoup'
CC soup-address.lo
CC soup-auth.lo
CC soup-auth-basic.lo
CC soup-auth-digest.lo
CC soup-auth-ntlm.lo
CC soup-auth-domain.lo
CC soup-auth-domain-basic.lo
CC soup-auth-domain-digest.lo
CC soup-auth-manager.lo
CC soup-auth-manager-ntlm.lo
CC soup-body-input-stream.lo
CC soup-body-output-stream.lo
CC soup-cache.lo
CC soup-client-input-stream.lo
CC soup-connection.lo
CC soup-content-decoder.lo
CC soup-content-sniffer.lo
CC soup-content-sniffer-stream.lo
CC soup-converter-wrapper.lo
CC soup-cookie.lo
CC soup-cookie-jar.lo
CC soup-cookie-jar-text.lo
CC soup-date.lo
CC soup-directory-input-stream.lo
CC soup-enum-types.lo
CC soup-filter-input-stream.lo
CC soup-form.lo
CC soup-headers.lo
CC soup-io-stream.lo
CC soup-logger.lo
CC soup-marshal.lo
CC soup-message.lo
CC soup-message-body.lo
CC soup-message-client-io.lo
CC soup-message-headers.lo
CC soup-message-io.lo
CC soup-message-queue.lo
CC soup-message-server-io.lo
CC soup-method.lo
CC soup-misc.lo
CC soup-multipart.lo
CC soup-multipart-input-stream.lo
CC soup-password-manager.lo
CC soup-path-map.lo
CC soup-proxy-resolver.lo
CC soup-proxy-resolver-default.lo
CC soup-proxy-resolver-static.lo
CC soup-proxy-uri-resolver.lo
CC soup-request.lo
CC soup-request-data.lo
CC soup-request-file.lo
CC soup-request-http.lo
CC soup-requester.lo
CC soup-server.lo
CC soup-session.lo
CC soup-session-async.lo
CC soup-session-feature.lo
CC soup-session-sync.lo
CC soup-socket.lo
CC soup-status.lo
CC soup-tld.lo
CC soup-uri.lo
CC soup-value-utils.lo
soup-value-utils.c: In function 'soup_value_array_from_args':
soup-value-utils.c:278: warning: 'g_value_array_new' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:69)
soup-value-utils.c:281: warning: 'g_value_array_append' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:82)
soup-value-utils.c: In function 'soup_value_array_to_args':
soup-value-utils.c:309: warning: 'g_value_array_get_nth' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:65)
soup-value-utils.c: In function 'soup_value_array_new':
soup-value-utils.c:328: warning: 'g_value_array_new' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:69)
soup-value-utils.c: In function 'soup_value_array_append_valist':
soup-value-utils.c:342: warning: 'g_value_array_append' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:82)
soup-value-utils.c: In function 'soup_value_array_insert':
soup-value-utils.c:391: warning: 'g_value_array_insert' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:86)
soup-value-utils.c: In function 'soup_value_array_append':
soup-value-utils.c:413: warning: 'g_value_array_append' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:82)
soup-value-utils.c: In function 'soup_value_array_get_nth':
soup-value-utils.c:456: warning: 'g_value_array_get_nth' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:65)
CC soup-xmlrpc.lo
soup-xmlrpc.c: In function 'insert_value':
soup-xmlrpc.c:36: error: implicit declaration of function 'xmlNewChild'
soup-xmlrpc.c:36: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:49: error: implicit declaration of function 'xmlNewTextChild'
soup-xmlrpc.c:80: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:86: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:102: warning: 'g_value_array_get_type' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:62)
soup-xmlrpc.c:111: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:113: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c: In function 'soup_xmlrpc_build_method_call':
soup-xmlrpc.c:170: error: implicit declaration of function 'xmlDocSetRootElement'
soup-xmlrpc.c:174: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:177: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:184: error: implicit declaration of function 'xmlDocDumpMemory'
soup-xmlrpc.c: In function 'soup_xmlrpc_request_newv':
soup-xmlrpc.c:207: warning: 'g_value_array_free' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:72)
soup-xmlrpc.c: In function 'soup_xmlrpc_build_method_response':
soup-xmlrpc.c:278: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:279: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c: In function 'soup_xmlrpc_build_faultv':
soup-xmlrpc.c:311: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:312: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:313: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:317: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:325: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c: In function 'parse_value':
soup-xmlrpc.c:532: warning: 'g_value_array_new' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:69)
soup-xmlrpc.c:539: warning: 'g_value_array_free' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:72)
soup-xmlrpc.c:543: warning: 'g_value_array_append' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:82)
soup-xmlrpc.c:546: warning: 'g_value_array_get_type' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:62)
soup-xmlrpc.c: In function 'soup_xmlrpc_parse_method_call':
soup-xmlrpc.c:581: error: implicit declaration of function 'xmlParseMemory'
soup-xmlrpc.c:582: warning: assignment makes pointer from integer without a cast
soup-xmlrpc.c:609: warning: 'g_value_array_free' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:72)
soup-xmlrpc.c:612: warning: 'g_value_array_append' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:82)
soup-xmlrpc.c: In function 'soup_xmlrpc_extract_method_call':
soup-xmlrpc.c:672: warning: 'g_value_array_free' is deprecated (declared at /home/robin/gst/master/glib-2.34.0/install/include/glib-2.0/gobject/gvaluearray.h:72)
soup-xmlrpc.c: In function 'soup_xmlrpc_parse_method_response':
soup-xmlrpc.c:706: warning: assignment makes pointer from integer without a cast
make[3]: *** [soup-xmlrpc.lo] Error 1
make[3]: Leaving directory `/home/robin/gst/master/libsoup-2.40.3/libsoup'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/robin/gst/master/libsoup-2.40.3/libsoup'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/robin/gst/master/libsoup-2.40.3'
make: *** [all] Error 2
Daniel.