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

Trouble with new build #224

Closed
tylerw1369 opened this issue Mar 7, 2020 · 2 comments · Fixed by #226
Closed

Trouble with new build #224

tylerw1369 opened this issue Mar 7, 2020 · 2 comments · Fixed by #226
Assignees

Comments

@tylerw1369
Copy link

I'm trying to build the new version of dcurl and I am getting the following error after "make clean".

tyler@arm:~/dcurl-update/dcurl$ make BOARD=de10nano BUILD_FPGA_ACCEL=1 BUILD_COMPAT=1
readlink: missing operand
Try 'readlink --help' for more information.
CC build/compat_ccurl.o
src/compat_ccurl.c: In function ‘ccurl_pow’:
src/compat_ccurl.c:23:9: error: too few arguments to function ‘dcurl_init’
dcurl_init();
^~~~~~~~~~
In file included from src/compat_ccurl.c:11:0:
src/dcurl.h:51:6: note: declared here
bool dcurl_init(dcurl_config *config);
^~~~~~~~~~
Makefile:176: recipe for target 'build/compat_ccurl.o' failed
make: *** [build/compat_ccurl.o] Error 1

@tylerw1369
Copy link
Author

Looks like it's only when asking for BUILD_COMPAT=1 does it throw the error.

@marktwtn marktwtn self-assigned this Mar 8, 2020
@marktwtn
Copy link
Collaborator

marktwtn commented Mar 8, 2020

@tylerw1369 it is caused by the API change in version 0.6.0.
The dcurl_init() has a input parameter now.

I will make a fix today.
Sorry for the problem.

marktwtn added a commit that referenced this issue Mar 8, 2020
The NULL input argument equals to using the default configuration.

Close #224.
@jserv jserv closed this as completed in #226 Mar 8, 2020
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

Successfully merging a pull request may close this issue.

2 participants