abstract-sockets problem compiling dbus with arm-linux cross compiler

Fritz Code codefritz at googlemail.com
Wed May 14 23:57:58 PDT 2008


I've fixed this Problem by creating a config.cache and add the following
line in order to prevent doing the test on my host system:
ac_cv_have_abstract_sockets=no

Configure works now.
But a make fails with the following output:
It makes acutally no difference wether I use version 1.1.4 or the most
recent one 1.2.1

--fritz.

make[1]: Entering directory `/opt/devel/arm9/TFT_Bluetooth/Libs/dbus-1.1.4'
Making all in dbus
make[2]: Entering directory
`/opt/devel/arm9/TFT_Bluetooth/Libs/dbus-1.1.4/dbus'
make  all-am
make[3]: Entering directory
`/opt/devel/arm9/TFT_Bluetooth/Libs/dbus-1.1.4/dbus'
/bin/sh ../libtool --tag=CC   --mode=compile arm-linux-gcc -DHAVE_CONFIG_H
-I. -I.. -I.. -I..  -fPIC -DDBUS_COMPILATION
-DDBUS_MACHINE_UUID_FILE=\""/opt/devel/toolchains/arm9/arm-linux/var/lib/dbus/machine-id"\"
-DDBUS_SYSTEM_CONFIG_FILE=\""/opt/devel/toolchains/arm9/arm-linux/etc/dbus-1/system.conf"\"
-DDBUS_SESSION_CONFIG_FILE=\""/opt/devel/toolchains/arm9/arm-linux/etc/dbus-1/session.conf"\"
-g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare
-fno-common -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo
-c -o dbus-sysdeps-unix.lo dbus-sysdeps-unix.c
 arm-linux-gcc -DHAVE_CONFIG_H -I. -I.. -I.. -I.. -fPIC -DDBUS_COMPILATION
-DDBUS_MACHINE_UUID_FILE=\"/opt/devel/toolchains/arm9/arm-linux/var/lib/dbus/machine-id\"
-DDBUS_SYSTEM_CONFIG_FILE=\"/opt/devel/toolchains/arm9/arm-linux/etc/dbus-1/system.conf\"
-DDBUS_SESSION_CONFIG_FILE=\"/opt/devel/toolchains/arm9/arm-linux/etc/dbus-1/session.conf\"
-g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes
-Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare
-fno-common -MT dbus-sysdeps-unix.lo -MD -MP -MF .deps/dbus-sysdeps-unix.Tpo
-c dbus-sysdeps-unix.c  -fPIC -DPIC -o .libs/dbus-sysdeps-unix.o
dbus-sysdeps-unix.c: In function `_dbus_connect_tcp_socket':
dbus-sysdeps-unix.c:783: error: `AI_ADDRCONFIG' undeclared (first use in
this function)
dbus-sysdeps-unix.c:783: error: (Each undeclared identifier is reported only
once
dbus-sysdeps-unix.c:783: error: for each function it appears in.)
dbus-sysdeps-unix.c: In function `_dbus_listen_tcp_socket':
dbus-sysdeps-unix.c:886: error: `AI_ADDRCONFIG' undeclared (first use in
this function)
make[3]: *** [dbus-sysdeps-unix.lo] Fehler 1










On Thu, May 15, 2008 at 1:57 AM, Havoc Pennington <hp at pobox.com> wrote:

> Hi,
>
> Abstract sockets are a standard feature of Linux. I don't think your
> problem has anything to do with those, though. During a cross-compile,
> you can't run configure checks, since code can't be run on the target.
> You need to provide default answers for all the checks.
>
> That's my understanding anyway, I've never done cross-compilation.
>
> Havoc
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freedesktop.org/archives/dbus/attachments/20080515/ededfaa6/attachment.htm 


More information about the dbus mailing list