the patch works fine with 1.0_pre6, which i have installed and applies very well on its source. this is made because the 1.0_pre6 has changed some functions and many programs still call in the old functions. <br>the 1.0_pre5
also had something modified for suse (since knm was developed as a suse project) for what i've learned (but for this assertion maybe some other dev could help confirm that) and needs a patch for other distros.<br>the packages listed as deps on gentoo are:
<br><br>net-misc/networkmanager <--------------------- this is an obvious dep<br>>=kde-base/kdelibs-3.2 <---------------------- this also is obvious<br>|| ( >=dev-libs/dbus-qt3-old-0.70 ( =sys-apps/dbus-0.62-r1
) ) <------------ this is needed for dbus integration<br>sys-apps/hal <--------------- this is hal integration<br>net-misc/dhcdbd <---------------- needed by nmanager and libnl<br>xinerama? ( x11-libs/libXinerama ) arts? ( kde-base/arts ) <--------------- these 2 are needed for xinerama and arts enabled
<br>dev-libs/libnl <------------ this is the one that could give problems.<br><br>this are the files of libnl<br>/usr/include/netlink/addr.h<br>/usr/include/netlink/attr.h<br>/usr/include/netlink/cache.h<br>/usr/include/netlink/data.h
<br>/usr/include/netlink/fib_lookup/lookup.h<br>/usr/include/netlink/fib_lookup/request.h<br>/usr/include/netlink/handlers.h<br>/usr/include/netlink/list.h<br>/usr/include/netlink/msg.h<br>/usr/include/netlink/netlink-compat.h
<br>/usr/include/netlink/netlink-kernel.h<br>/usr/include/netlink/netlink.h<br>/usr/include/netlink/object.h<br>/usr/include/netlink/route/addr.h<br>/usr/include/netlink/route/class-modules.h<br>/usr/include/netlink/route/class.h
<br>/usr/include/netlink/route/classifier-modules.h<br>/usr/include/netlink/route/classifier.h<br>/usr/include/netlink/route/cls/police.h<br>/usr/include/netlink/route/cls/u32.h<br>/usr/include/netlink/route/link.h<br>/usr/include/netlink/route/neighbour.h
<br>/usr/include/netlink/route/neightbl.h<br>/usr/include/netlink/route/qdisc-modules.h<br>/usr/include/netlink/route/qdisc.h<br>/usr/include/netlink/route/route.h<br>/usr/include/netlink/route/rtnl.h<br>/usr/include/netlink/route/rule.h
<br>/usr/include/netlink/route/sch/cbq.h<br>/usr/include/netlink/route/sch/dsmark.h<br>/usr/include/netlink/route/sch/fifo.h<br>/usr/include/netlink/route/sch/htb.h<br>/usr/include/netlink/route/sch/netem.h<br>/usr/include/netlink/route/sch/prio.h
<br>/usr/include/netlink/route/sch/red.h<br>/usr/include/netlink/route/sch/sfq.h<br>/usr/include/netlink/route/sch/tbf.h<br>/usr/include/netlink/route/tc.h<br>/usr/include/netlink/rtnetlink-kernel.h<br>/usr/include/netlink/types.h
<br>/usr/include/netlink/utils.h<br>/usr/lib64/libnl.so<br>/usr/lib64/libnl.so.1<br>/usr/lib64/libnl.so.1.0-pre6<br>/usr/lib64/pkgconfig/libnl-1.pc<br>/usr/share/pkgconfig/libnl-1.pc<br><br>the file that would give you problem should be
types.h..... anyway try doing what i've said: download the libnl source, apply the patch that i've attached and compile and install it where it needs to be, then run make clean on the knm svn where you've run ./configure and then make. you might also have to run autoconf before ./configure.
<br><br><div><span class="gmail_quote">2007/11/21, Ryan Daly <<a href="mailto:daly@ctcnet.net">daly@ctcnet.net</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
It appears that an (or a number of) include(s) are incorrect for Fedora<br>7.<br><br>I looked through /usr/include for files that contained references to<br>'__32' and found a bunch:<br><br>/usr/include/alsa/sound/type_compat.h
<br>/usr/include/asm/types.h<br>/usr/include/blkid/blkid_types.h<br>/usr/include/ext2fs/ext2_types.h<br>/usr/include/ext2fs/ext2fs.h<br>/usr/include/linux/acct.h<br>/usr/include/linux/cciss_ioctl.h<br>/usr/include/linux/cyclades.h
<br>/usr/include/linux/elf.h<br>/usr/include/linux/ppp_defs.h<br>/usr/include/linux/reiserfs_fs.h<br>/usr/include/linux/types.h<br>/usr/include/linux/ufs_fs.h<br>/usr/include/sys/capability.h<br><br>I then looked for includes in the knetworkmanager source (svn revision
<br>739392) that I'm using. I found nothing is referencing any of the above<br>files. I have noticed that sys/types.h is being included, however<br>there's no reference to '__u32' in sys/types.h.<br><br>
There are references to '__u32' in linux/types.h. Is that the correct<br>one to use? If yes, where would the change need to be made?<br>--<br><br>_______________________________________________<br>kde-networkmanager mailing list
<br><a href="mailto:kde-networkmanager@kde.org">kde-networkmanager@kde.org</a><br><a href="https://mail.kde.org/mailman/listinfo/kde-networkmanager">https://mail.kde.org/mailman/listinfo/kde-networkmanager</a><br></blockquote>
</div><br><br clear="all"><br>-- <br>dott. ing. beso