iproute2 warnings

Robert Connolly robert at linuxfromscratch.org
Tue Jan 18 10:34:59 PST 2005


Hello. I don't know about the rest of you, but I really dislike the dozens of 
warnings from iproute2. These...:

In file included from ../include/linux/netlink.h:4,
                 from ../include/libnetlink.h:5,
                 from ll_map.c:22:
/usr/include/linux/socket.h:1:2: warning: #warning "You should include 
<sys/socket.h>. This time I will do it for you."

The following sed command is all that's needed to fix it.

sed -e 's at linux/socket.h at sys/socket.h@' -i include/linux/netlink.h

I emailed the iproute2 maintainers about this too.

Robert



More information about the lfs-dev mailing list