[PATCH] udhcp[cd]: add -P switch for assigning server/client port

Cristian Ionescu-Idbohrn cristian.ionescu-idbohrn at axis.com
Wed Feb 6 15:22:38 UTC 2008


On Wed, 6 Feb 2008, Steven Shiau wrote:

> I can successfully compile this svn ver 20945 on Debian etch and Ubuntu
> 7.10.

Yes, later vintage distribution.

> However, it failed in Redhat 9 (gcc-3.2.2-5, kernel 2.4.33.4-6):

Isn't that an older/unsupported/patched in incompatible ways dist? Oh,
well, never mind that.  If you want to find out what's going wrong, and
are prepared to dig some, you might probably have to look _not_ there:

> - ---------------
> networking/udhcp/clientsocket.c:66: storage size of `filter_instr' isn't
> known
> networking/udhcp/clientsocket.c:85: initializer element is not constant
> networking/udhcp/clientsocket.c:85: (near initialization for
> `filter_prog.filter')
> networking/udhcp/clientsocket.c:66: warning: unused variable `filter_instr'
> make[1]: *** [networking/udhcp/clientsocket.o] Error 1
> make: *** [networking/udhcp] Error 2
> - ---------------

but here, first:

> In file included from networking/udhcp/clientsocket.c:33:
> /usr/include/linux/filter.h:21: parse error before "__u16"
> /usr/include/linux/filter.h:23: parse error before "jf"
> /usr/include/linux/filter.h:24: parse error before "k"

I guess.


Cheers,

-- 
Cristian



More information about the busybox mailing list