All of lore.kernel.org
 help / color / mirror / Atom feed
* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
@ 2006-08-30  2:03 Li, Lea
  2006-08-30  9:40 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Li, Lea @ 2006-08-30  2:03 UTC (permalink / raw)
  To: BlueZ development, Alex B

[-- Attachment #1: Type: text/plain, Size: 1997 bytes --]

Hi Alex, 

You should add "DBUS_CFLAGS" & "DBUS_LIBS" options when you executing "./configure" from bluez-utils DIR. Of course, D-Bus should be cross-compiled successfully before bluez. 


Thanks,
Lea
 
-----Original Message-----
From: bluez-devel-bounces@lists.sourceforge.net [mailto:bluez-devel-bounces@lists.sourceforge.net] On Behalf Of Marcel Holtmann
Sent: 2006年8月30日 1:53
To: Alex B; BlueZ development
Subject: Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus

Hi Alex,

> 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

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel


[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-30  2:03 [Bluez-devel] problem with bluez-utils 3.4 and dbus Li, Lea
@ 2006-08-30  9:40 ` Marcel Holtmann
  2006-08-30 17:17   ` Brand, Chris
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2006-08-30  9:40 UTC (permalink / raw)
  To: BlueZ development

Hi Lea,

> You should add "DBUS_CFLAGS" & "DBUS_LIBS" options when you executing "./configure" from bluez-utils DIR. Of course, D-Bus should be cross-compiled successfully before bluez. 

I am not the expert when it comes to cross-compiling, but I think all
that you need are the pkg-config environment variables with the correct
values. Can someone please try that without doing some nasty hacks.

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-30  9:40 ` Marcel Holtmann
@ 2006-08-30 17:17   ` Brand, Chris
  0 siblings, 0 replies; 10+ messages in thread
From: Brand, Chris @ 2006-08-30 17:17 UTC (permalink / raw)
  To: BlueZ development

> I am not the expert when it comes to cross-compiling, but I 
> think all that you need are the pkg-config environment 
> variables with the correct values. Can someone please try 
> that without doing some nasty hacks.

I use
PKG_CONFIG_LIBDIR=<path to cross-compiled dbus-1.pc> ./configure <other
stuff>

Chris


-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-30  9:40 ` Marcel Holtmann
@ 2006-08-30 17:33   ` Brand, Chris
  0 siblings, 0 replies; 10+ messages in thread
From: Brand, Chris @ 2006-08-30 17:33 UTC (permalink / raw)
  To: BlueZ development

> please report this back to the D-Bus mailing list. They need 
> to know that they have problems in cross-compiling cases. 
> Otherwise this will never get fixed.

I've created dbus bug 8071 at freedesktop.org.
https://bugs.freedesktop.org/show_bug.cgi?id=8071

Chris 


-------------------------------------------------------------------------
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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-30  2:27 Li, Lea
@ 2006-08-30  9:40 ` Marcel Holtmann
  2006-08-30 17:33   ` Brand, Chris
  0 siblings, 1 reply; 10+ messages in thread
From: Marcel Holtmann @ 2006-08-30  9:40 UTC (permalink / raw)
  To: BlueZ development

Hi Lea,

> To cross compile D-Bus, I have to manually modify the "./configure" file to skip testing of some functions, such as getpwnam_r. :(

please report this back to the D-Bus mailing list. They need to know
that they have problems in cross-compiling cases. Otherwise this will
never get fixed.

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
@ 2006-08-30  2:27 Li, Lea
  2006-08-30  9:40 ` Marcel Holtmann
  0 siblings, 1 reply; 10+ messages in thread
From: Li, Lea @ 2006-08-30  2:27 UTC (permalink / raw)
  To: BlueZ development

[-- Attachment #1: Type: text/plain, Size: 1485 bytes --]

To cross compile D-Bus, I have to manually modify the "./configure" file to skip testing of some functions, such as getpwnam_r. :(

 
Thanks,
Lea
 

-----Original Message-----
From: bluez-devel-bounces@lists.sourceforge.net [mailto:bluez-devel-bounces@lists.sourceforge.net] On Behalf Of Marco Pracucci
Sent: 2006年8月30日 4:18
To: BlueZ development
Subject: Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus

Hi Alex,

> /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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel


[-- Attachment #2: Type: text/plain, Size: 373 bytes --]

-------------------------------------------------------------------------
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

[-- Attachment #3: Type: text/plain, Size: 164 bytes --]

_______________________________________________
Bluez-devel mailing list
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-29 20:18 ` Marco Pracucci
@ 2006-08-29 20:53   ` Marcel Holtmann
  0 siblings, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2006-08-29 20:53 UTC (permalink / raw)
  To: BlueZ development

Hi Marco,

> > /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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-29 15:38 Alex B
  2006-08-29 17:52 ` Marcel Holtmann
@ 2006-08-29 20:18 ` Marco Pracucci
  2006-08-29 20:53   ` Marcel Holtmann
  1 sibling, 1 reply; 10+ messages in thread
From: Marco Pracucci @ 2006-08-29 20:18 UTC (permalink / raw)
  To: BlueZ development

Hi Alex,

> /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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: [Bluez-devel] problem with bluez-utils 3.4 and dbus
  2006-08-29 15:38 Alex B
@ 2006-08-29 17:52 ` Marcel Holtmann
  2006-08-29 20:18 ` Marco Pracucci
  1 sibling, 0 replies; 10+ messages in thread
From: Marcel Holtmann @ 2006-08-29 17:52 UTC (permalink / raw)
  To: Alex B, BlueZ development

Hi Alex,

> 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

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

* [Bluez-devel] problem with bluez-utils 3.4 and dbus
@ 2006-08-29 15:38 Alex B
  2006-08-29 17:52 ` Marcel Holtmann
  2006-08-29 20:18 ` Marco Pracucci
  0 siblings, 2 replies; 10+ messages in thread
From: Alex B @ 2006-08-29 15:38 UTC (permalink / raw)
  To: Bluez-devel

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
Bluez-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-devel

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2006-08-30 17:33 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-08-30  2:03 [Bluez-devel] problem with bluez-utils 3.4 and dbus Li, Lea
2006-08-30  9:40 ` Marcel Holtmann
2006-08-30 17:17   ` Brand, Chris
  -- strict thread matches above, loose matches on Subject: below --
2006-08-30  2:27 Li, Lea
2006-08-30  9:40 ` Marcel Holtmann
2006-08-30 17:33   ` Brand, Chris
2006-08-29 15:38 Alex B
2006-08-29 17:52 ` Marcel Holtmann
2006-08-29 20:18 ` Marco Pracucci
2006-08-29 20:53   ` Marcel Holtmann

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.