Doesn't build under Linux 3.0?

Douglas Mencken dougmencken at gmail.com
Sat Jul 23 17:41:25 UTC 2011


I do confirm this bug on PowerPC side.

  CC      networking/slattach.o
  CC      networking/tcpudp.o
In file included from /usr/include/linux/sysctl.h:25:0,
                 from /usr/include/linux/netfilter.h:6,
                 from /usr/include/linux/netfilter_ipv4.h:8,
                 from networking/tcpudp.c:74:
/usr/include/linux/kernel.h:12:8: error: redefinition of 'struct sysinfo'
include/libbb.h:138:8: note: originally defined here
make[1]: *** [networking/tcpudp.o] Error 1
make: *** [networking] Error 2

make V=1:

rm -f .kernelrelease
echo 1.19.0-476-g0a42860 > .kernelrelease
/root/build-farm/busybox-v1.19.0-476-g0a42860.builddir/scripts/gen_build_files.sh
/root/build-farm/busybox-v1.19.0-476-g0a42860.builddir
/root/build-farm/busybox-v1.19.0-476-g0a42860.builddir
make -f scripts/Makefile.build obj=scripts/basic
mkdir -p .tmp_versions
rm -f .tmp_versions/*
make -f scripts/Makefile.build obj=applets
make -f scripts/Makefile.build obj=.
make -f scripts/Makefile.build obj=scripts
make -f scripts/Makefile.build obj=applets
make -f scripts/Makefile.build obj=archival
make -f scripts/Makefile.build obj=archival/libarchive
make -f scripts/Makefile.build obj=console-tools
make -f scripts/Makefile.build obj=coreutils
make -f scripts/Makefile.build obj=coreutils/libcoreutils
make -f scripts/Makefile.build obj=debianutils
make -f scripts/Makefile.build obj=e2fsprogs
make -f scripts/Makefile.build obj=editors
make -f scripts/Makefile.build obj=findutils
make -f scripts/Makefile.build obj=init
make -f scripts/Makefile.build obj=libbb
make -f scripts/Makefile.build obj=libpwdgrp
make -f scripts/Makefile.build obj=loginutils
make -f scripts/Makefile.build obj=mailutils
make -f scripts/Makefile.build obj=miscutils
make -f scripts/Makefile.build obj=modutils
make -f scripts/Makefile.build obj=networking
  gcc -Wp,-MD,networking/.tcpudp.o.d   -std=gnu99 -Iinclude -Ilibbb
-include include/autoconf.h -D_GNU_SOURCE -DNDEBUG -D_LARGEFILE_SOURCE
-D_LARGEFILE64_SOURCE -D_FILE_OFFSET_BITS=64
-D"BB_VER=KBUILD_STR(1.19.0-476-g0a42860)" -DBB_BT=AUTOCONF_TIMESTAMP
-Wall -Wshadow -Wwrite-strings -Wundef -Wstrict-prototypes -Wunused
-Wunused-parameter -Wunused-function -Wunused-value
-Wmissing-prototypes -Wmissing-declarations
-Wdeclaration-after-statement -Wold-style-definition
-fno-builtin-strlen -finline-limit=0 -fomit-frame-pointer
-ffunction-sections -fdata-sections -fno-guess-branch-probability
-funsigned-char -static-libgcc -falign-functions=1 -falign-jumps=1
-falign-labels=1 -falign-loops=1 -Os     -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(tcpudp)"
-D"KBUILD_MODNAME=KBUILD_STR(tcpudp)" -c -o networking/tcpudp.o
networking/tcpudp.c
In file included from /usr/include/linux/sysctl.h:25:0,
                 from /usr/include/linux/netfilter.h:6,
                 from /usr/include/linux/netfilter_ipv4.h:8,
                 from networking/tcpudp.c:74:
/usr/include/linux/kernel.h:12:8: error: redefinition of 'struct sysinfo'
include/libbb.h:138:8: note: originally defined here
make[1]: *** [networking/tcpudp.o] Error 1
make: *** [networking] Error 2

uname -a:

Linux localhost 3.0.0-libre-powerpc #1 SMP Sat Jul 23 08:51:54 UTC
2011 ppc GNU/Linux


More information about the busybox mailing list