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

macOS / OS X: has someone managed to make & install it? #1

Open
JayBrown opened this issue Feb 15, 2017 · 0 comments
Open

macOS / OS X: has someone managed to make & install it? #1

JayBrown opened this issue Feb 15, 2017 · 0 comments

Comments

@JayBrown
Copy link

Has someone managed to make & install it on OS X? I'm on 10.11.6, and I'm getting 3 warnings and 2 errors:

/usr/bin/cc -fstack-protector -W -Wall -Wformat=2 -Wshadow -g -O2   -c -o main.o main.c
In file included from main.c:33:
./lib/compat_sha1.h:38:2: error: "No SHA-1 calculation function available!"
#error "No SHA-1 calculation function available!"
 ^
main.c:134:22: error: variable has incomplete type 'struct compat_sha1'
  struct compat_sha1 sha1_ctx;
                     ^
main.c:134:10: note: forward declaration of 'struct compat_sha1'
  struct compat_sha1 sha1_ctx;
         ^
main.c:144:5: warning: implicit declaration of function 'compat_sha1_init' is invalid in C99 [-Wimplicit-function-declaration]
    compat_sha1_init(&sha1_ctx);
    ^
main.c:159:9: warning: implicit declaration of function 'compat_sha1_update' is invalid in C99 [-Wimplicit-function-declaration]
        compat_sha1_update(&sha1_ctx, data, (size_t) ret);
        ^
main.c:171:5: warning: implicit declaration of function 'compat_sha1_final' is invalid in C99 [-Wimplicit-function-declaration]
    compat_sha1_final(&sha1_ctx, sha1);
    ^
3 warnings and 2 errors generated.
make[1]: *** [main.o] Error 1
make: *** [bitter] Error 2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant