When I run make I get an error related to sk_buff, which seems to have changed
in some previous linux version. I've tried with the patch in
http://www.dps.uibk.ac.at/~sven/archive/nistnet-2.0.12c-knistnet.c.patch-v2.6.17.gz
but it does not resolve the problem.
Thanks for your help
[EMAIL PROTECTED]:~/nistnet/nistnet-3.0a$ make
set -e; for i in math lib cli monitor kernel man; do make -C $i ; done
make[1]: Entering directory `/home/ferran/nistnet/nistnet-3.0a/math'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/math'
make[1]: Entering directory `/home/ferran/nistnet/nistnet-3.0a/lib'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/lib'
make[1]: Entering directory `/home/ferran/nistnet/nistnet-3.0a/cli'
make[1]: Nothing to be done for `all'.
make[1]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/cli'
make[1]: Entering directory `/home/ferran/nistnet/nistnet-3.0a/monitor'
making all in ./TextField-1.01...
make[2]: Entering directory
`/home/ferran/nistnet/nistnet-3.0a/monitor/TextField-1.01'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory
`/home/ferran/nistnet/nistnet-3.0a/monitor/TextField-1.01'
making all in ./Frame-1.0...
make[2]: Entering directory
`/home/ferran/nistnet/nistnet-3.0a/monitor/Frame-1.0'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/monitor/Frame-1.0'
make[1]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/monitor'
make[1]: Entering directory `/home/ferran/nistnet/nistnet-3.0a/kernel'
make -C /lib/modules/2.6.22-14-generic/build
M=/home/ferran/nistnet/nistnet-3.0a/kernel V=1
make[2]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
test -e include/linux/autoconf.h -a -e include/config/auto.conf || (
\
echo; \
echo " ERROR: Kernel configuration is invalid."; \
echo " include/linux/autoconf.h or include/config/auto.conf are
missing."; \
echo " Run 'make oldconfig && make prepare' on kernel src to
fix it."; \
echo; \
/bin/false)
mkdir -p /home/ferran/nistnet/nistnet-3.0a/kernel/.tmp_versions
rm -f /home/ferran/nistnet/nistnet-3.0a/kernel/.tmp_versions/*
make -f scripts/Makefile.build obj=/home/ferran/nistnet/nistnet-3.0a/kernel
gcc -m32 -Wp,-MD,/home/ferran/nistnet/nistnet-3.0a/kernel/.knistnet.o.d
-nostdinc -isystem /usr/lib/gcc/i486-linux-gnu/4.1.3/include -D__KERNEL__
-Iinclude -include include/linux/autoconf.h -Wall -Wundef -Wstrict-prototypes
-Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -pipe -msoft-float
-mregparm=3 -freg-struct-return -mpreferred-stack-boundary=2 -march=i586
-mtune=generic -ffreestanding -maccumulate-outgoing-args
-Iinclude/asm-i386/mach-default -fomit-frame-pointer -g -fno-stack-protector
-Wdeclaration-after-statement -Wno-pointer-sign -D__KERNEL__ -fno-common -I.
-I../include -DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART
-DCONFIG_RTC_AGGRESSIVE -fno-common -I. -I../include
-DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62
-DHITMINOR=0 -DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART
-DCONFIG_RTC_AGGRESSIVE -fno-common
-I/lib/modules/2.6.22-14-generic/build/include
-I/home/ferran/nistnet/nistnet-3.0a/kernel
-I/home/ferran/nistnet/nistnet-3.0a/kernel/../include
-DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART
-DCONFIG_RTC_AGGRESSIVE -fno-common -I. -I../include
-DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS
-DCONFIG_DELAYSTART -DCONFIG_RTC_AGGRESSIVE -fno-common -I. -I../include
-DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART
-DCONFIG_RTC_AGGRESSIVE -fno-common
-I/lib/modules/2.6.22-14-generic/build/include
-I/home/ferran/nistnet/nistnet-3.0a/kernel
-I/home/ferran/nistnet/nistnet-3.0a/kernel/../include
-DDEVHITBOX=\"/dev/hitbox\" -DHITMAJOR=62 -DHITMINOR=0
-DDEVNISTNET=\"/dev/nistnet\" -DNISTNETMAJOR=62 -DNISTNETMINOR=1
-DDEVMUNGEBOX=\"/dev/mungebox\" -DMUNGEMAJOR=63 -DDEVSPYBOX=\"/dev/spybox\"
-DSPYMAJOR=64 -DCONFIG_ECN -DCONFIG_COS -DCONFIG_DELAYSTART
-DCONFIG_RTC_AGGRESSIVE -fno-common -DMODULE -D"KBUILD_STR(s)=#s"
-D"KBUILD_BASENAME=KBUILD_STR(knistnet)"
-D"KBUILD_MODNAME=KBUILD_STR(nistnet)" -c -o
/home/ferran/nistnet/nistnet-3.0a/kernel/.tmp_knistnet.o
/home/ferran/nistnet/nistnet-3.0a/kernel/knistnet.c
/home/ferran/nistnet/nistnet-3.0a/kernel/knistnet.c: In function ‘ecn_skb’:
/home/ferran/nistnet/nistnet-3.0a/kernel/knistnet.c:713: error: ‘struct
sk_buff’ has no member named ‘h’
make[3]: *** [/home/ferran/nistnet/nistnet-3.0a/kernel/knistnet.o] Error 1
make[2]: *** [_module_/home/ferran/nistnet/nistnet-3.0a/kernel] Error 2
make[2]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/ferran/nistnet/nistnet-3.0a/kernel'
make: *** [sub_dirs] Error 2
______________________________________________
¿Con Mascota por primera vez? Sé un mejor Amigo. Entra en Yahoo! Respuestas
http://es.answers.yahoo.com/info/welcome
_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet