* Build failure for bluez-hcidump
@ 2011-06-20 8:56 Bastien Nocera
2011-06-20 9:15 ` Johan Hedberg
0 siblings, 1 reply; 2+ messages in thread
From: Bastien Nocera @ 2011-06-20 8:56 UTC (permalink / raw)
To: BlueZ development
Heya,
bluez-hcidump 2.1 fails to build on Fedora 16:
src/hcidump.c: In function 'process_frames':
src/hcidump.c:313:5: warning: implicit declaration of function 'hton64' [-Wimplicit-function-declaration]
src/hcidump.c: In function 'read_dump':
src/hcidump.c:430:4: warning: implicit declaration of function 'ntoh64' [-Wimplicit-function-declaration]
CCLD src/hcidump
src/hcidump.o: In function `process_frames':
/builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:313: undefined reference to `hton64'
src/hcidump.o: In function `read_dump':
/builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:436: undefined reference to `ntoh64'
/builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:430: undefined reference to `ntoh64'
Both i686 and x86-64 fails to build with the same error.
http://koji.fedoraproject.org/koji/getfile?taskID=3143039&name=build.log
shows the full build log.
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: Build failure for bluez-hcidump
2011-06-20 8:56 Build failure for bluez-hcidump Bastien Nocera
@ 2011-06-20 9:15 ` Johan Hedberg
0 siblings, 0 replies; 2+ messages in thread
From: Johan Hedberg @ 2011-06-20 9:15 UTC (permalink / raw)
To: Bastien Nocera; +Cc: BlueZ development
Hi Bastien,
On Mon, Jun 20, 2011, Bastien Nocera wrote:
> bluez-hcidump 2.1 fails to build on Fedora 16:
>
> src/hcidump.c: In function 'process_frames':
> src/hcidump.c:313:5: warning: implicit declaration of function 'hton64' [-Wimplicit-function-declaration]
> src/hcidump.c: In function 'read_dump':
> src/hcidump.c:430:4: warning: implicit declaration of function 'ntoh64' [-Wimplicit-function-declaration]
> CCLD src/hcidump
> src/hcidump.o: In function `process_frames':
> /builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:313: undefined reference to `hton64'
> src/hcidump.o: In function `read_dump':
> /builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:436: undefined reference to `ntoh64'
> /builddir/build/BUILD/bluez-hcidump-2.1/src/hcidump.c:430: undefined reference to `ntoh64'
>
> Both i686 and x86-64 fails to build with the same error.
>
> http://koji.fedoraproject.org/koji/getfile?taskID=3143039&name=build.log
> shows the full build log.
Those functions have been part of bluetooth.h since bluez 4.90 (released
in March this year). Seems like hcidump is missing proper checks for
them.
Johan
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-06-20 9:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-20 8:56 Build failure for bluez-hcidump Bastien Nocera
2011-06-20 9:15 ` Johan Hedberg
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).