| Summary: | bluez-hcidump-2.0-r0: do_compile: Failed: redefinition of ntoh64 | ||
|---|---|---|---|
| Product: | [Build System, Metadata & Runtime] OE-Core | Reporter: | Dexuan Cui <dexuan.cui> |
| Component: | connectivity | Assignee: | Dexuan Cui <dexuan.cui> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Medium | CC: | dongxiao.xu, meta.mr.watcher, meta.watcher, sgw, tong.lin |
| Version: | unspecified | ||
| Target Milestone: | 1.1 | ||
| Hardware: | x86 | ||
| OS: | Multiple | ||
| Whiteboard: | |||
| OS type for building Yocto: | --- | Type of Regression: | --- |
| Verified: | Documentation change: | --- | |
|
Description
Dexuan Cui
2011-08-15 19:01:49 UTC
(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. *** |