Re: Using bluez-utils from another application

Marcel Holtmann <[email protected]>
Newsgroups gmane.linux.bluez.user
Message-ID <[email protected]>
Hi Johannes,

> thanks for your hint.
> 
> I've tried to compile some of the recent Versions of dbus again. But it always fails with:
> 
> if arm-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.. -I..  -I/usr/include -DDBUS_LOCALEDIR=\"/opt/devel/toolchains/arm9/arm-linux/share/locale\" -DDBUS_COMPILATION -DDBUS_DAEMONDIR=\"/opt/devel/toolchains/arm9/arm-linux/bin\" -DDBUS_MACHINE_UUID_FILE=\""/opt/devel/toolchains/arm9/arm-linux/var/lib/dbus/machine-id"\"    -g -O2 -Wall -Wchar-subscripts -Wmissing-declarations -Wmissing-prototypes -Wnested-externs -Wpointer-arith -Wcast-align -Wfloat-equal -Wsign-compare -fno-common -fPIC -MT dbus-launch.o -MD -MP -MF ".deps/dbus-launch.Tpo" -c -o dbus-launch.o dbus-launch.c; \
>         then mv -f ".deps/dbus-launch.Tpo" ".deps/dbus-launch.Po"; else rm -f ".deps/dbus-launch.Tpo"; exit 1; fi
> dbus-launch.c: In Funktion »kill_bus_when_session_ends«:
> dbus-launch.c:413: error: impossible constraint in `asm'
> dbus-launch.c:414: error: impossible constraint in `asm'
> dbus-launch.c:445: error: impossible constraint in `asm'
> dbus-launch.c:444: error: impossible constraint in `asm'
> dbus-launch.c:451: error: impossible constraint in `asm'
> dbus-launch.c:475: error: impossible constraint in `asm'
> 
> Anyway this is not your problem, but any help is welcome.
> Maybee my header files are too old since im using as cross compiler arm-linux-gcc 3.3.3.

mail it to the D-Bus mailing list. They should know how to fix this. If
you don't get a response within a week, mail them again. Sometimes these
guys are too busy to answer right away.

> Maybee I can compile an older version of dbus.
> However, which dbus version needs bluez-utils at least?

We require at least 1.0.x, but 1.2.x would be better.

Regards

Marcel



-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.