Skip to content
This repository has been archived by the owner on Feb 26, 2020. It is now read-only.

proxmox 1.9 + spl onflicting types for ‘kstat_init’ #56

Closed
ghost opened this issue Nov 10, 2011 · 1 comment
Closed

proxmox 1.9 + spl onflicting types for ‘kstat_init’ #56

ghost opened this issue Nov 10, 2011 · 1 comment

Comments

@ghost
Copy link

ghost commented Nov 10, 2011

Linux home 2.6.32-6-pve #1 SMP Fri Nov 4 06:54:05 CET 2011 x86_64 GNU/Linux

make[2]: Leaving directory /usr/src/spl-0.6.0-rc6/cmd' Making all in scripts make[2]: Entering directory/usr/src/spl-0.6.0-rc6/scripts'
make[2]: Nothing to be done for all'. make[2]: Leaving directory/usr/src/spl-0.6.0-rc6/scripts'
Making all in module
make[2]: Entering directory /usr/src/spl-0.6.0-rc6/module' make -C /usr/src/linux-headers-2.6.32-6-pve SUBDIRS=pwdmodules make[3]: Entering directory/usr/src/linux-headers-2.6.32-6-pve'
CC [M] /usr/src/spl-0.6.0-rc6/module/spl/../../module/spl/spl-debug.o
CC [M] /usr/src/spl-0.6.0-rc6/module/spl/../../module/spl/spl-proc.o
In file included from /usr/src/spl-0.6.0-rc6/module/spl/../../module/spl/spl-proc.c:28:
/usr/src/spl-0.6.0-rc6/include/sys/kstat.h:149: error: conflicting types for ‘kstat_init’
include/linux/vzstat.h:86: error: previous declaration of ‘kstat_init’ was here
make[5]: *** [/usr/src/spl-0.6.0-rc6/module/spl/../../module/spl/spl-proc.o] Error 1
make[4]: *** [/usr/src/spl-0.6.0-rc6/module/spl] Error 2
make[3]: *** [module/usr/src/spl-0.6.0-rc6/module] Error 2
make[3]: Leaving directory /usr/src/linux-headers-2.6.32-6-pve' make[2]: *** [modules] Error 2 make[2]: Leaving directory/usr/src/spl-0.6.0-rc6/module'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/src/spl-0.6.0-rc6'
make: *** [all] Error 2

@behlendorf
Copy link
Contributor

What kernel is this from? The vnstat.h header has never existed in the upstream kernel tree near as I can tell. That said try the latest master source I've just merged a patch to rename this function which as it happens was something I was meaning to do anyway to avoid this sort of thing.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant