This repository has been archived by the owner on Feb 26, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 178
Compile error at linux-2.6.34-gentoo #7
Labels
Comments
Me too, I am on Ubuntu 9.04, kernel is 2.6.34-rc8 (linus tree), and got the following errors: make[2]: Entering directory `/sda3/download/spl-0.4.9/module' make -C /sdc1/download/linux-2.6-latest SUBDIRS=`pwd` modules make[3]: Entering directory `/sdc1/download/linux-2.6-latest' CC [M] /root/download/spl-0.4.9/module/spl/spl-proc.o /root/download/spl-0.4.9/module/spl/spl-proc.c:660: error: unknown field ‘ctl_name’ specified in initializer cc1: warnings being treated as errors /root/download/spl-0.4.9/module/spl/spl-proc.c:660: error: initialization makes pointer from integer without a cast /root/download/spl-0.4.9/module/spl/spl-proc.c:668: error: unknown field ‘ctl_name’ specified in initializer /root/download/spl-0.4.9/module/spl/spl-proc.c:668: error: initialization makes pointer from integer without a cast /root/download/spl-0.4.9/module/spl/spl-proc.c:676: error: unknown field ‘ctl_name’ specified in initializer /root/download/spl-0.4.9/module/spl/spl-proc.c:676: error: initialization makes pointer from integer without a cast /root/download/spl-0.4.9/module/spl/spl-proc.c:684: error: unknown field ‘ctl_name’ specified in initializer /root/download/spl-0.4.9/module/spl/spl-proc.c:684: error: initialization makes pointer from integer without a cast The reason is because ".ctl_name" is no longer used in the latest kernel, so apply the following patch: |
The next error I got is: >make make all-recursive make[1]: Entering directory `/sda3/download/spl-0.4.9' Making all in lib make[2]: Entering directory `/sda3/download/spl-0.4.9/lib' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sda3/download/spl-0.4.9/lib' Making all in cmd make[2]: Entering directory `/sda3/download/spl-0.4.9/cmd' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sda3/download/spl-0.4.9/cmd' Making all in scripts make[2]: Entering directory `/sda3/download/spl-0.4.9/scripts' make[2]: Nothing to be done for `all'. make[2]: Leaving directory `/sda3/download/spl-0.4.9/scripts' Making all in module make[2]: Entering directory `/sda3/download/spl-0.4.9/module' make -C /sdc1/download/linux-2.6-latest SUBDIRS=`pwd` modules make[3]: Entering directory `/sdc1/download/linux-2.6-latest' CC [M] /root/download/spl-0.4.9/module/spl/spl-vnode.o In file included from /root/download/spl-0.4.9/module/spl/spl-vnode.c:27: /sda3/download/spl-0.4.9/include/sys/vnode.h:48:1: error: "O_DSYNC" redefined In file included from /sdc1/download/linux-2.6-latest/arch/x86/include/asm/fcntl.h:1, from include/linux/fcntl.h:4, from include/linux/fs.h:1097, from include/linux/trace_seq.h:4, from include/linux/ftrace_event.h:5, from include/trace/syscall.h:6, from include/linux/syscalls.h:75, from /sda3/download/spl-0.4.9/include/sys/vnode.h:29, from /root/download/spl-0.4.9/module/spl/spl-vnode.c:27: include/asm-generic/fcntl.h:29:1: error: this is the location of the previous definition make[5]: *** [/root/download/spl-0.4.9/module/spl/spl-vnode.o] Error 1 make[4]: *** [/root/download/spl-0.4.9/module/spl] Error 2 make[3]: *** [_module_/root/download/spl-0.4.9/module] Error 2 make[3]: Leaving directory `/sdc1/download/linux-2.6-latest' make[2]: *** [modules] Error 2 make[2]: Leaving directory `/sda3/download/spl-0.4.9/module' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/sda3/download/spl-0.4.9' make: *** [all] Error 2 Anybody can help? |
Apply this patch in vnode.h
|
Duplicate of issue #5. |
FransUrbo
pushed a commit
to FransUrbo/spl
that referenced
this issue
Apr 11, 2013
crypto_decrypt should return CRYPTO_INVALID_MAC
This issue was closed.
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
The text was updated successfully, but these errors were encountered: