Compiling version 0.2 on Fedora 7

Beso givemesugarr at gmail.com
Tue Nov 20 23:44:29 CET 2007


have you patched libnl?! it needs a patch to make it work with knm. this
patch is added by default in gentoo.
i've added them (the second is needed for 64bits packaging) to the
attachments, but you'll have to download and compile libnl by hand. but
first you'll need to see where fedora wants it added (ubuntu wants it in
/usr/local/lib while gentoo in /usr/lib) and be sure to have the compiled
version added where it needs to be.
then retry compiling knm.

2007/11/20, Ryan Daly <daly at ctcnet.net>:
>
> On Tue, 2007-11-20 at 09:46 +0100, Beso wrote:
> > i think that this is a libnl problem. there should be around the libnl
> > pre6 and a patch for that to make this work.
> > if you cannot compile it for you and send a tar.gz since it would not
> > take a lot and since portage car generate quickpkgs. i did the same
> > thing for a friend of mine who had the same problem with kubuntu.
>
> I found 0.11.pre6 of libnl:
>
> : riddler 135#; rpm -qa libnl\*
> libnl-devel-1.0-0.11.pre6
> libnl-1.0-0.11.pre6
>
> I re-ran the configure, and am now getting more errors than I was before:
>
> make[3]: Entering directory `/var/tmp/kdenetwork/knetworkmanager/src'
> /bin/sh ../../libtool --silent --tag=CXX   --mode=compile g++
> -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include
> -DDBUS_API_SUBJECT_TO_CHANGE -I/usr/include/hal -I/usr/include/dbus-1.0-I/usr/lib/dbus-
> 1.0/include      -I/opt/kde/v3.5.7/include -I.  -I/usr/include/dbus-1.0-I/usr/lib/dbus-
> 1.0/include  -DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef
> -ansi -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wchar-subscripts -Wall
> -W -Wpointer-arith -O2 -Wformat-security -Wmissing-format-attribute
> -Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common
> -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT
> -DQT_NO_TRANSLATION -UQT_NO_ASCII_CAST -MT knetworkmanager-devicestore.lo-MD -MP -MF .deps/knetworkmanager-
> devicestore.Tpo -c -o knetworkmanager-devicestore.lo
> knetworkmanager-devicestore.cpp
>
> /usr/include/netlink/netlink-kernel.h:222: error: '__u32' does not name a
> type
> /usr/include/netlink/netlink-kernel.h:232: error: '__u16' does not name a
> type
> /usr/include/netlink/netlink-kernel.h:235: error: '__u16' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:281: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:282: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:283: error: '__s32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:284: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:285: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:288: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:289: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:290: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:342: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:346: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:347: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:351: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:352: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:353: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:356: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:403: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:404: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:405: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:406: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:431: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:432: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:433: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:477: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:478: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:479: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:480: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:498: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:499: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:500: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:501: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:502: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:503: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:504: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:505: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:506: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:507: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:533: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:534: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:535: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:540: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:541: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:542: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:543: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:544: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:545: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:546: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:547: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:548: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:622: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:623: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:629: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:630: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:631: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:632: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:633: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:634: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:635: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:636: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:637: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:638: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:641: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:642: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:643: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:644: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:645: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:646: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:649: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:650: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:651: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:652: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:653: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:656: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:657: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:663: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:664: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:665: error: '__u64' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:666: error: '__u16' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:667: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:668: error: '__u8' does not name a
> type
> /usr/include/netlink/rtnetlink-kernel.h:751: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:752: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:753: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:754: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:767: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:768: error: '__u32' does not name
> a type
> /usr/include/netlink/rtnetlink-kernel.h:769: error: '__u32' does not name
> a type
> make[3]: *** [knetworkmanager-devicestore.lo] Error 1
> make[3]: Leaving directory `/var/tmp/kdenetwork/knetworkmanager/src'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/var/tmp/kdenetwork/knetworkmanager'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/var/tmp/kdenetwork'
> make: *** [all] Error 2
>
>
>
> _______________________________________________
> kde-networkmanager mailing list
> kde-networkmanager at kde.org
> https://mail.kde.org/mailman/listinfo/kde-networkmanager
>



-- 
dott. ing. beso
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.kde.org/pipermail/kde-networkmanager/attachments/20071120/fdd9daaf/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnl-1.0_pre5-include.diff
Type: application/octet-stream
Size: 363 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-networkmanager/attachments/20071120/fdd9daaf/attachment-0002.obj 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: libnl-1.0_pre5-__u64_x86_64.patch
Type: application/octet-stream
Size: 435 bytes
Desc: not available
Url : http://mail.kde.org/pipermail/kde-networkmanager/attachments/20071120/fdd9daaf/attachment-0003.obj 


More information about the kde-networkmanager mailing list