dazuko-help
[Top][All Lists]
Advanced

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

[Dazuko-help] Compile errors during install


From: Mike van Engelen
Subject: [Dazuko-help] Compile errors during install
Date: Sun, 24 Aug 2003 02:05:06 +0200

ow to solve this problem?

C433, 64mb ram.
Redhat 9 with 2.4.20-8 kernel

Regards,

Mike van Engelen
The Netherlands

ERROR:
address@hidden dazuko-1.2.1]# make dazuko
gcc -Wall -O -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 /usr/include/linux/fs.h:23,
                 from dazuko.c:46:
/usr/include/linux/string.h:8:2: warning: #warning Using kernel header in
userland!
dazuko.c:48:25: asm/uaccess.h: No such file or directory
In file included from dazuko.c:49:
/usr/include/asm/atomic.h:40:2: warning: #warning Using kernel header in
userland program. BAD!
dazuko.c:91: warning: `struct file' declared inside parameter list
dazuko.c:91: warning: its scope is only this definition or declaration,
which is probably not what you want
dazuko.c:95: warning: `struct file' declared inside parameter list
dazuko.c:95: warning: `struct inode' declared inside parameter list
dazuko.c:96: warning: `struct file' declared inside parameter list
dazuko.c:96: warning: `struct inode' declared inside parameter list
dazuko.c:97: warning: `struct file' declared inside parameter list
dazuko.c:97: warning: `struct inode' declared inside parameter list
dazuko.c:140: field `mutex' has incomplete type
dazuko.c:146: field `mutex' has incomplete type
dazuko.c:175: field `nd' has incomplete type
dazuko.c:193: parse error before "lock_hash"
dazuko.c:193: warning: type defaults to `int' in declaration of `lock_hash'
dazuko.c:193: warning: data definition has no type or storage class
dazuko.c:194: parse error before "lock_lists"
dazuko.c:194: warning: type defaults to `int' in declaration of `lock_lists'
dazuko.c:194: warning: data definition has no type or storage class
dazuko.c:207: warning: `struct pt_regs' declared inside parameter list
dazuko.c:207: warning: parameter has incomplete type
dazuko.c:210: variable `fops' has initializer but incomplete type
dazuko.c:211: unknown field `read' specified in initializer
dazuko.c:211: warning: excess elements in struct initializer
dazuko.c:211: warning: (near initialization for `fops')
dazuko.c:212: unknown field `ioctl' specified in initializer
dazuko.c:212: warning: excess elements in struct initializer
dazuko.c:212: warning: (near initialization for `fops')
dazuko.c:213: unknown field `open' specified in initializer
dazuko.c:213: warning: excess elements in struct initializer
dazuko.c:213: warning: (near initialization for `fops')
dazuko.c:214: unknown field `release' specified in initializer
dazuko.c:214: warning: excess elements in struct initializer
dazuko.c:214: warning: (near initialization for `fops')
dazuko.c:219: warning: type defaults to `int' in declaration of
`DECLARE_WAIT_QUEUE_HEAD'
dazuko.c:219: warning: parameter names (without types) in function
declaration
dazuko.c:220: warning: type defaults to `int' in declaration of
`DECLARE_WAIT_QUEUE_HEAD'
dazuko.c:220: warning: parameter names (without types) in function
declaration
dazuko.c:221: warning: type defaults to `int' in declaration of
`DECLARE_WAIT_QUEUE_HEAD'
dazuko.c:221: warning: parameter names (without types) in function
declaration
dazuko.c:222: warning: type defaults to `int' in declaration of
`DECLARE_WAIT_QUEUE_HEAD'
dazuko.c:222: warning: parameter names (without types) in function
declaration
dazuko.c: In function `dazuko_slot_state':
dazuko.c:285: warning: implicit declaration of function `down_interruptible'
dazuko.c:286: `EINTR' undeclared (first use in this function)
dazuko.c:286: (Each undeclared identifier is reported only once
dazuko.c:286: for each function it appears in.)
dazuko.c:290: warning: implicit declaration of function `up'
dazuko.c:288: confused by earlier errors, bailing out
make: *** [dazuko] Error 1






reply via email to

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