 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG -pipe -Wall -O2 -march=i586 -mcpu=i686 -std=c99 -Wall -pedantic -W -MT lib/lib_libvserver_la-syscall_setsched.lo -MD -MP -MF lib/.deps/lib_libvserver_la-syscall_setsched.Tpo -c lib/syscall_setsched.c -o lib/lib_libvserver_la-syscall_setsched.o >/dev/null 2>&1
if /bin/sh ./libtool --mode=compile --tag=CC i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I.  -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT  -DNDEBUG   -pipe -Wall -O2 -march=i586 -mcpu=i686 -std=c99 -Wall -pedantic -W -MT lib/lib_libvserver_la-bcaps-v13.lo -MD -MP -MF "lib/.deps/lib_libvserver_la-bcaps-v13.Tpo" -c -o lib/lib_libvserver_la-bcaps-v13.lo `test -f 'lib/bcaps-v13.c' || echo './'`lib/bcaps-v13.c; \
then mv -f "lib/.deps/lib_libvserver_la-bcaps-v13.Tpo" "lib/.deps/lib_libvserver_la-bcaps-v13.Plo"; else rm -f "lib/.deps/lib_libvserver_la-bcaps-v13.Tpo"; exit 1; fi
 i586-alt-linux-gcc -DHAVE_CONFIG_H -I. -I. -I. -I ./lib -I ./ensc_wrappers -D_GNU_SOURCE -D_REENTRANT -DNDEBUG -pipe -Wall -O2 -march=i586 -mcpu=i686 -std=c99 -Wall -pedantic -W -MT lib/lib_libvserver_la-bcaps-v13.lo -MD -MP -MF lib/.deps/lib_libvserver_la-bcaps-v13.Tpo -c lib/bcaps-v13.c  -fPIC -DPIC -o lib/.libs/lib_libvserver_la-bcaps-v13.o
In file included from /usr/include/linux/config.h:4,
                 from /usr/include/linux/fs.h:9,
                 from /usr/include/linux/capability.h:17,
                 from lib/bcaps-v13.c:26:
/usr/include/linux/autoconf.h:1:2: #error Invalid kernel header included in userspace
make[2]: *** [lib/lib_libvserver_la-bcaps-v13.lo] Error 1
make[2]: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.196'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.196'
make: *** [all] Error 2
make: Leaving directory `/usr/src/RPM/BUILD/util-vserver-0.30.196'
error: Bad exit status from /usr/src/RPM/tmp/rpm-tmp.47259 (%build)


RPM build errors:
    Bad exit status from /usr/src/RPM/tmp/rpm-tmp.47259 (%build)
30.78user 13.73system 0:57.90elapsed 76%CPU (0avgtext+0avgdata 0maxresident)k
0inputs+0outputs (9major+1584718minor)pagefaults 0swaps
rebuild: rebuild of `util-vserver-0.30.196-alt0.1.src.rpm' failed.
