udhcpd returns SO_BINDTODEVICE
Alexander Griesser
alexander.griesser at lkh-vil.or.at
Wed Dec 10 12:08:44 UTC 2008
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Denys Vlasenko wrote:
>> start 192.168.90.20
>> end 192.168.90.254
>> interface usb0
>> opt dns 10.10.10.10
>> option subnet 255.255.255.0
>> opt router 10.10.10.10
>> option domain local
>> option lease 86400
>
> Looks like a bug, does this help?
>
> http://busybox.net/downloads/fixes-1.13.1/busybox-1.13.1-bindtodevice.patch
Mine stopped building when I applied this patch:
During compilation, I get the following messages:
[...]
libbb/xconnect.c: In function 'setsockopt_bindtodevice':
libbb/xconnect.c:25: warning: implicit declaration of function
'strncpy_IFNAMSIZ'
[...]
networking/libiproute/ll_proto.c:24:2: warning: #warning de-bloat
[...]
And then when it tries to link the binary, I get this:
libbb/lib.a(xconnect.o): In function `setsockopt_bindtodevice':
xconnect.c:(.text.setsockopt_bindtodevice+0x11): undefined reference to
`strncpy_IFNAMSIZ'
collect2: ld returned 1 exit status
make: *** [busybox_unstripped] Error 1
Is that intended?
ciao,
- --
Alexander Griesser (Netzwerkadministration)
E-Mail: alexander.griesser at lkh-vil.or.at | Web: http://www.lkh-vil.or.at
KABEG LKH Villach | Nikolaigasse 43 | 9500 Villach
Tel.: +43 4242 208 3061 | Fax.: +43 4242 208 971 3061
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkk/sUwACgkQ66HVD6KUm1r21gCfQu135hf6YSQliwYrIC4RNLQO
+YgAnRBhcscJvZe+RVHnty4/s4G6lszO
=sIxO
-----END PGP SIGNATURE-----
More information about the busybox
mailing list