Bug 6754 - connman link error without 3g in DISTRO_FEATURES
Summary: connman link error without 3g in DISTRO_FEATURES
Status: RESOLVED INVALID
Alias: None
Product: OE-Core
Classification: Build System, Metadata & Runtime
Component: connectivity (show other bugs)
Version: unspecified
Hardware: x86 x86_64
: Medium normal
Target Milestone: 1.7 M4
Assignee: Alejandro Hernandez
QA Contact:
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2014-09-23 15:02 UTC by Thiago Marcos P. Santos
Modified: 2014-09-26 16:52 UTC (History)
3 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: No (bug/feature does not impact docs)


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.