Bug 6754

Summary: connman link error without 3g in DISTRO_FEATURES
Product: [Build System, Metadata & Runtime] OE-Core Reporter: Thiago Marcos P. Santos <thiago.santos>
Component: connectivityAssignee: Alejandro Hernandez <alejandro.hernandez>
Status: RESOLVED INVALID QA Contact:
Severity: normal    
Priority: Medium CC: meta.mr.watcher, meta.watcher, sgw
Version: unspecified   
Target Milestone: 1.7 M4   
Hardware: x86   
OS: x86_64   
Whiteboard:
OS type for building Yocto: --- Type of Regression: ---
Verified: Documentation change: No (bug/feature does not impact docs)

Description Thiago Marcos P. Santos 2014-09-23 15:02:10 UTC

    
Comment 1 Thiago Marcos P. Santos 2014-09-23 15:03:33 UTC
I'm getting the following error when building connman without "3g" DISTRO_FEATURE present. In this case, I don't have "bluetooth" also, so it probably won't build without it too.

| src/src_connmand-plugin.o:(.rodata+0x60): undefined reference to `__connman_builtin_bluetooth_legacy'
| src/src_connmand-plugin.o:(.rodata+0x68): undefined reference to `__connman_builtin_bluetooth'
| src/src_connmand-plugin.o:(.rodata+0x70): undefined reference to `__connman_builtin_ofono'
Comment 2 Alejandro Hernandez 2014-09-25 21:12:28 UTC
Did you rebuild after changing the DISTRO_FEATURE variable?
Comment 3 Thiago Marcos P. Santos 2014-09-26 13:22:29 UTC
Do you mean a clean build?
Comment 4 Alejandro Hernandez 2014-09-26 16:25:33 UTC
I modified DISTRO_FEATURE and checked the configure log; the specified flags are set up correctly (no 3g and no bluetooth), and also after compilation checked the symbols of the object file you mentioned (plugin.o) and it is correct, neither bluetooth or ofono references are found.

Perhaps doing a:

bitbake -c cleanall connman 

and then rebuilding might help you out.
Comment 5 Thiago Marcos P. Santos 2014-09-26 16:52:37 UTC
It worked!

Thanks for helping me debug this one and sorry for the noise.