On 07.04.2012 12:39, Michael Tokarev wrote:
[]
> There's no need to.  The thing is: current busybox udhcpc
> does not compile on FreeBSD at all.  Right now the applet
> is marked as linux-only, and here's what you get if you
> try to compile it on kFreeBSD:
> 
>   CC      networking/udhcp/arpping.o
> networking/udhcp/arpping.c: In function ‘arpping’:
> networking/udhcp/arpping.c:51:13: error: ‘PF_PACKET’ undeclared (first use in 
> this function)
> networking/udhcp/arpping.c:51:13: note: each undeclared identifier is 
> reported only once for each function it appears in
> networking/udhcp/arpping.c:51:24: error: ‘SOCK_PACKET’ undeclared (first use 
> in this function)
> make[1]: *** [networking/udhcp/arpping.o] Error 1
> make: *** [networking/udhcp] Error 2

And after disabling ARPING feature, it fails
down the line, due to a few linux-specific
#include's in dhcpc.c, and after removing
these, due to raw_socket usage etc.  So it
needs quite some more work to be not
linux-only... :(

/mjt



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to