dazuko-help
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dazuko-help] dazuko and IPCop


From: Matthias Meyer
Subject: [Dazuko-help] dazuko and IPCop
Date: Tue, 22 Jul 2003 17:39:47 +0200
User-agent: KMail/1.5

Hello,

I try to build dazuko for my IPCop firewall. IPCop runs under Linux 2.4.20.
Therefore I have download the kernel 2.4.20 to my Mandrake 9.1 Workstation 
(running Linux 2.4.21mdk) and unpack it in /usr/src/linux-2.4.20. Than I 
create the soft-link ln -s /usr/Src/linux-2.4.20 /usr/src/linux.
But if I try make dazuko I get tons of error-messages, starting with:

gcc -Wall -O2 -DLINUX -Dlinux  -D__KERNEL__ -DMODULE -I/usr/src/linux/include 
-DON_OPEN_SUPPORT -DON_CLOSE_SUPPORT -DON_EXEC_SUPPORT -c dazuko.c
In file included from dazuko.c:27:
/usr/include/linux/version.h:2:2: #error 
"======================================================="
/usr/include/linux/version.h:3:2: #error "You should not include 
/usr/include/{linux,asm}/ header"
/usr/include/linux/version.h:4:2: #error "files directly for the compilation 
of kernel modules."

and ending with:

====="
In file included from dazuko.c:30:
/usr/src/linux/include/linux/module.h:300: parse error before "UTS_RELEASE"
dazuko.c: In function `__dazuko_change_slot_state':
dazuko.c:317: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:321: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:322: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c: In function `dazuko_device_release':
dazuko.c:646: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:647: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c: In function `dazuko_device_ioctl':
dazuko.c:914: warning: passing arg 1 of `add_wait_queue' from incompatible 
pointer type
dazuko.c:914: warning: passing arg 1 of `remove_wait_queue' from incompatible 
pointer type
dazuko.c:924: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:925: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:1059: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:1061: warning: passing arg 1 of `add_wait_queue' from incompatible 
pointer type
dazuko.c:1061: warning: passing arg 1 of `remove_wait_queue' from incompatible 
pointer type
dazuko.c: In function `dazuko_run_daemon_on_slotlist':
dazuko.c:1248: warning: passing arg 1 of `add_wait_queue' from incompatible 
pointer type
dazuko.c:1248: warning: passing arg 1 of `remove_wait_queue' from incompatible 
pointer type
dazuko.c:1298: warning: passing arg 1 of `__wake_up' from incompatible pointer 
type
dazuko.c:1301: warning: passing arg 1 of `add_wait_queue' from incompatible 
pointer type
dazuko.c:1301: warning: passing arg 1 of `remove_wait_queue' from incompatible 
pointer type
dazuko.c: In function `dazuko_get_dentry':
dazuko.c:1708: warning: implicit declaration of function `lookup_dentry'
dazuko.c:1708: warning: assignment makes pointer from integer without a cast
dazuko.c: At top level:
dazuko.c:1729: conflicting types for `__d_path'
/usr/src/linux/include/linux/dcache.h:227: previous declaration of `__d_path'
dazuko.c: In function `__d_path':
dazuko.c:1754: structure has no member named `d_covers'
dazuko.c: In function `dazuko_sys_execve':
dazuko.c:2058: `PF_DTRACE' undeclared (first use in this function)
dazuko.c:2058: (Each undeclared identifier is reported only once
dazuko.c:2058: for each function it appears in.)
make: *** [dazuko] Fehler 1

Anybody know something about the reason?




reply via email to

[Prev in Thread] Current Thread [Next in Thread]