* [Bluez-users] build error on hcid
[not found] <mailman.195893.1186749978.21973.bluez-users@lists.sourceforge.net>
@ 2007-08-10 17:44 ` hong zhang
2007-08-11 17:54 ` Marcel Holtmann
0 siblings, 1 reply; 2+ messages in thread
From: hong zhang @ 2007-08-10 17:44 UTC (permalink / raw)
To: bluez-users
List,
When I compiled hcid for bluez-utils-3.11 and complain
missing functions. And I could not find where they are
defined. Is any link I missed?
make all-am
make[1]: Entering directory
`/root/Desktop/bluez/bluez-utils-3.11/hcid'
/bin/sh ../libtool --tag=CC --mode=link
arm_v6_vfp_le-gcc
-I/root/Desktop/bluez/bluez-libs-3.11/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
-D_FORTIFY_SOURCE=2 -o hcid main.o libhciserver.a
../sdpd/libsdpserver.a ../common/libhelper.a
../eglib/libeglib.la
/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib/libdbus-1.so
-L/root/Desktop/bluez/bluez-libs-3.11/lib -lbluetooth
-L/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib
arm_v6_vfp_le-gcc
-I/root/Desktop/bluez/bluez-libs-3.11/include
-I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
-DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
-D_FORTIFY_SOURCE=2 -o .libs/hcid main.o
/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib/libdbus-1.so
libhciserver.a ../sdpd/libsdpserver.a
../common/libhelper.a ../eglib/.libs/libeglib.a
-L/root/Desktop/bluez/bluez-libs-3.11/lib
/root/Desktop/bluez/bluez-libs-3.11/lib/libbluetooth.so
-L/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib
-Wl,--rpath
-Wl,/root/Desktop/bluez/bluez-libs-3.11/lib
libhciserver.a(dbus-manager.o)(.text+0x2f4): In
function `list_adapters':
dbus-manager.c: undefined reference to
`dbus_message_iter_init_append'
libhciserver.a(dbus-manager.o)(.text+0x308):dbus-manager.c:
undefined reference to
`dbus_message_iter_open_container'
libhciserver.a(dbus-manager.o)(.text+0x36c):dbus-manager.c:
undefined reference to
`dbus_message_iter_append_basic'
libhciserver.a(dbus-manager.o)(.text+0x384):dbus-manager.c:
undefined reference to
`dbus_message_iter_close_container'
libhciserver.a(dbus-manager.o)(.text+0x548): In
function `list_services':
dbus-manager.c: undefined reference to
`dbus_message_iter_init_append'
libhciserver.a(dbus-manager.o)(.text+0x55c):dbus-manager.c:
undefined reference to
`dbus_message_iter_open_container'
......
......
......
../common/libhelper.a(sdp-expat.o)(.text+0x5c8):sdp-expat.c:
undefined reference to `XML_GetCurrentLineNumber'
../common/libhelper.a(sdp-expat.o)(.text+0x5d4):sdp-expat.c:
undefined reference to `XML_GetErrorCode'
../common/libhelper.a(sdp-expat.o)(.text+0x5d8):sdp-expat.c:
undefined reference to `XML_ErrorString'
../common/libhelper.a(sdp-expat.o)(.text+0x62c):sdp-expat.c:
undefined reference to `XML_Parse'
collect2: ld returned 1 exit status
make[1]: *** [hcid] Error 1
make[1]: Leaving directory
`/root/Desktop/bluez/bluez-utils-3.11/hcid'
make: *** [all] Error 2
----henry
____________________________________________________________________________________Ready for the edge of your seat?
Check out tonight's top picks on Yahoo! TV.
http://tv.yahoo.com/
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] build error on hcid
2007-08-10 17:44 ` [Bluez-users] build error on hcid hong zhang
@ 2007-08-11 17:54 ` Marcel Holtmann
0 siblings, 0 replies; 2+ messages in thread
From: Marcel Holtmann @ 2007-08-11 17:54 UTC (permalink / raw)
To: BlueZ users
Hi,
> When I compiled hcid for bluez-utils-3.11 and complain
> missing functions. And I could not find where they are
> defined. Is any link I missed?
>
> make all-am
> make[1]: Entering directory
> `/root/Desktop/bluez/bluez-utils-3.11/hcid'
> /bin/sh ../libtool --tag=CC --mode=link
> arm_v6_vfp_le-gcc
> -I/root/Desktop/bluez/bluez-libs-3.11/include
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
> -D_FORTIFY_SOURCE=2 -o hcid main.o libhciserver.a
> ../sdpd/libsdpserver.a ../common/libhelper.a
> ../eglib/libeglib.la
> /opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib/libdbus-1.so
> -L/root/Desktop/bluez/bluez-libs-3.11/lib -lbluetooth
> -L/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib
> arm_v6_vfp_le-gcc
> -I/root/Desktop/bluez/bluez-libs-3.11/include
> -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I../eglib -Wall -O2
> -D_FORTIFY_SOURCE=2 -o .libs/hcid main.o
> /opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib/libdbus-1.so
> libhciserver.a ../sdpd/libsdpserver.a
> ../common/libhelper.a ../eglib/.libs/libeglib.a
> -L/root/Desktop/bluez/bluez-libs-3.11/lib
> /root/Desktop/bluez/bluez-libs-3.11/lib/libbluetooth.so
> -L/opt/montavista/mobilinux/devkit/arm/v6_vfp_le/target/usr/lib
> -Wl,--rpath
> -Wl,/root/Desktop/bluez/bluez-libs-3.11/lib
> libhciserver.a(dbus-manager.o)(.text+0x2f4): In
> function `list_adapters':
> dbus-manager.c: undefined reference to
> `dbus_message_iter_init_append'
> libhciserver.a(dbus-manager.o)(.text+0x308):dbus-manager.c:
> undefined reference to
> `dbus_message_iter_open_container'
> libhciserver.a(dbus-manager.o)(.text+0x36c):dbus-manager.c:
> undefined reference to
> `dbus_message_iter_append_basic'
> libhciserver.a(dbus-manager.o)(.text+0x384):dbus-manager.c:
> undefined reference to
> `dbus_message_iter_close_container'
> libhciserver.a(dbus-manager.o)(.text+0x548): In
> function `list_services':
> dbus-manager.c: undefined reference to
> `dbus_message_iter_init_append'
> libhciserver.a(dbus-manager.o)(.text+0x55c):dbus-manager.c:
> undefined reference to
> `dbus_message_iter_open_container'
this looks like you are trying to link against an old version of
libdbus. Make sure you use the latest. It has reached 1.x status and
that is basically the only one we support.
> ../common/libhelper.a(sdp-expat.o)(.text+0x5c8):sdp-expat.c:
> undefined reference to `XML_GetCurrentLineNumber'
> ../common/libhelper.a(sdp-expat.o)(.text+0x5d4):sdp-expat.c:
> undefined reference to `XML_GetErrorCode'
> ../common/libhelper.a(sdp-expat.o)(.text+0x5d8):sdp-expat.c:
> undefined reference to `XML_ErrorString'
> ../common/libhelper.a(sdp-expat.o)(.text+0x62c):sdp-expat.c:
> undefined reference to `XML_Parse'
> collect2: ld returned 1 exit status
> make[1]: *** [hcid] Error 1
> make[1]: Leaving directory
> `/root/Desktop/bluez/bluez-utils-3.11/hcid'
> make: *** [all] Error 2
You have to link against libexpat, but the configure script should
figure that out by itself and correct it. However if you don't wanna use
any of our XML functions for SDP, then you might get away with using
--disable-expat for this one. However when using --enable-glib and not
using the eglib that comes with it, you also don't need expat support.
Regards
Marcel
-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems? Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2007-08-11 17:54 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <mailman.195893.1186749978.21973.bluez-users@lists.sourceforge.net>
2007-08-10 17:44 ` [Bluez-users] build error on hcid hong zhang
2007-08-11 17:54 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox