After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 698452 - Build fails with libnl < 3.2.8 due to nl_object_get_type()
Build fails with libnl < 3.2.8 due to nl_object_get_type()
Status: RESOLVED FIXED
Product: NetworkManager
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: Pavel Simerda
NetworkManager maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2013-04-20 14:19 UTC by Emanuele Aina
Modified: 2013-05-03 23:48 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
build: Require libnl >= 3.2.8 for nl_object_get_type() (906 bytes, patch)
2013-04-20 14:19 UTC, Emanuele Aina
none Details | Review

Description Emanuele Aina 2013-04-20 14:19:35 UTC
nm-linux-platform.c uses nl_object_get_type() which was introduced only after
libnl 3.27, the attached patch bumps up the requirement.

make[5]: Entering directory `/home/em/dev/dleyna/src/NetworkManager/src/platform/tests'
CCLD   dump
nm-linux-platform.c:137: error: undefined reference to 'nl_object_get_type'
nm-linux-platform.c:139: error: undefined reference to 'nl_object_get_type'
nm-linux-platform.c:148: error: undefined reference to 'nl_object_get_type'
nm-linux-platform.c:213: error: undefined reference to 'nl_object_get_type'
collect2: error: ld returned 1 exit status
make[5]: *** [dump] Error 1
Comment 1 Emanuele Aina 2013-04-20 14:19:38 UTC
Created attachment 242002 [details] [review]
build: Require libnl >= 3.2.8 for nl_object_get_type()
Comment 2 Dan Williams 2013-04-22 20:04:19 UTC
Yeah, we should probably do this.
Comment 3 Pavel Simerda 2013-05-03 23:48:40 UTC
Pushed, thanks.