From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Mon, 20 Jun 2011 12:15:08 +0300 From: Johan Hedberg To: Bastien Nocera Cc: BlueZ development Subject: Re: Build failure for bluez-hcidump Message-ID: <20110620091508.GA7447@dell.ger.corp.intel.com> References: <1308560171.6042.3.camel@novo.hadess.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <1308560171.6042.3.camel@novo.hadess.net> Sender: linux-bluetooth-owner@vger.kernel.org List-ID: 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