Compile Error

David Bernick <[email protected]>
Newsgroups gmane.linux.enbd.general
Message-ID <[email protected]>
Compiling on FC4/Kernel 2.6.13/x86-64 Opteron. The patch applied
succesfully other than an expected Makefile.rej which was easy enough to
fix. Any suggestions?

[root@head1 linux]# make -j2
CHK include/linux/version.h
HOSTLD scripts/kconfig/conf
scripts/kconfig/conf -s arch/x86_64/Kconfig
#
# using defaults found in .config
#
SPLIT include/linux/autoconf.h -> include/config/*
make[1]: `arch/x86_64/kernel/asm-offsets.s' is up to date.
CHK include/asm-x86_64/offset.h
CHK usr/initramfs_list
CHK include/linux/compile.h
CC drivers/block/enbd/enbd_base.o
In file included from drivers/block/enbd/enbd_base.c:282:
include/linux/enbd.h: In function ‘local_nbd_end_request’:
include/linux/enbd.h:437: error: invalid storage class for function
‘rq_type’
include/linux/enbd.h:438: warning: implicit declaration of function
‘rq_type’
include/linux/enbd.h: In function ‘enbd_end_request’:
include/linux/enbd.h:479: error: invalid storage class for function
‘rq_set_seqno’
include/linux/enbd.h:481: warning: implicit declaration of function
‘rq_set_seqno’
include/linux/enbd.h: In function ‘enbd_end_request_lock’:
include/linux/enbd.h:494: error: invalid storage class for function
‘rq_set_seqno’
drivers/block/enbd/enbd_base.c: At top level:
drivers/block/enbd/enbd_base.c:436: error: static declaration of
‘rq_type’ follows non-static declaration
include/linux/enbd.h:438: error: previous implicit declaration of
‘rq_type’ was here
drivers/block/enbd/enbd_base.c:568: warning: conflicting types for
‘rq_set_seqno’
drivers/block/enbd/enbd_base.c:568: error: static declaration of
‘rq_set_seqno’ follows non-static declaration
include/linux/enbd.h:481: error: previous implicit declaration of
‘rq_set_seqno’ was here
drivers/block/enbd/enbd_base.c: In function ‘enbd_get_req’:
drivers/block/enbd/enbd_base.c:1824: error: invalid storage class for
function ‘enbd_clr_sock’
drivers/block/enbd/enbd_base.c:1870: warning: implicit declaration of
function ‘enbd_clr_sock’
drivers/block/enbd/enbd_base.c: At top level:
drivers/block/enbd/enbd_base.c:2556: error: static declaration of
‘enbd_clr_sock’ follows non-static declaration
drivers/block/enbd/enbd_base.c:1870: error: previous implicit
declaration of ‘enbd_clr_sock’ was here
drivers/block/enbd/enbd_base.c: In function ‘enbd_clr_sock’:
drivers/block/enbd/enbd_base.c:2563: error: invalid storage class for
function ‘enbd_soft_reset’
drivers/block/enbd/enbd_base.c:2604: warning: implicit declaration of
function ‘enbd_soft_reset’
drivers/block/enbd/enbd_base.c: At top level:
drivers/block/enbd/enbd_base.c:3199: error: static declaration of
‘enbd_soft_reset’ follows non-static declaration
drivers/block/enbd/enbd_base.c:2604: error: previous implicit
declaration of ‘enbd_soft_reset’ was here
drivers/block/enbd/enbd_base.c: In function ‘enbd_soft_reset’:
drivers/block/enbd/enbd_base.c:3228: error: too many arguments to
function ‘__invalidate_device’
drivers/block/enbd/enbd_base.c: In function ‘enbd_proc_dobit’:
drivers/block/enbd/enbd_base.c:4704: warning: cast from pointer to
integer of different size
drivers/block/enbd/enbd_base.c:4707: warning: cast from pointer to
integer of different size
make[2]: *** [drivers/block/enbd/enbd_base.o] Error 1
make[1]: *** [drivers/block/enbd] Error 2
make: *** [drivers] Error 2
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.