[BusyBox] Compile error in libnetlink.c
Steven Scholz
steven.scholz at imc-berlin.de
Tue Feb 4 09:52:03 UTC 2003
Hi there,
I just pull the recent CVS and tried to build busybox with httpd:
...
ppc_8xx-gcc -I./include -Wall -Wstrict-prototypes -Wshadow -Os
-fomit-frame-pointer -D_GNU_SOURCE -c -o networking/libiproute/libnetlink.o
networking/libiproute/libnetlink.c
networking/libiproute/libnetlink.c: In function `rtnl_dump_request':
networking/libiproute/libnetlink.c:103: elements of array `iov' have incomplete type
...
networking/libiproute/libnetlink.c:103: storage size of `iov' isn't known
...
make: *** [networking/libiproute/libnetlink.o] Error 1
The following "patch" fixes that for me:
--- networking/libiproute/libnetlink.c.orig Tue Feb 4 17:46:39 2003
+++ networking/libiproute/libnetlink.c Tue Feb 4 17:43:07 2003
@@ -21,6 +21,8 @@
#include "libnetlink.h"
#include "libbb.h"
+#include <sys/uio.h>
+
void rtnl_close(struct rtnl_handle *rth)
{
close(rth->fd);
(Am I doing something wrong? Or does anybody else see these problems?)
Thanks,
Steven
More information about the busybox
mailing list