compile:~/src/util-vserver-0.30.207# ./configure checking for a BSD-compatible install... /usr/bin/install -c checking whether build environment is sane... yes checking for gawk... gawk checking whether make sets $(MAKE)... yes checking whether to enable maintainer-specific portions of Makefiles... no checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking for g++... g++ checking for C++ compiler default output file name... a.out checking whether the C++ compiler works... yes checking whether we are cross compiling... no checking for suffix of executables... checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking for style of include used by make... GNU checking dependency style of g++... gcc checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ANSI C... none needed checking dependency style of gcc... gcc checking for a BSD-compatible install... /usr/bin/install -c checking whether ln -s works... yes checking whether gcc and cc understand -c and -o together... yes checking whether g++ is a C++ compiler... no configure: WARNING: *** some programs will not be built because a C++ compiler is lacking checking whether gcc is a C99 compiler... no configure: WARNING: *** some programs will not be built because system is lacking a C99 compiler checking for awk... /usr/bin/awk checking for cat... /bin/cat checking for chown... /bin/chown checking for cmp... /usr/bin/cmp checking for cp... /bin/cp checking for dirname... /usr/bin/dirname checking for egrep... /bin/egrep checking for env... /usr/bin/env checking for grep... /bin/grep checking for ln... /bin/ln checking for mkdir... /bin/mkdir checking for mkfifo... /usr/bin/mkfifo checking for mktemp... /bin/mktemp checking for mount... /bin/mount checking for mv... /bin/mv checking for nice... /usr/bin/nice checking for ps... /bin/ps checking for rm... /bin/rm checking for rmdir... /bin/rmdir checking for sed... /bin/sed checking for sh... /bin/sh checking for tac... /usr/bin/tac checking for tar... /bin/tar checking for touch... /usr/bin/touch checking for tty... /usr/bin/tty checking for umount... /bin/umount checking for wc... /usr/bin/wc checking for ip... /sbin/ip checking for iptables... /sbin/iptables checking for modprobe... /sbin/modprobe checking for nameif... /sbin/nameif checking for rmmod... /sbin/rmmod checking for vconfig... /sbin/vconfig checking for wget... /usr/bin/wget checking for doxygen... /usr/bin/doxygen checking for xsltp... no checking for xsltproc... /usr/bin/xsltproc checking whether the C-compiler accepts -Werror -W... yes checking whether gcc accepts -std=c99... no checking whether gcc accepts -Wall... yes checking whether gcc accepts -pedantic... yes checking whether gcc accepts -W... yes checking whether the C++-compiler accepts -Werror -W... yes checking whether g++ accepts -ansi... yes checking whether g++ accepts -Wall... yes checking whether g++ accepts -pedantic... yes checking whether g++ accepts -W... yes checking whether g++ accepts -fmessage-length=0... no checking whether syscall() allows -fpic... no checking whether to enable extra optimizations... yes checking whether gcc accepts -funit-at-a-time... no checking whether g++ accepts -funit-at-a-time... no checking whether to enable debug-code in library... no checking whether to enable expensive tests... yes checking for initrddir... $(sysconfdir)/init.d checking whether to enable release-mode... no checking whether to enable dietlibc... yes (autodetected, 0.29) checking whether dietlibc supports C99... skipped (compiler does not support C99) checking whether to use alternative _syscallX macros... yes checking whether dietlibc needs '-lcompat'... no checking for a sed that does not truncate output... /bin/sed checking for egrep... grep -E checking for ld used by gcc... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking for /usr/bin/ld option to reload object files... -r checking for BSD-compatible nm... /usr/bin/nm -B checking how to recognise dependent libraries... pass_all checking how to run the C preprocessor... 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 dlfcn.h usability... yes checking dlfcn.h presence... yes checking for dlfcn.h... yes checking how to run the C++ preprocessor... g++ -E checking for g77... no checking for f77... no checking for xlf... no checking for frt... no checking for pgf77... no checking for fort77... no checking for fl32... no checking for af77... no checking for f90... no checking for xlf90... no checking for pgf90... no checking for epcf90... no checking for f95... no checking for fort... no checking for xlf95... no checking for ifc... no checking for efc... no checking for pgf95... no checking for lf95... no checking for gfortran... no checking whether we are using the GNU Fortran 77 compiler... no checking whether accepts -g... no checking the maximum length of command line arguments... 32768 checking command to parse /usr/bin/nm -B output from gcc object... ok checking for objdir... .libs checking for ar... ar checking for ranlib... ranlib checking for strip... strip checking if gcc static flag works... yes checking if gcc supports -fno-rtti -fno-exceptions... yes checking for gcc option to produce PIC... -fPIC checking if gcc PIC flag -fPIC works... yes checking if gcc supports -c -o file.o... yes checking whether the 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 configure: creating libtool appending configuration tag "CXX" to libtool checking for ld used by g++... /usr/bin/ld checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking for g++ option to produce PIC... -fPIC checking if g++ PIC flag -fPIC works... yes checking if g++ supports -c -o file.o... yes checking whether the g++ linker (/usr/bin/ld) supports shared libraries... yes checking dynamic linker characteristics... GNU/Linux ld.so checking how to hardcode library paths into programs... immediate checking whether stripping libraries is possible... yes appending configuration tag "F77" to libtool checking for linux kernel dir... /lib/modules/2.6.11.6-smp-vs.1.9.5/build checking for linux kernel headers... /lib/modules/2.6.11.6-smp-vs.1.9.5/build/include checking which vserver-rootdir is to use... /vservers checking for cvs2cl... cvs2cl checking for rcs2log... rcs2log checking whether to use internal kernel headers... yes checking for supported APIs... compat,v11,v13,fscompat,net,oldproc,olduts checking for number of syscall 'vserver'... ./configure: kernel: command not found 273/default checking for syscall(2) invocation method... auto checking which syscall(2) invocation works... fast checking for ext2fs-headers... e2fsprogs checking ext2fs/ext2_fs.h usability... yes checking ext2fs/ext2_fs.h presence... yes checking for ext2fs/ext2_fs.h... yes checking for vserver... no checking whether MS_MOVE is declared... yes checking for xid_t... no checking for nid_t... no checking sys/capability.h usability... yes checking sys/capability.h presence... yes checking for sys/capability.h... yes configure: creating ./config.status config.status: creating util-vserver.spec config.status: creating Makefile config.status: creating distrib/Makefile config.status: creating lib/apidoc/Doxyfile config.status: creating config.h config.status: config.h is unchanged config.status: executing depfiles commands configure: util-vserver 0.30.207 Features: CC: gcc, 2.95.4 CXX: g++, 2.95.4 CPPFLAGS: '' CFLAGS: '-g -O2 -Wall -pedantic -W' CXXFLAGS: '-g -O2 -ansi -Wall -pedantic -W' build/host: i686-pc-linux-gnu/i686-pc-linux-gnu Use dietlibc: yes Build C++ programs: no (affected: vbuild, vcheck) Build C99 programs: no (affected: vunify, vcopy, vhashify, vdlimit) Available APIs: compat,v11,v13,fscompat,net,oldproc,olduts ext2fs Source: e2fsprogs syscall(2) invocation: alternative vserver(2) syscall#: 273/default Paths: prefix: /usr/local sysconf-Directory: ${prefix}/etc cfg-Directory: ${prefix}/etc/vservers initrd-Directory: $(sysconfdir)/init.d pkgstate-Directory: ${prefix}/var/run/vservers Kernelheaders: /lib/modules/2.6.11.6-smp-vs.1.9.5/build/include vserver-Rootdir: /vservers compile:~/src/util-vserver-0.30.207# make /bin/sed -e '...' pathconfig.h.pathsubst >pathconfig.h Making clean in distrib Making clean in . rm -f lib/testsuite/cflags lib/testsuite/cflags rm -f lib/testsuite/personality lib/testsuite/personality rm -f lib/testsuite/fmt lib/testsuite/fmt rm -f lib/testsuite/parselimit lib/testsuite/parselimit rm -f src/testsuite/rpm-fake-test src/testsuite/rpm-fake-test rm -f src/testsuite/vunify-functest src/testsuite/vunify-functest rm -f src/testsuite/chcontext-test src/testsuite/chcontext-test rm -f src/testsuite/chbind-test src/testsuite/chbind-test rm -f ensc_vector/testsuite/test1 ensc_vector/testsuite/test1 rm -f ensc_vector/testsuite/test2 ensc_vector/testsuite/test2 rm -f lib_internal/testsuite/command lib_internal/testsuite/command rm -f src/ifspec src/ifspec rm -f src/listdevip src/listdevip rm -f src/parserpmdump src/parserpmdump rm -f src/rebootmgr src/rebootmgr rm -f src/showperm src/showperm rm -f src/vreboot src/vreboot rm -f "lib/so_locations" rm -f tests/escaperoot tests/escaperoot rm -f tests/forkbomb tests/forkbomb rm -f tests/testipc tests/testipc rm -f tests/testlimit tests/testlimit rm -f tests/testopenf tests/testopenf rm -f tests/getctx tests/getctx rm -f tests/getinitpid tests/getinitpid rm -f tests/vserver-info tests/vserver-info rm -f "src/so_locations" rm -f src/capchroot src/capchroot rm -f src/chain-echo src/chain-echo rm -f src/chcontext-compat src/chcontext-compat rm -f src/check-unixfile src/check-unixfile rm -f src/chroot-cat src/chroot-cat rm -f src/chroot-rm src/chroot-rm rm -f src/fakerunlevel src/fakerunlevel rm -f src/filetime src/filetime rm -f src/keep-ctx-alive src/keep-ctx-alive rm -f src/lockfile src/lockfile rm -f src/readlink src/readlink rm -f src/save_ctxinfo src/save_ctxinfo rm -f src/secure-mount src/secure-mount rm -f src/mask2prefix src/mask2prefix rm -f src/exec-ulimit src/exec-ulimit rm -f src/rpm-fake-resolver src/rpm-fake-resolver rm -f src/vshelper-sync src/vshelper-sync rm -f src/sigexec src/sigexec rm -f src/chbind src/chbind rm -f src/exec-cd src/exec-cd rm -f src/lsxid src/lsxid rm -f src/chxid src/chxid rm -f src/vps src/vps rm -f src/showattr src/showattr rm -f src/setattr src/setattr rm -f src/reducecap src/reducecap rm -f src/vdu src/vdu rm -f src/vattribute src/vattribute rm -f src/vcontext src/vcontext rm -f src/vlimit src/vlimit rm -f src/vkill src/vkill rm -f src/vnamespace src/vnamespace rm -f src/vrsetup src/vrsetup rm -f src/vsched src/vsched rm -f src/vserver-stat src/vserver-stat rm -f src/vserver-info src/vserver-info rm -f src/vuname src/vuname /bin/sed -e '...' pathconfig.h.pathsubst >pathconfig.h make all-recursive make[1]: Entering directory `/root/src/util-vserver-0.30.207' Making all in . make[2]: Entering directory `/root/src/util-vserver-0.30.207' source='lib/syscall.c' object='lib/lib_libvserver_a-syscall.o' libtool=no \ DEPDIR=.deps depmode=gcc /bin/sh ./depcomp \ diet -Os gcc -DHAVE_CONFIG_H -I. -I. -I. -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG -g -O2 -Wall -pedantic -W -c -o lib/lib_libvserver_a-syscall.o `test -f 'lib/syscall.c' || echo './'`lib/syscall.c In file included from lib/syscall-wrap.h:35, from lib/vserver-internal.h:33, from lib/syscall.c:33: lib/syscall-alternative.h:710: warning: `__syscall_return' redefined /usr/include/asm/unistd.h:255: warning: this is the location of the previous definition cc1: Invalid option `-falign-functions=1' cc1: Invalid option `-falign-jumps=1' cc1: Invalid option `-falign-loops=1' In file included from lib/syscall.c:24: lib/vserver.h:376: parse error before `vc_parseLimit' lib/vserver.h:376: warning: type defaults to `int' in declaration of `vc_parseLimit' lib/vserver.h:376: ANSI C forbids data definition with no type or storage class lib/vserver.h:489: parse error before `vc_is_dynamic_xid' lib/vserver.h:489: warning: type defaults to `int' in declaration of `vc_is_dynamic_xid' lib/vserver.h:489: ANSI C forbids data definition with no type or storage class lib/vserver.h:630: warning: ANSI does not permit the keyword `inline' lib/vserver.h: In function `vc_get_insecureccaps': lib/vserver.h:631: warning: ANSI C forbids long long integer constants lib/vserver.h:631: warning: ANSI C forbids long long integer constants lib/vserver.h: At top level: lib/vserver.h:634: warning: ANSI does not permit the keyword `inline' lib/vserver.h:713: parse error before `vc_isSupported' lib/vserver.h:713: warning: type defaults to `int' in declaration of `vc_isSupported' lib/vserver.h:713: ANSI C forbids data definition with no type or storage class lib/vserver.h:714: parse error before `vc_isSupportedString' lib/vserver.h:714: warning: type defaults to `int' in declaration of `vc_isSupportedString' lib/vserver.h:714: ANSI C forbids data definition with no type or storage class lib/vserver.h:734: parse error before `_Bool' lib/vserver.h:755: parse error before `_Bool' lib/vserver.h:765: parse error before `_Bool' In file included from lib/fmt.h:22, from lib/internal.h:25, from lib/syscall.c:25: lib/../ensc_fmt/fmt.h:66: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:72: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:78: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:84: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:90: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:96: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:103: warning: ANSI does not permit the keyword `inline' lib/../ensc_fmt/fmt.h:109: warning: ANSI does not permit the keyword `inline' In file included from lib/syscall.c:25: lib/internal.h:34: parse error before `utilvserver_isDirectory' lib/internal.h:34: parse error before `_Bool' lib/internal.h:34: warning: type defaults to `int' in declaration of `utilvserver_isDirectory' lib/internal.h:34: ANSI C forbids data definition with no type or storage class lib/internal.h:35: parse error before `utilvserver_isFile' lib/internal.h:35: parse error before `_Bool' lib/internal.h:35: warning: type defaults to `int' in declaration of `utilvserver_isFile' lib/internal.h:35: ANSI C forbids data definition with no type or storage class lib/internal.h:36: parse error before `utilvserver_isLink' lib/internal.h:36: warning: type defaults to `int' in declaration of `utilvserver_isLink' lib/internal.h:36: ANSI C forbids data definition with no type or storage class lib/internal.h:43: parse error before `_Bool' lib/internal.h:51: parse error before `_Bool' In file included from /usr/include/linux/spinlock.h:39, from kernel/dlimit.h:5, from linuxvirtual.h:24, from lib/syscall.c:28: /usr/include/asm/spinlock.h:84: warning: ANSI does not permit the keyword `inline' /usr/include/asm/spinlock.h:120: warning: ANSI does not permit the keyword `inline' /usr/include/asm/spinlock.h:130: warning: ANSI does not permit the keyword `inline' /usr/include/asm/spinlock.h:186: warning: ANSI does not permit the keyword `inline' /usr/include/asm/spinlock.h: In function `read_lock': /usr/include/asm/spinlock.h:192: warning: ANSI does not permit the keyword `asm' /usr/include/asm/spinlock.h:192: warning: ANSI does not permit the keyword `asm' /usr/include/asm/spinlock.h: At top level: /usr/include/asm/spinlock.h:195: warning: ANSI does not permit the keyword `inline' /usr/include/asm/spinlock.h: In function `write_lock': /usr/include/asm/spinlock.h:201: warning: ANSI does not permit the keyword `asm' /usr/include/asm/spinlock.h:201: warning: ANSI does not permit the keyword `asm' /usr/include/asm/spinlock.h: At top level: /usr/include/asm/spinlock.h:207: warning: ANSI does not permit the keyword `inline' In file included from linuxvirtual.h:28, from lib/syscall.c:28: kernel/namespace.h:26: warning: comma at end of enumerator list In file included from lib/syscall.c:33: lib/vserver-internal.h:39: warning: ANSI does not permit the keyword `inline' lib/vserver-internal.h:247: warning: ANSI does not permit the keyword `inline' In file included from lib/syscall.c:36: lib/syscall-compat.hc:29: warning: ANSI does not permit the keyword `inline' lib/syscall-compat.hc:39: warning: ANSI does not permit the keyword `inline' make[2]: *** [lib/lib_libvserver_a-syscall.o] Error 1 make[2]: Leaving directory `/root/src/util-vserver-0.30.207' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/root/src/util-vserver-0.30.207' make: *** [all] Error 2 compile:~/src/util-vserver-0.30.207#