- 论坛徽章:
- 0
|
N多错误啊
[root@RHEL4 domain-0.0.2]# make KERNEL_SRC=/usr/src/linux IPTABLES_SRC=/usr/src/iptables install
make -C /usr/src/linux SUBDIRS=/data/soft/domain-0.0.2 modules
make[1]: Entering directory `/usr/src/linux-2.6.9'
Makefile:461: .config: No such file or directory
CC [M] /data/soft/domain-0.0.2/ipt_domain.o
In file included from include/linux/module.h:9,
from /data/soft/domain-0.0.2/ipt_domain.c:4:
include/linux/config.h:4:28: linux/autoconf.h: No such file or directory
In file included from include/linux/module.h:10,
from /data/soft/domain-0.0.2/ipt_domain.c:4:
include/linux/sched.h:4:36: asm/param.h: No such file or directory
In file included from include/linux/types.h:13,
from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /data/soft/domain-0.0.2/ipt_domain.c:4:
include/linux/posix_types.h:47:29: asm/posix_types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /data/soft/domain-0.0.2/ipt_domain.c:4:
include/linux/types.h:14:23: asm/types.h: No such file or directory
In file included from include/linux/capability.h:16,
from include/linux/sched.h:7,
from include/linux/module.h:10,
from /data/soft/domain-0.0.2/ipt_domain.c:4:
include/linux/types.h:18: error: syntax error before "__kernel_dev_t"
include/linux/types.h:18: warning: type defaults to `int' in declaration of `__kernel_dev_t'
include/linux/types.h:18: warning: data definition has no type or storage class
include/linux/types.h:21: error: syntax error before "dev_t"
include/linux/types.h:21: warning: type defaults to `int' in declaration of `dev_t'
include/linux/types.h:21: warning: data definition has no type or storage class
include/linux/types.h:22: error: syntax error before "ino_t"
include/linux/types.h:22: warning: type defaults to `int' in declaration of `ino_t'
make[2]: *** Deleting file `/data/soft/domain-0.0.2/ipt_domain.o'
make[2]: *** [/data/soft/domain-0.0.2/ipt_domain.o] Interrupt
make[1]: *** [_module_/data/soft/domain-0.0.2] Interrupt
make: *** [ipt_domain.ko] Interrupt
..
.
.
.
.
.{standard input}:5163: Error: symbol `ops' is already defined
{standard input}:5503: Error: symbol `stats' is already defined
{standard input}:5624: Error: symbol `lock' is already defined
{standard input}:5915: Error: symbol `id' is already defined
{standard input}:5963: Error: symbol `protocol' is already defined
{standard input}:6022: Error: symbol `user' is already defined
{standard input}:6045: Error: symbol `data' is already defined
{standard input}:6050: Error: symbol `user' is already defined
{standard input}:6109: Error: symbol `code' is already defined
{standard input}:6121: Error: symbol `len' is already defined
make[2]: *** [/data/soft/domain-0.0.2/ipt_domain.o] Error 1
make[1]: *** [_module_/data/soft/domain-0.0.2] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.9'
make: *** [ipt_domain.ko] Error 2
[root@RHEL4 domain-0.0.2]# uname -a
Linux RHEL4 2.6.9-5.EL #1 Wed Jan 5 19:22:18 EST 2005 i686 i686 i386 GNU/Linux |
|