something looks broken :(

Denys Vlasenko vda.linux at googlemail.com
Tue May 20 20:53:39 UTC 2008


On Tuesday 20 May 2008 21:59, Cristian Ionescu-Idbohrn wrote:
> # make clean
> # make defconfig
> # make
> 
>   CC      networking/tcpudp.o
> In file included from /usr/include/linux/netfilter_ipv4.h:8,
>                  from networking/tcpudp.c:34:
> /usr/include/linux/netfilter.h:40: error: expected
> specifier-qualifier-list before '__u32'
> 
> This patch seems to help a little:
> 
> Index: networking/tcpudp.c
> ===================================================================
> --- networking/tcpudp.c	(revision 22001)
> +++ networking/tcpudp.c	(working copy)
> @@ -31,6 +31,7 @@
> 
>  #include "libbb.h"
>  /* Wants <limits.h> etc, thus included after libbb.h: */
> +#include <linux/types.h>
>  #include <linux/netfilter_ipv4.h>

My copy of netfilter_ipv4.h does not have such line.
Can you show the line which fails and its heighborhood?

>  // TODO: move into this file:
> 
> and then this:
> 
> libpwdgrp/lib.a(pwd_grp.o): In function `bb_internal_initgroups':
> pwd_grp.c:(.text+0xa54): undefined reference to `setgroups'
> networking/lib.a(httpd.o): In function `httpd_main':
> httpd.c:(.text+0x3558): undefined reference to `setgroups'
> networking/lib.a(inetd.o): In function `inetd_main':
> inetd.c:(.text+0x1738): undefined reference to `setgroups'
> inetd.c:(.text+0x1eff): undefined reference to `setgroups'
> runit/lib.a(chpst.o): In function `suidgid':
> chpst.c:(.text+0x49): undefined reference to `setgroups'
> /usr/bin/ld: busybox_unstripped: hidden symbol `setgroups' isn't defined
> /usr/bin/ld: final link failed: Nonrepresentable section on output

Well, setgroups is a pretty standard libc routine.
Can you send your .config?
--
vda



More information about the busybox mailing list