Red Hat Bugzilla – Bug 235909
libnl headers have error on i386
Last modified: 2007-11-30 17:12:01 EST
Description of problem:
Trying to build knetworkmanager update for Fedora and build fails as the
headers are incorrect
/usr/include/netlink/rtnetlink-kernel.h:498: error: '__u64' does not name a
build was fine on x86_64 so it seems to be some 32bit issue
Version-Release number of selected component (if applicable):
Steps to Reproduce:
build to succeed
This strikes me as more of a knetworkmanager issue. knetworkmanager should not
include rtnetlink-kernel.h directly, but rather netlink.h, which includes
linux/types.h -> asm/types.h, where __u64 is definately defined. It may be
that knetworkmanager is defining __STRICT_ANSI__ during its build, which would
cause its lack of definition, but I don't think kde utils define that nominally.
Likewise, if you were using a compiler other than gcc, __GNUC__ wouldn't be
defined, and you wouldn't get __u64 defined. Either way, figure out which of
those macros is or isn't defined properly, fix that up, and your problem should
ping. Any update?
sorry forgot about this bug. I fixed it. i had to pass an additional switch
to knetworkmanager which fixed it.
Thanks for the reminder.