Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

flashcache-wt build failed: too many arguments to function 'dm_io_client_create' #68

Closed
lesovsky opened this Issue May 31, 2012 · 2 comments

Comments

Projects
None yet
2 participants

Good day!
I got error when builds flascache-wt on gentoo linux x86_64 with kernel 3.0 (build only flashcache ends with success).
Build process see below

# make KERNEL_TREE=/usr/src/linux/ make -C src KERNEL_TREE=/usr/src/linux/ PWD=/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src make[1]: Entering directory/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src'
make -C /usr/src/linux/ M=/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src modules
make[2]: Entering directory /var/db/src/linux' CC [M] /var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.o /var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.c: In function 'cache_ctr': /var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.c:1009:2: error: too many arguments to function 'dm_io_client_create' include/linux/dm-io.h:72:22: note: declared here make[3]: *** [/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.o] Error 1 make[2]: *** [_module_/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src] Error 2 make[2]: Leaving directory/var/db/src/linux'
make[1]: *** [all] Error 2
make[1]: Leaving directory /var/tmp/facebook-flashcache-21c99de/flashcache-wt/src' make: *** [all] Error 2

Thanks for yours great works.

Contributor

mohans commented May 31, 2012

flashcache-wt is deprecated. Please use the flashcache module instead in wt
mode.


From: Lesovsky Alexey
reply@reply.github.com

To: Mohan Srinivasan mohan_srinivasan@yahoo.com
Sent: Wed, May 30, 2012 9:29:49 PM
Subject: [flashcache] flashcache-wt build failed: too many arguments to function
'dm_io_client_create' (#68)

Good day!
I got error when builds flascache-wt on gentoo linux x86_64 with kernel 3.0
(build only flashcache ends with success).
Build process see below

make KERNEL_TREE=/usr/src/linux/

make -C src KERNEL_TREE=/usr/src/linux/
PWD=/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src
make[1]: Entering directory
/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src' make -C /usr/src/linux/ M=/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src modules make[2]: Entering directory/var/db/src/linux'
CC [M] /var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.o
/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.c: In
function 'cache_ctr':
/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.c:1009:2:
error: too many arguments to function 'dm_io_client_create'
include/linux/dm-io.h:72:22: note: declared here
make[3]: ***
[/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src/flashcache_wt.o] Error 1
make[2]: *** [module/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src]
Error 2
make[2]: Leaving directory /var/db/src/linux' make[1]: *** [all] Error 2 make[1]: Leaving directory/var/tmp/facebook-flashcache-21c99de/flashcache-wt/src'
make: *** [all] Error 2

Thanks for yours great works.


Reply to this email directly or view it on GitHub:
facebook#68

Thanks for clarification, it would be good to note this in the official documentation.

This issue was closed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment