Hi,

I was compiling the nistnet using *make* command after doing
*./configure*when this error ocurred:

[EMAIL PROTECTED]:/usr/nistnet-3.0a# make
set -e; for i in math lib cli monitor kernel man; do make -C $i ; done
make[1]: Entrando no diretório `/usr/nistnet-3.0a/math'
make[1]: Nada a ser feito para `all'.
make[1]: Saindo do diretório `/usr/nistnet-3.0a/math'
make[1]: Entrando no diretório `/usr/nistnet-3.0a/lib'
make[1]: Nada a ser feito para `all'.
make[1]: Saindo do diretório `/usr/nistnet-3.0a/lib'
make[1]: Entrando no diretório `/usr/nistnet-3.0a/cli'
make[1]: Nada a ser feito para `all'.
make[1]: Saindo do diretório `/usr/nistnet-3.0a/cli'
make[1]: Entrando no diretório `/usr/nistnet-3.0a/monitor'
making all in ./TextField-1.01...
make[2]: Entrando no diretório `/usr/nistnet-3.0a/monitor/TextField-1.01'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/nistnet-3.0a/monitor/TextField-1.01'
making all in ./Frame-1.0...
make[2]: Entrando no diretório `/usr/nistnet-3.0a/monitor/Frame-1.0'
make[2]: Nada a ser feito para `all'.
make[2]: Saindo do diretório `/usr/nistnet-3.0a/monitor/Frame-1.0'
make[1]: Saindo do diretório `/usr/nistnet-3.0a/monitor'
make[1]: Entrando no diretório `/usr/nistnet-3.0a/kernel'
make -C /lib/modules/2.6.24-16-generic/build M=/usr/nistnet-3.0a/kernel V=1
make[2]: Entrando no diretório `/usr/src/linux-headers-2.6.24-16-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 /usr/nistnet-3.0a/kernel/.tmp_versions ; rm -f
/usr/nistnet-3.0a/kernel/.tmp_versions/*
make -f scripts/Makefile.build obj=/usr/nistnet-3.0a/kernel
  gcc -m32 -Wp,-MD,/usr/nistnet-3.0a/kernel/.knistnet.o.d  -nostdinc
-isystem /usr/lib/gcc-lib/i486-linux-gnu/3.3.6/include -D__KERNEL__
-Iinclude  -include include/linux/autoconf.h -Wall -Wundef
-Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common
-Werror-implicit-function-declaration -O2 -pipe -msoft-float -mregparm=3
-freg-struct-return -mpreferred-stack-boundary=2  -march=i586 -mcpu=i686
-ffreestanding -maccumulate-outgoing-args   -Iinclude/asm-x86/mach-default
-fomit-frame-pointer -g      -I/lib/modules/2.6.24-16-generic/build/include
-I/usr/nistnet-3.0a/kernel -I/usr/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 -D__KERNEL__ -fno-common
-I/lib/modules/2.6.24-16-generic/build/include -I/usr/nistnet-3.0a/kernel
-I/usr/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
/usr/nistnet-3.0a/kernel/.tmp_knistnet.o /usr/nistnet-3.0a/kernel/knistnet.c
/usr/nistnet-3.0a/kernel/knistnet.c: In function `grab_ip_rcv':
/usr/nistnet-3.0a/kernel/knistnet.c:1019: warning: assignment from
incompatible pointer type
/usr/nistnet-3.0a/kernel/knistnet.c: In function `cleanup_module':
/usr/nistnet-3.0a/kernel/knistnet.c:1112: error: void value not ignored as
it ought to be
/usr/nistnet-3.0a/kernel/knistnet.c: At top level:
/usr/nistnet-3.0a/kernel/knistnet.c:1240: warning: type defaults to `int' in
declaration of `EXPORT_SYMBOL_NOVERS'
/usr/nistnet-3.0a/kernel/knistnet.c:1240: warning: parameter names (without
types) in function declaration
/usr/nistnet-3.0a/kernel/knistnet.c:1240: warning: data definition has no
type or storage class
/usr/nistnet-3.0a/kernel/knistnet.c:1241: warning: type defaults to `int' in
declaration of `EXPORT_SYMBOL_NOVERS'
/usr/nistnet-3.0a/kernel/knistnet.c:1241: warning: parameter names (without
types) in function declaration
/usr/nistnet-3.0a/kernel/knistnet.c:1241: warning: data definition has no
type or storage class
/usr/nistnet-3.0a/kernel/knistnet.c:1242: warning: type defaults to `int' in
declaration of `EXPORT_SYMBOL_NOVERS'
/usr/nistnet-3.0a/kernel/knistnet.c:1242: warning: parameter names (without
types) in function declaration
/usr/nistnet-3.0a/kernel/knistnet.c:1242: warning: data definition has no
type or storage class
/usr/nistnet-3.0a/kernel/knistnet.c:1243: warning: type defaults to `int' in
declaration of `EXPORT_SYMBOL_NOVERS'
/usr/nistnet-3.0a/kernel/knistnet.c:1243: warning: parameter names (without
types) in function declaration
/usr/nistnet-3.0a/kernel/knistnet.c:1243: warning: data definition has no
type or storage class
make[3]: ** [/usr/nistnet-3.0a/kernel/knistnet.o] Erro 1
make[2]: ** [_module_/usr/nistnet-3.0a/kernel] Erro 2
make[2]: Saindo do diretório `/usr/src/linux-headers-2.6.24-16-generic'
make[1]: ** [all] Erro 2
make[1]: Saindo do diretório `/usr/nistnet-3.0a/kernel'
make: ** [sub_dirs] Erro 2


I've already done the *make oldconfig && make prepare* commands at the linux
kernel. I don't know what is wrong with this file kernel/knistnet.c

I'm using gcc-3.3 and cpp-3.3, my kernel version is 2.6.24-16-generic.

Can anyone help me please?

thanks

-- 
Rafael Leite Moraes de Sousa
graduando de ciência da computação
oitavo período - UFAM
_______________________________________________
nistnet mailing list
nistnet@antd.nist.gov
http://www-x.antd.nist.gov/mailman/listinfo/nistnet

Reply via email to