1.7.9 does not compile on mac

AlexNaAlexNa Posts: 32Member
I am trying to compile Serpent 1.7.9, here is what I get:

nduserca312:ethereum-serpent-1.7.9 alexn$ make && sudo make install
c++ -fPIC -c -o bignum.o bignum.cpp
c++ -fPIC -c -o util.o util.cpp
c++ -fPIC -c -o tokenize.o tokenize.cpp
c++ -fPIC -c -o lllparser.o lllparser.cpp
c++ -fPIC -c -o parser.o parser.cpp
c++ -fPIC -c -o opcodes.o opcodes.cpp
c++ -fPIC -c -o optimize.o optimize.cpp
c++ -fPIC -c -o functions.o functions.cpp
c++ -fPIC -c -o rewriteutils.o rewriteutils.cpp
c++ -fPIC -c -o preprocess.o preprocess.cpp
c++ -fPIC -c -o rewriter.o rewriter.cpp
c++ -fPIC -c -o compiler.o compiler.cpp
c++ -fPIC -c -o funcs.o funcs.cpp
c++ -fPIC -c -o cmdline.o cmdline.cpp
cmdline.cpp:13:19: warning: '&&' within '||' [-Wlogical-op-parentheses]
if (argv == 2 && std::string(argc[1]) == "--help" || std::string(argc[1]) == "-h" ) {
~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~
cmdline.cpp:13:19: note: place parentheses around the '&&' expression to silence this warning
if (argv == 2 && std::string(argc[1]) == "--help" || std::string(argc[1]) == "-h" ) {
( )
cmdline.cpp:62:31: error: use of undeclared identifier 'compileChunkToLLL'; did you mean 'compileToLLL'?
std::cout << printAST(compileChunkToLLL(input), haveSec) << "\n";
./funcs.h:26:6: note: 'compileToLLL' declared here
Node compileToLLL(std::string input);
cmdline.cpp:83:34: error: use of undeclared identifier 'prettyCompileChunk'
std::cout << printTokens(prettyCompileChunk(input)) << "\n";
cmdline.cpp:98:31: error: use of undeclared identifier 'compileChunk'
std::cout << binToHex(compileChunk(input)) << "\n";


Sign In or Register to comment.