Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: too few arguments to function ‘create_volume’ #12

Closed
xmw opened this issue Aug 28, 2012 · 2 comments
Closed

error: too few arguments to function ‘create_volume’ #12

xmw opened this issue Aug 28, 2012 · 2 comments

Comments

@xmw
Copy link

xmw commented Aug 28, 2012

Seen on 0.10 tag and HEAD

make -j2 PBKDF_BACKEND=gcrypt program
x86_64-pc-linux-gnu-gcc -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -O2 -pipe -Wsystem-headers -Werror -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -D_GNU_SOURCE -o tcplay main.c tcplay.c crc32.c safe_mem.c io.c hdr.c humanize.c crypto.c generic_xts.c crypto-gcrypt.c pbkdf2-gcrypt.c -lgcrypt -ldevmapper -luuid -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed
make -j2 PBKDF_BACKEND=gcrypt lib
x86_64-pc-linux-gnu-gcc -march=core2 -mcx16 -msahf --param l1-cache-size=32 --param l1-cache-line-size=64 --param l2-cache-size=4096 -mtune=core2 -mfpmath=sse -O2 -pipe -Wsystem-headers -Werror -Wall -W -Wno-unused-parameter -Wstrict-prototypes -Wmissing-prototypes -Wpointer-arith -Wold-style-definition -Wreturn-type -Wcast-qual -Wwrite-strings -Wswitch -Wshadow -Wcast-align -Wunused-parameter -Wchar-subscripts -Winline -Wnested-externs -D_GNU_SOURCE -c -fPIC tcplay_api.c tcplay.c crc32.c safe_mem.c io.c hdr.c humanize.c crypto.c generic_xts.c crypto-gcrypt.c pbkdf2-gcrypt.c -Wl,--hash-style=gnu -Wl,-O1 -Wl,--as-needed
tcplay_api.c: In function ‘tc_api_create_volume’:
tcplay_api.c:117:6: error: too few arguments to function ‘create_volume’
tcplay.h:193:5: note: declared here
make: *** [lib] Error 1

@bwalex
Copy link
Owner

bwalex commented Aug 28, 2012

Fixed in ebce0f8. Thanks!

@bwalex bwalex closed this as completed Aug 28, 2012
@xmw
Copy link
Author

xmw commented Aug 28, 2012

Compilation works now, thanks.
Its on its way into the Gentoo main tree [1].
It's in my dev overlay for now [2].

Portage (package manager) QA routines have discovered an missing SONAME situation [3].
It's up to you how you want to handle that, just mentioning.

Bye

[1] https://bugs.gentoo.org/show_bug.cgi?id=432914
[2] http://git.overlays.gentoo.org/gitweb/?p=dev/xmw.git;a=tree;f=app-crypt/tcplay;
[3] http://dev.gentoo.org/~zmedico/portage/doc/portage.html#qa-scanelf-soname

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

No branches or pull requests

2 participants