Hi,
the problem:
CC [M] /home/joerg/Tmp/kernel/modules/mol/kmod/ptaccess.o
CC [M] /home/joerg/Tmp/kernel/modules/mol/kmod/misc.o
/home/joerg/Tmp/kernel/modules/mol/kmod/misc.c: In function ‘handle_ioctl’:
/home/joerg/Tmp/kernel/modules/mol/kmod/misc.c:182: error: implicit declaration
of function ‘_IOWR’
/home/joerg/Tmp/kernel/modules/mol/kmod/misc.c:182: error: expected expression b
efore ‘mol_ioctl_pb_t’
/home/joerg/Tmp/kernel/modules/mol/kmod/misc.c:182: error: case label does not r
educe to an integer constant
/home/joerg/Tmp/kernel/modules/mol/kmod/misc.c:186: error: expected expression b
efore ‘mol_ioctl_pb_t’
the patch:
--- /home/joerg/svn/mol-upstream/trunk/src/shared/mol-ioctl.h 2007-06-21 13:02:08.000000000 +0200
+++ ../modules/mol/kmod/mol-ioctl.h 2007-08-12 14:53:12.000000000 +0200
@@ -17,6 +17,8 @@
#ifndef _H_MOL_IOCTL
#define _H_MOL_IOCTL
+#include <asm/ioctl.h>
+
#ifndef __ASSEMBLY__
#include "mmutypes.h"
Bye, Jörg.
--
The social dynamics of the net are a direct consequence of the fact
that nobody has yet developed a Remote Strangulation Protocol.
(Larry Wall)
|