[maemo-developers] errors on running obexputter

From: liuyp liuyp9 at gmail.com
Date: Fri Jul 10 13:15:06 EEST 2009
Hi,

I am trying running the bluetooth application obexputter_0.1.1.tar.gz on my
maemo 4.1 based ubuntu 8.4.

After some fix in some files,  ./autogen and ./configure are working
fluently, but MAKE command result in some warning and can't get the
x-executable file.  Almost all the errors are  undefined reference to some
functions.

could you give me some help? Thank you.

Br, Liu

------------------------------------------------------errors
list.........................
[sbox-DIABLO_X86: ~/trunk] > make
Making all in src
make[1]: Entering directory `/home/sbox/trunk/src'
/bin/sh ../libtool --mode=link gcc  -g -O2   -o obexputter 
obexputter-obexputter.o obexputter-hci_scan.o obexputter-sdp_search.o
obexputter-obexput.o -lgconf-2 -ldbus-glib-1 -ldbus-1 -lgobject-2.0
-lglib-2.0   -lglib-2.0   -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo -lgobject-2.0
-lgmodule-2.0 -ldl -lglib-2.0   -lhildon-1 -lhildonfm -lgtk-x11-2.0
-lgdk-x11-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0
-lcairo -lgobject-2.0 -lgmodule-2.0 -ldl -lhildonhelp -lglib-2.0 -losso  
-losso -ldbus-glib-1 -ldbus-1 -lgobject-2.0 -lglib-2.0   -lgwobex -lglib-2.0
-lopenobex   -lopenobex   
gcc -g -O2 -o obexputter obexputter-obexputter.o obexputter-hci_scan.o
obexputter-sdp_search.o obexputter-obexput.o  /usr/lib/libgconf-2.so
-lhildon-1 -lhildonfm -lgtk-x11-2.0 -lgdk-x11-2.0 /usr/lib/libatk-1.0.so
-lgdk_pixbuf-2.0 -lm -lpangocairo-1.0 -lpango-1.0 -lcairo
/usr/lib/libgmodule-2.0.so -ldl -lhildonhelp -losso -ldbus-glib-1 -ldbus-1
/usr/lib/libgobject-2.0.so /usr/lib/libgwobex.so /usr/lib/libgthread-2.0.so
-lpthread -lrt /usr/lib/libglib-2.0.so /usr/lib/libopenobex.so

obexputter-hci_scan.o: In function
`hci_scan':/home/sbox/trunk/src/hci_scan.c:49: undefined reference to
`hci_inquiry'
:/home/sbox/trunk/src/hci_scan.c:53: undefined reference to `hci_open_dev'
:/home/sbox/trunk/src/hci_scan.c:68: undefined reference to `ba2str'
:/home/sbox/trunk/src/hci_scan.c:62: undefined reference to
`hci_read_remote_name'
obexputter-hci_scan.o: In function
`hci_scan_names':/home/sbox/trunk/src/hci_scan.c:95: undefined reference to
`hci_open_dev'
:/home/sbox/trunk/src/hci_scan.c:106: undefined reference to `str2ba'
:/home/sbox/trunk/src/hci_scan.c:107: undefined reference to
`hci_read_remote_name'
obexputter-sdp_search.o: In function
`get_obex_channel':/home/sbox/trunk/src/sdp_search.c:44: undefined reference
to `str2ba'
:/home/sbox/trunk/src/sdp_search.c:45: undefined reference to
`sdp_uuid16_create'
:/home/sbox/trunk/src/sdp_search.c:48: undefined reference to `sdp_connect'
:/home/sbox/trunk/src/sdp_search.c:49: undefined reference to `ba2str'
:/home/sbox/trunk/src/sdp_search.c:54: undefined reference to
`sdp_list_append'
:/home/sbox/trunk/src/sdp_search.c:55: undefined reference to
`sdp_list_append'
:/home/sbox/trunk/src/sdp_search.c:56: undefined reference to
`sdp_service_search_attr_req'
:/home/sbox/trunk/src/sdp_search.c:60: undefined reference to
`sdp_list_free'
:/home/sbox/trunk/src/sdp_search.c:61: undefined reference to
`sdp_list_free'
:/home/sbox/trunk/src/sdp_search.c:66: undefined reference to
`sdp_get_access_protos'
:/home/sbox/trunk/src/sdp_search.c:75: undefined reference to
`sdp_list_free'
:/home/sbox/trunk/src/sdp_search.c:80: undefined reference to
`sdp_record_free'
:/home/sbox/trunk/src/sdp_search.c:83: undefined reference to `sdp_close'
:/home/sbox/trunk/src/sdp_search.c:102: undefined reference to
`sdp_uuid2strn'
:/home/sbox/trunk/src/sdp_search.c:103: undefined reference to
`sdp_proto_uuid2strn'
:/home/sbox/trunk/src/sdp_search.c:104: undefined reference to
`sdp_uuid_to_proto'
:/home/sbox/trunk/src/sdp_search.c:57: undefined reference to `sdp_close'
obexputter-obexput.o: In function
`get_connected_sock':/home/sbox/trunk/src/obexput.c:53: undefined reference
to `str2ba'
collect2: ld returned 1 exit status
make[1]: *** [obexputter] Error 1
make[1]: Leaving directory `/home/sbox/trunk/src'
make: *** [all-recursive] Error 1

-- 
View this message in context: http://n2.nabble.com/errors--on-running-obexputter-tp3236271p3236271.html
Sent from the maemo-developers mailing list archive at Nabble.com.
More information about the maemo-developers mailing list