This does not look promising.
Code: Select all
$ ./recompile.sh
Downloading lifelib...
Submodule 'lifelib' (https://gitlab.com/apgoucher/lifelib.git) registered for path 'lifelib'
Cloning into 'lifelib'...
remote: Counting objects: 198, done.
remote: Compressing objects: 100% (125/125), done.
remote: Total 198 (delta 122), reused 131 (delta 73)
Receiving objects: 100% (198/198), 340.26 KiB | 0 bytes/s, done.
Resolving deltas: 100% (122/122), done.
Checking connectivity... done.
Submodule path 'lifelib': checked out '9ccfb5615e1cbbb482986ede6918c38cfa3c84ac'
Skipping updates; use --update to update apgmera automatically.
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Valid rulestring: b3s23
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Valid symmetry: C1
Success!
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 main.cpp -o main.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 includes/sha256.cpp -o includes/sha256.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 includes/md5.cpp -o includes/md5.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 includes/happyhttp.cpp -o includes/happyhttp.o
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:157:2: error: ‘fd_set’ was not declared in this scope
fd_set fds;
^
includes/happyhttp.cpp:158:12: error: ‘fds’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:158:16: error: ‘FD_ZERO’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:159:21: error: ‘FD_SET’ was not declared in this scope
FD_SET( sock, &fds );
^
includes/happyhttp.cpp:165:47: error: ‘select’ was not declared in this scope
int r = select( sock+1, &fds, NULL, NULL, &tv);
^
includes/happyhttp.cpp:169:27: error: ‘FD_ISSET’ was not declared in this scope
if( FD_ISSET( sock, &fds ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Connection::request(const char*, const char*, const char**, const unsigned char*, int)’:
includes/happyhttp.cpp:333:44: error: ‘strcasecmp’ was not declared in this scope
if( 0==_stricmp( name, "content-length" ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Response::BeginBody()’:
includes/happyhttp.cpp:868:44: error: ‘strcasecmp’ was not declared in this scope
if( trenc && 0==_stricmp( trenc, "chunked") )
^
includes/happyhttp.cpp: In member function ‘bool happyhttp::Response::CheckClose()’:
includes/happyhttp.cpp:928:42: error: ‘strcasecmp’ was not declared in this scope
if( conn && 0==_stricmp( conn, "close" ) )
^
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
makefile:45: recipe for target 'includes/happyhttp.o' failed
make: *** [includes/happyhttp.o] Error 1
And when i tried compiling it a second time:
Code: Select all
$ sh recompile.sh
Skipping updates; use --update to update apgmera automatically.
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Valid rulestring: b3s23
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Valid symmetry: C1
Success!
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 main.cpp -o main.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 includes/happyhttp.cpp -o includes/happyhttp.o
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:157:2: error: ‘fd_set’ was not declared in this scope
fd_set fds;
^
includes/happyhttp.cpp:158:12: error: ‘fds’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:158:16: error: ‘FD_ZERO’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:159:21: error: ‘FD_SET’ was not declared in this scope
FD_SET( sock, &fds );
^
includes/happyhttp.cpp:165:47: error: ‘select’ was not declared in this scope
int r = select( sock+1, &fds, NULL, NULL, &tv);
^
includes/happyhttp.cpp:169:27: error: ‘FD_ISSET’ was not declared in this scope
if( FD_ISSET( sock, &fds ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Connection::request(const char*, const char*, const char**, const unsigned char*, int)’:
includes/happyhttp.cpp:333:44: error: ‘strcasecmp’ was not declared in this scope
if( 0==_stricmp( name, "content-length" ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Response::BeginBody()’:
includes/happyhttp.cpp:868:44: error: ‘strcasecmp’ was not declared in this scope
if( trenc && 0==_stricmp( trenc, "chunked") )
^
includes/happyhttp.cpp: In member function ‘bool happyhttp::Response::CheckClose()’:
includes/happyhttp.cpp:928:42: error: ‘strcasecmp’ was not declared in this scope
if( conn && 0==_stricmp( conn, "close" ) )
^
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
makefile:45: recipe for target 'includes/happyhttp.o' failed
make: *** [includes/happyhttp.o] Error 1
No charm the third time:
Code: Select all
$ bash recompile.sh
Skipping updates; use --update to update apgmera automatically.
Rule unspecified; assuming b3s23.
Symmetry unspecified; assuming C1.
Configuring rule b3s23; symmetry C1
Valid rulestring: b3s23
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Rule integer: 6152
Rule circuit: [-131-124-450-014-672]
Valid symmetry: C1
Success!
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 main.cpp -o main.o
g++ -c -Wall -O3 -march=native -fopenmp -DUSE_OPEN_MP --std=c++11 includes/happyhttp.cpp -o includes/happyhttp.o
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:157:2: error: ‘fd_set’ was not declared in this scope
fd_set fds;
^
includes/happyhttp.cpp:158:12: error: ‘fds’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:158:16: error: ‘FD_ZERO’ was not declared in this scope
FD_ZERO( &fds );
^
includes/happyhttp.cpp:159:21: error: ‘FD_SET’ was not declared in this scope
FD_SET( sock, &fds );
^
includes/happyhttp.cpp:165:47: error: ‘select’ was not declared in this scope
int r = select( sock+1, &fds, NULL, NULL, &tv);
^
includes/happyhttp.cpp:169:27: error: ‘FD_ISSET’ was not declared in this scope
if( FD_ISSET( sock, &fds ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Connection::request(const char*, const char*, const char**, const unsigned char*, int)’:
includes/happyhttp.cpp:333:44: error: ‘strcasecmp’ was not declared in this scope
if( 0==_stricmp( name, "content-length" ) )
^
includes/happyhttp.cpp: In member function ‘void happyhttp::Response::BeginBody()’:
includes/happyhttp.cpp:868:44: error: ‘strcasecmp’ was not declared in this scope
if( trenc && 0==_stricmp( trenc, "chunked") )
^
includes/happyhttp.cpp: In member function ‘bool happyhttp::Response::CheckClose()’:
includes/happyhttp.cpp:928:42: error: ‘strcasecmp’ was not declared in this scope
if( conn && 0==_stricmp( conn, "close" ) )
^
includes/happyhttp.cpp: In function ‘bool happyhttp::datawaiting(int)’:
includes/happyhttp.cpp:173:1: warning: control reaches end of non-void function [-Wreturn-type]
}
^
makefile:45: recipe for target 'includes/happyhttp.o' failed
make: *** [includes/happyhttp.o] Error 1