Andreas Henriksson <[EMAIL PROTECTED]> writes: > On ons, 2008-06-04 at 10:26 +0200, Warly wrote: >> Hello, >> >> This is not a big deal I can recreate a local version of iproute-dev >> with these headers, just to let you know that maybe other people may >> have the problem too. > > If they are supposed to be used by external programs, then we should > definitely fix the iproute-dev package to include them (again). I was > mainly looking at what the Red Hat (libnetlink-devel) package was > shipping, and assumed all the other headers where for internal use only. > > Maybe there are other packages shipping the headers which you should be > using? Any chance you could share your code with us so we can have a > look?
I tried to narrow down the code to the function which is the most linked to iproute You can find it at http://www.splitted-desktop.com/~warly/test/iproute/ If you download the tar, you can just run make to build the sample. You will see that the code is partly a duplication from iproute code, and this is the reason why the header are needed. But likely there must be a cleaner way to do that. This function is giving you your local IP used to go to a given ip, you can run the test with test-ip <remove_ip> Regards, -- Warly -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]