View Single Post
  #1   (View Single Post)  
Old 23rd March 2018
gpatrick gpatrick is offline
Spam Deminer
 
Join Date: Nov 2009
Posts: 245
Default Zotonic an Erlang CMS

Erlang CMS Zotonic
Code:
$ gmake
...
./rebar3 compile
===> Verifying dependencies...
===> Compiling bcrypt
===> Compiling /usr/local/zotonic/_build/default/lib/bcrypt/c_src/bcrypt.c
===> /usr/local/zotonic/_build/default/lib/bcrypt/c_src/bcrypt.c:66:5: error: conflicting types for 'bcrypt'
int bcrypt(char *, const char *, const char *);
    ^

/usr/include/pwd.h:111:8: note: previous declaration is here
char                  *bcrypt(const char*, const char *);
                       ^

/usr/local/zotonic/_build/default/lib/bcrypt/c_src/bcrypt.c:146:1: error: conflicting types for 'bcrypt'
bcrypt(char * encrypted, const char *key, const char *salt)
^

/usr/include/pwd.h:111:8: note: previous declaration is here
char                 *bcrypt(const char *, const char *);
                      ^

2 errors generated.

gmake: *** [GNUmakefile:27: compile] Error 1
Reply With Quote