Created
October 2, 2013 13:54
-
-
Save stevenroose/6794181 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
BitcoinArmory steven$ make | |
cd cppForSwig; make swig | |
cd leveldb; make libleveldb.a; mv libleveldb.a .. | |
c++ -I. -I./include -DOS_MACOSX -DLEVELDB_PLATFORM_POSIX -fPIC -O2 -DNDEBUG -c db/c.cc -o db/c.o | |
db/c.cc:141:15: error: use of undeclared identifier '_strdup'; did you mean | |
'strdup'? | |
*errptr = strdup(s.ToString().c_str()); | |
^~~~~~ | |
strdup | |
db/c.cc:20:16: note: expanded from macro 'strdup' | |
#define strdup _strdup | |
^ | |
/usr/include/string.h:127:7: note: 'strdup' declared here | |
char *strdup(const char *); | |
^ | |
db/c.cc:145:15: error: use of undeclared identifier '_strdup'; did you mean | |
'strdup'? | |
*errptr = strdup(s.ToString().c_str()); | |
^~~~~~ | |
strdup | |
db/c.cc:20:16: note: expanded from macro 'strdup' | |
#define strdup _strdup | |
^ | |
/usr/include/string.h:127:7: note: 'strdup' declared here | |
char *strdup(const char *); | |
^ | |
db/c.cc:250:12: error: use of undeclared identifier '_strdup'; did you mean | |
'strdup'? | |
return strdup(tmp.c_str()); | |
^~~~~~ | |
strdup | |
db/c.cc:20:16: note: expanded from macro 'strdup' | |
#define strdup _strdup | |
^ | |
/usr/include/string.h:127:7: note: 'strdup' declared here | |
char *strdup(const char *); | |
^ | |
3 errors generated. | |
make[2]: *** [db/c.o] Error 1 | |
mv: rename libleveldb.a to ../libleveldb.a: No such file or directory | |
make[1]: *** [libleveldb.a] Error 1 | |
make: *** [all] Error 2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment