Skip to contentSkip to conversation

problem with bluez-utils 3.4 and dbus

Bluez-devel Alex B 3 participants 4 messages Aug 29, 2006 Bluetooth drivers

lore
Share & tools
lore

Alex B

author
#0 lore raw

I'm trying to croos compile bluez-utils for XScale.

when I write make
Install the error is:
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2 /../../../../arm-linux/bin/ld:
skipping incompatible
/opt/gnome/lib/libdbus-glib-1.so when searching
for -ldbus-glib-1 /usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm- linux/bin/ld:
cannot find -ldbus-glib-1
collect2: ld returned 1 exit
status

/opt/gnome/lib/libdbus-glib-1.so it's a simlink to /usr/lib/libdbus-glib-1.so

I read all old topics about this problem,
but I never found a solution.

the configure string is:
./configure --
host=arm-linux --prefix=/mydir --whit-bluez=/mydir

Can someone help
me???
tnx
Alex B

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#1 lore raw

Hi Alex,

Quoted 19 lines

I'm trying to croos compile bluez-utils for XScale.

when I write make
Install the error is:
/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2 /../../../../arm-linux/bin/ld:
skipping incompatible
/opt/gnome/lib/libdbus-glib-1.so when searching
for -ldbus-glib-1 /usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm- linux/bin/ld:
cannot find -ldbus-glib-1
collect2: ld returned 1 exit
status

/opt/gnome/lib/libdbus-glib-1.so it's a simlink to /usr/lib/libdbus-glib-1.so

Quoted 6 lines

I read all old topics about this problem,
but I never found a solution.

the configure string is:
./configure --
host=arm-linux --prefix=/mydir --whit-bluez=/mydir

I don't have a solution for this, because I don't do that much cross compiling by myself. However since we use pkg-config, it should be really easy to tell it which libraries to use.

Regards

Marcel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

#2 lore raw
In reply to Alex B

Hi Alex,

Quoted 5 lines

/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm- linux/bin/ld:
cannot find -ldbus-glib-1
collect2: ld returned 1 exit
status

Have you cross compiled dbus?
If you have cross compiled dbus you should add -L<dbus library path> to LDFLAG, where <dbus library path> is the path to the cross compiled dbus library.

Moreover, if you have cross compiled dbus, can you tell us how you have successfully run the configure script?

Regards,
Marco Pracucci

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel

maintainer
#3 lore raw

Hi Marco,

Quoted 10 lines
Quoted 5 lines

/usr/local/arm-linux/lib/gcc-lib/arm-linux/3.3.2/../../../../arm- linux/bin/ld:
cannot find -ldbus-glib-1
collect2: ld returned 1 exit
status

Have you cross compiled dbus?
If you have cross compiled dbus you should add -L<dbus library path> to LDFLAG, where <dbus library path> is the path to the cross compiled dbus library.

I would prefer if you actually trust pkg-config to configure this correctly. Messing around with the linker path can have weird side effects if you don't know exactly what you are doing.

Regards

Marcel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Bluez-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-devel