Compiling BlueZ Thermometer Example

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello everybody,
I am trying to compile thermometer example in BlueZ, but getting some errors. Firstly, I configured and installed the bluez as explained in readme file. I used some configuration parameters like --enable-health --enable-thermometer. It gave me .o files for thermometer example, but no executable file.
When I tried to link these .o files myself, I got these errors:

/usr/lib/i386-linux-gnu/gcc/i686-linux-gnu/4.5.2/../../../crt1.o: In function `_start':
(.text+0x18): undefined reference to `main'
manager.o: In function `thermometer_manager_init':
manager.c:(.text+0x7c): undefined reference to `btd_register_device_driver'
manager.c:(.text+0x8b): undefined reference to `dbus_connection_ref'
manager.o: In function `thermometer_manager_exit':
manager.c:(.text+0xbc): undefined reference to `btd_unregister_device_driver'
manager.c:(.text+0xca): undefined reference to `dbus_connection_unref'
collect2: ld returned 1 exit status

Could you please help me to compile and run the thermometer example?

Best regards,
Alisan

--
Alişan YILMAZ

Software Engineer
Software Research, Development and Consultation (SRDC) Ltd.
ODTU Teknokent Silikon Blok Kat:1 No:14
Middle East Technical University Campus
06531 Ankara TURKEY

Email: alisan@xxxxxxxxxxx
Phone: +90 (312) 210 1763
Fax: +90 (312) 210 1837

--
To unsubscribe from this list: send the line "unsubscribe linux-bluetooth" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Bluez Devel]     [Linux Wireless Networking]     [Linux Wireless Personal Area Networking]     [Linux ATH6KL]     [Linux USB Devel]     [Linux Media Drivers]     [Linux Audio Users]     [Linux Kernel]     [Linux SCSI]     [Big List of Linux Books]

  Powered by Linux