From: "Alişan YILMAZ" <alisan@srdc.com.tr>
To: linux-bluetooth@vger.kernel.org
Subject: Compiling BlueZ Thermometer Example
Date: Thu, 27 Oct 2011 10:45:36 +0300 [thread overview]
Message-ID: <4EA90C20.4080009@srdc.com.tr> (raw)
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@srdc.com.tr
Phone: +90 (312) 210 1763
Fax: +90 (312) 210 1837
next reply other threads:[~2011-10-27 7:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-10-27 7:45 Alişan YILMAZ [this message]
2011-10-27 9:30 ` Compiling BlueZ Thermometer Example Santiago Carot
2011-10-27 11:27 ` Alişan YILMAZ
2011-10-27 16:01 ` Santiago Carot
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=4EA90C20.4080009@srdc.com.tr \
--to=alisan@srdc.com.tr \
--cc=linux-bluetooth@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox