imq i ipmark
Przemysław Backiel
przemyslaw.backiel w backiel.com.pl
Śro, 16 Cze 2010, 14:45:32 CEST
Przemysław Backiel pisze:
> Witam,
>
> na jakim kernelu działa nam IMQ i ipmark - jednoczesnie :)
>
> testuje cos 2.6.28
> ale nie ma xt_IPMARK.ko.gz
>
> albo jak zbudowac takie 2.6.28 by był ipmark ?
>
buduje xtables-addons
ale robi się fikołek
+ patch -p1 -s
+ <
/root/rpm/packages/packages/xtables-addons/xtables-addons-geoip-dbpath.patch
+ echo Patch #2 (kernelrelease.patch):
Patch #2 (kernelrelease.patch):
+ patch -p1 -s
+ < /root/rpm/packages/packages/xtables-addons/kernelrelease.patch
+ /bin/sed -i -e s#build_ipset=m#build_ipset=n# mconfig
+ exit 0
Executing(%build): env -i
PATH=/bin:/usr/bin:/usr/sbin:/sbin:/usr/X11R6/bin HOME=/root
TMP=/home/users/przemek/tmp /bin/sh -e /tmp/rpm-tmp.96501
+ umask 022
+ cd /root/rpm/packages/BUILD
+ cd xtables-addons-1.18
+ libtoolize --copy --force --install
libtoolize: putting auxiliary files in `.'.
libtoolize: copying file `./config.guess'
libtoolize: copying file `./config.sub'
libtoolize: copying file `./install-sh'
libtoolize: copying file `./ltmain.sh'
libtoolize: putting macros in AC_CONFIG_MACRO_DIR, `m4'.
libtoolize: copying file `m4/libtool.m4'
libtoolize: copying file `m4/ltoptions.m4'
libtoolize: copying file `m4/ltsugar.m4'
libtoolize: copying file `m4/ltversion.m4'
libtoolize: copying file `m4/lt~obsolete.m4'
+ aclocal
+ autoconf
+ automake -a -c -f --foreign
+ ./configure LDFLAGS=-Wl,--as-needed -Wl,-z,relro -Wl,-z,combreloc
CFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4
-gdwarf-2 -g2 CXXFLAGS=-O2 -fno-strict-aliasing -fwrapv -march=i686
-mtune=pentium4 -gdwarf-2 -g2 FFLAGS=-O2 -fno-strict-aliasing -fwrapv
-march=i686 -mtune=pentium4 -gdwarf-2 -g2 FCFLAGS=-O2
-fno-strict-aliasing -fwrapv -march=i686 -mtune=pentium4 -gdwarf-2 -g2
CPPFLAGS=-D_FORTIFY_SOURCE=2 CC=i686-pld-linux-gcc
CXX=i686-pld-linux-g++ --host=i686-pld-linux --build=i686-pld-linux
--prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin
--sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include
--libdir=/usr/lib --libexecdir=/usr/lib --localstatedir=/var
--sharedstatedir=/var/lib --mandir=/usr/share/man
--infodir=/usr/share/info --x-libraries=/usr/lib
--with-kbuild=/usr/src/linux --with-ksource=/usr/src/linux
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... /bin/mkdir -p
checking for mawk... mawk
checking whether make sets $(MAKE)... yes
checking for i686-pld-linux-gcc... i686-pld-linux-gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether i686-pld-linux-gcc accepts -g... yes
checking for i686-pld-linux-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of i686-pld-linux-gcc... none
checking whether i686-pld-linux-gcc and cc understand -c and -o
together... yes
checking build system type... i686-pld-linux-gnu
checking host system type... i686-pld-linux-gnu
checking for a sed that does not truncate output... /bin/sed
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for fgrep... /bin/grep -F
checking for ld used by i686-pld-linux-gcc... /usr/bin/ld
checking if the linker (/usr/bin/ld) is GNU ld... yes
checking for BSD- or MS-compatible name lister (nm)... /usr/bin/nm -B
checking the name lister (/usr/bin/nm -B) interface... BSD nm
checking whether ln -s works... yes
checking the maximum length of command line arguments... 1572864
checking whether the shell understands some XSI constructs... yes
checking whether the shell understands "+="... no
checking for /usr/bin/ld option to reload object files... -r
checking for i686-pld-linux-objdump... no
checking for objdump... objdump
checking how to recognize dependent libraries... pass_all
checking for i686-pld-linux-ar... no
checking for ar... ar
checking for i686-pld-linux-strip... no
checking for strip... strip
checking for i686-pld-linux-ranlib... no
checking for ranlib... ranlib
checking command to parse /usr/bin/nm -B output from i686-pld-linux-gcc
object... ok
checking how to run the C preprocessor... i686-pld-linux-gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for dlfcn.h... yes
checking for objdir... .libs
checking if i686-pld-linux-gcc supports -fno-rtti -fno-exceptions... no
checking for i686-pld-linux-gcc option to produce PIC... -fPIC -DPIC
checking if i686-pld-linux-gcc PIC flag -fPIC -DPIC works... yes
checking if i686-pld-linux-gcc static flag -static works... no
checking if i686-pld-linux-gcc supports -c -o file.o... yes
checking if i686-pld-linux-gcc supports -c -o file.o... (cached) yes
checking whether the i686-pld-linux-gcc linker (/usr/bin/ld) supports
shared libraries... yes
checking whether -lc should be explicitly linked in... no
checking dynamic linker characteristics... GNU/Linux ld.so
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
checking for i686-pld-linux-pkg-config... no
checking for pkg-config... /usr/bin/pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for libxtables... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating extensions/GNUmakefile
config.status: creating extensions/ipset/GNUmakefile
config.status: creating config.h
config.status: executing depfiles commands
config.status: executing libtool commands
+ export XA_TOPSRCDIR=/root/rpm/packages/BUILD/xtables-addons-1.18
+ cd extensions
+ compile
+ typeset cfgs=
+ [ -r /usr/src/linux/config-dist ]
+ rm -rf o
+ install -d o/include/linux o/include/generated o/arch/powerpc/lib
+ ln -sf /usr/src/linux/config-dist o/.config
+ ln -sf /usr/src/linux/Module.symvers-dist o/Module.symvers
+ [ -f /usr/src/linux/include/generated/autoconf-dist.h ]
+ ln -sf /usr/src/linux/include/linux/autoconf-dist.h
o/include/linux/autoconf.h
+ set +x
+ /usr/bin/make -j1 -C /usr/src/linux prepare scripts
HOSTCC=i686-pld-linux-gcc SYSSRC=/usr/src/linux
SYSOUT=/root/rpm/packages/BUILD/xtables-addons-1.18/extensions/o
O=/root/rpm/packages/BUILD/xtables-addons-1.18/extensions/o
CC=i686-pld-linux-gcc
make: Entering directory `/usr/src/linux-2.6.28.10'
HOSTCC scripts/basic/fixdep
/usr/src/linux-2.6.28.10/scripts/basic/fixdep.c: In function 'traps':
/usr/src/linux-2.6.28.10/scripts/basic/fixdep.c:377:2: warning:
dereferencing type-punned pointer will break strict-aliasing rules
/usr/src/linux-2.6.28.10/scripts/basic/fixdep.c:379:4: warning:
dereferencing type-punned pointer will break strict-aliasing rules
HOSTCC scripts/basic/docproc
HOSTCC scripts/basic/hash
GEN
/root/rpm/packages/BUILD/xtables-addons-1.18/extensions/o/Makefile
HOSTCC scripts/kconfig/conf.o
HOSTCC scripts/kconfig/kxgettext.o
SHIPPED scripts/kconfig/zconf.tab.c
SHIPPED scripts/kconfig/lex.zconf.c
SHIPPED scripts/kconfig/zconf.hash.c
HOSTCC scripts/kconfig/zconf.tab.o
In file included from scripts/kconfig/zconf.tab.c:166:0:
scripts/kconfig/zconf.hash.c: In function 'kconf_id_lookup':
scripts/kconfig/zconf.hash.c:178:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:178:7: warning: (near initialization for
'wordlist[0].token')
scripts/kconfig/zconf.hash.c:178:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:178:7: warning: (near initialization for
'wordlist[1].token')
scripts/kconfig/zconf.hash.c:179:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:179:29: warning: (near initialization for
'wordlist[2].stype')
scripts/kconfig/zconf.hash.c:180:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:180:29: warning: (near initialization for
'wordlist[3].stype')
scripts/kconfig/zconf.hash.c:181:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:181:7: warning: (near initialization for
'wordlist[4].token')
scripts/kconfig/zconf.hash.c:182:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:182:29: warning: (near initialization for
'wordlist[5].stype')
scripts/kconfig/zconf.hash.c:183:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:183:29: warning: (near initialization for
'wordlist[6].stype')
scripts/kconfig/zconf.hash.c:184:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:184:29: warning: (near initialization for
'wordlist[7].stype')
scripts/kconfig/zconf.hash.c:185:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:185:29: warning: (near initialization for
'wordlist[8].stype')
scripts/kconfig/zconf.hash.c:186:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:186:29: warning: (near initialization for
'wordlist[9].stype')
scripts/kconfig/zconf.hash.c:187:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:187:29: warning: (near initialization for
'wordlist[10].stype')
scripts/kconfig/zconf.hash.c:188:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:188:29: warning: (near initialization for
'wordlist[11].stype')
scripts/kconfig/zconf.hash.c:191:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:191:29: warning: (near initialization for
'wordlist[14].stype')
scripts/kconfig/zconf.hash.c:193:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:193:29: warning: (near initialization for
'wordlist[16].stype')
scripts/kconfig/zconf.hash.c:196:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:196:29: warning: (near initialization for
'wordlist[19].stype')
scripts/kconfig/zconf.hash.c:197:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:197:7: warning: (near initialization for
'wordlist[20].token')
scripts/kconfig/zconf.hash.c:199:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:199:29: warning: (near initialization for
'wordlist[22].stype')
scripts/kconfig/zconf.hash.c:201:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:201:7: warning: (near initialization for
'wordlist[24].token')
scripts/kconfig/zconf.hash.c:201:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:201:7: warning: (near initialization for
'wordlist[25].token')
scripts/kconfig/zconf.hash.c:202:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:202:29: warning: (near initialization for
'wordlist[26].stype')
scripts/kconfig/zconf.hash.c:203:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:203:29: warning: (near initialization for
'wordlist[27].stype')
scripts/kconfig/zconf.hash.c:205:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:205:29: warning: (near initialization for
'wordlist[29].stype')
scripts/kconfig/zconf.hash.c:206:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:206:7: warning: (near initialization for
'wordlist[30].token')
scripts/kconfig/zconf.hash.c:207:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:207:29: warning: (near initialization for
'wordlist[31].stype')
scripts/kconfig/zconf.hash.c:208:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:208:29: warning: (near initialization for
'wordlist[32].stype')
scripts/kconfig/zconf.hash.c:210:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:210:7: warning: (near initialization for
'wordlist[34].token')
scripts/kconfig/zconf.hash.c:211:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:211:29: warning: (near initialization for
'wordlist[35].stype')
scripts/kconfig/zconf.hash.c:212:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:212:29: warning: (near initialization for
'wordlist[36].stype')
scripts/kconfig/zconf.hash.c:213:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:213:29: warning: (near initialization for
'wordlist[37].stype')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[38].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[39].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[40].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[41].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[42].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[43].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[44].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[45].token')
scripts/kconfig/zconf.hash.c:214:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:214:7: warning: (near initialization for
'wordlist[46].token')
scripts/kconfig/zconf.hash.c:215:7: warning: missing initializer
scripts/kconfig/zconf.hash.c:215:7: warning: (near initialization for
'wordlist[47].token')
scripts/kconfig/zconf.hash.c:216:29: warning: missing initializer
scripts/kconfig/zconf.hash.c:216:29: warning: (near initialization for
'wordlist[48].stype')
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86/Kconfig
*
* Restart config...
*
*
* Processor type and features
*
Tickless System (Dynamic Ticks) (NO_HZ) [Y/n/?] y
High Resolution Timer Support (HIGH_RES_TIMERS) [Y/n/?] y
Symmetric multi-processing support (SMP) [Y/n/?] y
Enable MPS table (X86_MPPARSE) [Y/n/?] y
Subarchitecture Type
> 1. PC-compatible (X86_PC)
2. Support for ScaleMP vSMP (X86_VSMP)
choice[1-2]: 1
Memtest (MEMTEST) [N/y/?] n
Processor family
1. Opteron/Athlon64/Hammer/K8 (MK8)
2. Intel P4 / older Netburst based Xeon (MPSC)
3. Core 2/newer Xeon (MCORE2)
> 4. Generic-x86-64 (GENERIC_CPU)
choice[1-4]: 4
IBM Calgary IOMMU support (CALGARY_IOMMU) [N/y/?] (NEW)
co zbatoniłem ?
brakuje mi kernel-net-xtables-addons
--
Z powazaniem
Przemyslaw Backiel
Więcej informacji o liście dyskusyjnej pld-users-pl