The build failed on today's latest build: OE Build Configuration: BB_VERSION = "1.13.3" TARGET_ARCH = "i586" TARGET_OS = "linux" MACHINE = "qemux86" DISTRO = "poky" DISTRO_VERSION = "1.0+snapshot-20110815" TUNE_FEATURES = "m32 i586" TARGET_FPU = "" meta meta-yocto = "master:a21ff559e7c93e9da61104f4a33e42e6004189fd" | i586-poky-linux-gcc -m32 -march=i586 --sysroot=/distro/dcui/0816/p1/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. -O2 -pipe -g -feliminate-unused-debug-types -MT parser/sdp.o -MD -MP -MF $depbase. | mv -f $depbase.Tpo $depbase.Po | src/hcidump.c:54:24: error: redefinition of 'ntoh64' | /distro/dcui/0816/p1/build/tmp/sysroots/qemux86/usr/include/bluetooth/bluetooth.h:185:24: note: previous definition of 'ntoh64' was here | make[1]: *** [src/hcidump.o] Error 1 Looks the cause is: bluez4 was updated from 4.82 to 4.96 last night. I suppose the fix is: we should update bluez-hcidump to 2.1, too.
(In reply to comment #0) > The build failed on today's latest build: > > OE Build Configuration: > BB_VERSION = "1.13.3" > TARGET_ARCH = "i586" > TARGET_OS = "linux" > MACHINE = "qemux86" > DISTRO = "poky" > DISTRO_VERSION = "1.0+snapshot-20110815" > TUNE_FEATURES = "m32 i586" > TARGET_FPU = "" > meta > meta-yocto = "master:a21ff559e7c93e9da61104f4a33e42e6004189fd" > > > > | i586-poky-linux-gcc -m32 -march=i586 > --sysroot=/distro/dcui/0816/p1/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. > -O2 -pipe -g -feliminate-unused-debug-types -MT parser/sdp.o -MD -MP -MF > $depbase. > | mv -f $depbase.Tpo $depbase.Po > | src/hcidump.c:54:24: error: redefinition of 'ntoh64' > | > /distro/dcui/0816/p1/build/tmp/sysroots/qemux86/usr/include/bluetooth/bluetooth.h:185:24: > note: previous definition of 'ntoh64' was here > | make[1]: *** [src/hcidump.o] Error 1 > > > Looks the cause is: bluez4 was updated from 4.82 to 4.96 last night. > I suppose the fix is: we should update bluez-hcidump to 2.1, too. Upgrading it to 2.1 can fix the issue: In 2.1 the duplicated definition of ntoh64 was removed. And looks 2.1 and 2.0 have few differences in other aspects, so it should be ok for us to use 2.1. I'll send a patch out today.
(In reply to comment #1) > (In reply to comment #0) > > The build failed on today's latest build: > > > > OE Build Configuration: > > BB_VERSION = "1.13.3" > > TARGET_ARCH = "i586" > > TARGET_OS = "linux" > > MACHINE = "qemux86" > > DISTRO = "poky" > > DISTRO_VERSION = "1.0+snapshot-20110815" > > TUNE_FEATURES = "m32 i586" > > TARGET_FPU = "" > > meta > > meta-yocto = "master:a21ff559e7c93e9da61104f4a33e42e6004189fd" > > > > > > > > | i586-poky-linux-gcc -m32 -march=i586 > > --sysroot=/distro/dcui/0816/p1/build/tmp/sysroots/qemux86 -DHAVE_CONFIG_H -I. > > -O2 -pipe -g -feliminate-unused-debug-types -MT parser/sdp.o -MD -MP -MF > > $depbase. > > | mv -f $depbase.Tpo $depbase.Po > > | src/hcidump.c:54:24: error: redefinition of 'ntoh64' > > | > > /distro/dcui/0816/p1/build/tmp/sysroots/qemux86/usr/include/bluetooth/bluetooth.h:185:24: > > note: previous definition of 'ntoh64' was here > > | make[1]: *** [src/hcidump.o] Error 1 > > > > > > Looks the cause is: bluez4 was updated from 4.82 to 4.96 last night. > > I suppose the fix is: we should update bluez-hcidump to 2.1, too. > Upgrading it to 2.1 can fix the issue: > In 2.1 the duplicated definition of ntoh64 was removed. > > And looks 2.1 and 2.0 have few differences in other aspects, so it should be ok > for us to use 2.1. > > I'll send a patch out today. This is the patch http://git.yoctoproject.org/cgit/cgit.cgi/poky-contrib/commit/?h=dcui/master&id=cd0a5986954a21ae2544b050882ef6c768ae39fa
*** Bug 1373 has been marked as a duplicate of this bug. ***
Fixed by http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=ad96bb7f006409601631b7c8043164ec320f13a5