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

Compiling Error #375

Closed
derhornspieler opened this issue Jun 18, 2016 · 3 comments
Closed

Compiling Error #375

derhornspieler opened this issue Jun 18, 2016 · 3 comments

Comments

@derhornspieler
Copy link

derhornspieler commented Jun 18, 2016

make
gcc -D_POSIX -DOSX -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/ext_OpenCL.NATIVE.o src/ext_OpenCL.c
gcc -D_POSIX -DOSX -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/shared.NATIVE.o src/shared.c
gcc -D_POSIX -DOSX -pipe -W -Wall -std=c99 -Iinclude/ -IOpenCL/ -Ideps/OpenCL-Headers/ -O2 -c -o obj/rp_kernel_on_cpu.NATIVE.o src/rp_kernel_on_cpu.c
src/ext_OpenCL.c:400:5: warning: implicitly declaring library function 'snprintf' with type 'int (char *, unsigned long, const char
*, ...)' [-Wimplicit-function-declaration]
snprintf (options_update, len, "%s -cl-opt-disable", options);
^
src/ext_OpenCL.c:400:5: note: include the header <stdio.h> or explicitly provide a declaration for 'snprintf'
1 warning generated.
src/shared.c:4747:12: error: no member named 'st_atim' in 'struct stat'
d2->stat.st_atim = d1->stat.st_atim;

src/shared.c:4747:31: error: no member named 'st_atim' in 'struct stat'
  d2->stat.st_atim = d1->stat.st_atim;
                     ~~~~~~~~ ^
2 errors generated.
make: *** [obj/shared.NATIVE.o] Error 1
make: *** Waiting for unfinished jobs....
@derhornspieler
Copy link
Author

For some reason I am getting compiler errors with the updated versions from github.

Cheers,

James

@jsteube
Copy link
Member

jsteube commented Jun 19, 2016

Please try again with latest master and close the issue if fixed. Thanks for reporting!

@jsteube jsteube reopened this Jun 19, 2016
@derhornspieler
Copy link
Author

worked like a charm with the make command. Cheers!!

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