Compiling version 0.2 on Fedora 7

Beso givemesugarr at gmail.com
Wed Nov 21 09:53:56 CET 2007


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.
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.
the packages listed as deps on gentoo are:

net-misc/networkmanager <--------------------- this is an obvious dep
>=kde-base/kdelibs-3.2 <---------------------- this also is obvious
|| ( >=dev-libs/dbus-qt3-old-0.70 ( =sys-apps/dbus-0.62-r1 ) ) <------------
this is needed for dbus integration
sys-apps/hal <--------------- this is hal integration
net-misc/dhcdbd <---------------- needed by nmanager and libnl
xinerama? ( x11-libs/libXinerama ) arts? ( kde-base/arts ) <---------------
these 2 are needed for xinerama and arts enabled
dev-libs/libnl <------------ this is the one that could give problems.

this are the files of libnl
/usr/include/netlink/addr.h
/usr/include/netlink/attr.h
/usr/include/netlink/cache.h
/usr/include/netlink/data.h
/usr/include/netlink/fib_lookup/lookup.h
/usr/include/netlink/fib_lookup/request.h
/usr/include/netlink/handlers.h
/usr/include/netlink/list.h
/usr/include/netlink/msg.h
/usr/include/netlink/netlink-compat.h
/usr/include/netlink/netlink-kernel.h
/usr/include/netlink/netlink.h
/usr/include/netlink/object.h
/usr/include/netlink/route/addr.h
/usr/include/netlink/route/class-modules.h
/usr/include/netlink/route/class.h
/usr/include/netlink/route/classifier-modules.h
/usr/include/netlink/route/classifier.h
/usr/include/netlink/route/cls/police.h
/usr/include/netlink/route/cls/u32.h
/usr/include/netlink/route/link.h
/usr/include/netlink/route/neighbour.h
/usr/include/netlink/route/neightbl.h
/usr/include/netlink/route/qdisc-modules.h
/usr/include/netlink/route/qdisc.h
/usr/include/netlink/route/route.h
/usr/include/netlink/route/rtnl.h
/usr/include/netlink/route/rule.h
/usr/include/netlink/route/sch/cbq.h
/usr/include/netlink/route/sch/dsmark.h
/usr/include/netlink/route/sch/fifo.h
/usr/include/netlink/route/sch/htb.h
/usr/include/netlink/route/sch/netem.h
/usr/include/netlink/route/sch/prio.h
/usr/include/netlink/route/sch/red.h
/usr/include/netlink/route/sch/sfq.h
/usr/include/netlink/route/sch/tbf.h
/usr/include/netlink/route/tc.h
/usr/include/netlink/rtnetlink-kernel.h
/usr/include/netlink/types.h
/usr/include/netlink/utils.h
/usr/lib64/libnl.so
/usr/lib64/libnl.so.1
/usr/lib64/libnl.so.1.0-pre6
/usr/lib64/pkgconfig/libnl-1.pc
/usr/share/pkgconfig/libnl-1.pc

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.

2007/11/21, Ryan Daly <daly at ctcnet.net>:
>
> It appears that an (or a number of) include(s) are incorrect for Fedora
> 7.
>
> I looked through /usr/include for files that contained references to
> '__32' and found a bunch:
>
> /usr/include/alsa/sound/type_compat.h
> /usr/include/asm/types.h
> /usr/include/blkid/blkid_types.h
> /usr/include/ext2fs/ext2_types.h
> /usr/include/ext2fs/ext2fs.h
> /usr/include/linux/acct.h
> /usr/include/linux/cciss_ioctl.h
> /usr/include/linux/cyclades.h
> /usr/include/linux/elf.h
> /usr/include/linux/ppp_defs.h
> /usr/include/linux/reiserfs_fs.h
> /usr/include/linux/types.h
> /usr/include/linux/ufs_fs.h
> /usr/include/sys/capability.h
>
> I then looked for includes in the knetworkmanager source (svn revision
> 739392) that I'm using.  I found nothing is referencing any of the above
> files.  I have noticed that sys/types.h is being included, however
> there's no reference to '__u32' in sys/types.h.
>
> There are references to '__u32' in linux/types.h.  Is that the correct
> one to use?  If yes, where would the change need to be made?
> --
>
> _______________________________________________
> 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/20071121/f1a9c207/attachment.html 


More information about the kde-networkmanager mailing list