telehash / telehash-c

telehash tools library in c
MIT License
122 stars 31 forks source link

make fails on Ubuntu 15.04 #72

Closed jbdatko closed 9 years ago

jbdatko commented 9 years ago

cloned fresh repo, ran make on master and build fails with:

jbd@magrathea ~/repos/telehash-c (master) $ make
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/lob.c -o src/lib/lob.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/hashname.c -o src/lib/hashname.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/xht.c -o src/lib/xht.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/js0n.c -o src/lib/js0n.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/base32.c -o src/lib/base32.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/chacha.c -o src/lib/chacha.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/lib/murmur.c -o src/lib/murmur.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/e3x.c -o src/e3x/e3x.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/channel.c -o src/e3x/channel.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/self.c -o src/e3x/self.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/exchange.c -o src/e3x/exchange.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/event.c -o src/e3x/event.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cipher.c -o src/e3x/cipher.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/mesh.c -o src/mesh.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/link.c -o src/link.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/pipe.c -o src/pipe.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/ext/stream.c -o src/ext/stream.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/ext/block.c -o src/ext/block.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/net/loopback.c -o src/net/loopback.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/net/udp4.c -o src/net/udp4.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/net/tcp4.c -o src/net/tcp4.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/net/serial.c -o src/net/serial.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/util/util.c -o src/util/util.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/util/uri.c -o src/util/uri.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/util/chunks.c -o src/util/chunks.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/unix/util.c -o src/unix/util.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/unix/util_sys.c -o src/unix/util_sys.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/aes.c -o src/e3x/cs1a/aes.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/hmac.c -o src/e3x/cs1a/hmac.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/aes128.c -o src/e3x/cs1a/aes128.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/cs1a.c -o src/e3x/cs1a/cs1a.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/uECC.c -o src/e3x/cs1a/uECC.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs1a/sha256.c -o src/e3x/cs1a/sha256.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs2a_disabled.c -o src/e3x/cs2a_disabled.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/e3x/cs3a_disabled.c -o src/e3x/cs3a_disabled.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c util/idgen.c -o util/idgen.o
gcc -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -o bin/idgen src/lib/lob.o src/lib/hashname.o src/lib/xht.o src/lib/js0n.o src/lib/base32.o src/lib/chacha.o src/lib/murmur.o src/e3x/e3x.o src/e3x/channel.o src/e3x/self.o src/e3x/exchange.o src/e3x/event.o src/e3x/cipher.o src/mesh.o src/link.o src/pipe.o src/ext/stream.o src/ext/block.o src/net/loopback.o src/net/udp4.o src/net/tcp4.o src/net/serial.o src/util/util.o src/util/uri.o src/util/chunks.o src/unix/util.o src/unix/util_sys.o src/e3x/cs1a/aes.o src/e3x/cs1a/hmac.o src/e3x/cs1a/aes128.o src/e3x/cs1a/cs1a.o src/e3x/cs1a/uECC.o src/e3x/cs1a/sha256.o src/e3x/cs2a_disabled.o src/e3x/cs3a_disabled.o util/idgen.o 
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c util/router.c -o util/router.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/ext/router.c -o src/ext/router.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/ext/path.c -o src/ext/path.o
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c src/ext/peer.c -o src/ext/peer.o
gcc -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -o bin/router src/lib/lob.o src/lib/hashname.o src/lib/xht.o src/lib/js0n.o src/lib/base32.o src/lib/chacha.o src/lib/murmur.o src/e3x/e3x.o src/e3x/channel.o src/e3x/self.o src/e3x/exchange.o src/e3x/event.o src/e3x/cipher.o src/mesh.o src/link.o src/pipe.o src/ext/stream.o src/ext/block.o src/net/loopback.o src/net/udp4.o src/net/tcp4.o src/net/serial.o src/util/util.o src/util/uri.o src/util/chunks.o src/unix/util.o src/unix/util_sys.o src/e3x/cs1a/aes.o src/e3x/cs1a/hmac.o src/e3x/cs1a/aes128.o src/e3x/cs1a/cs1a.o src/e3x/cs1a/uECC.o src/e3x/cs1a/sha256.o src/e3x/cs2a_disabled.o src/e3x/cs3a_disabled.o util/router.o src/ext/router.o src/ext/path.o src/ext/peer.o 
gcc -Iinclude -Iinclude/lib -Iunix -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -c util/ping.c -o util/ping.o
gcc -g -Wall -Wextra -Wno-unused-parameter -DDEBUG -o bin/ping src/lib/lob.o src/lib/hashname.o src/lib/xht.o src/lib/js0n.o src/lib/base32.o src/lib/chacha.o src/lib/murmur.o src/e3x/e3x.o src/e3x/channel.o src/e3x/self.o src/e3x/exchange.o src/e3x/event.o src/e3x/cipher.o src/mesh.o src/link.o src/pipe.o src/ext/stream.o src/ext/block.o src/net/loopback.o src/net/udp4.o src/net/tcp4.o src/net/serial.o src/util/util.o src/util/uri.o src/util/chunks.o src/unix/util.o src/unix/util_sys.o src/e3x/cs1a/aes.o src/e3x/cs1a/hmac.o src/e3x/cs1a/aes128.o src/e3x/cs1a/cs1a.o src/e3x/cs1a/uECC.o src/e3x/cs1a/sha256.o src/e3x/cs2a_disabled.o src/e3x/cs3a_disabled.o util/ping.o src/ext/path.o 
rm -f libtelehash.a
ar crs libtelehash.a src/lib/lob.o src/lib/hashname.o src/lib/xht.o src/lib/js0n.o src/lib/base32.o src/lib/chacha.o src/lib/murmur.o src/e3x/e3x.o src/e3x/channel.o src/e3x/self.o src/e3x/exchange.o src/e3x/event.o src/e3x/cipher.o src/mesh.o src/link.o src/pipe.o src/ext/stream.o src/ext/block.o src/net/loopback.o src/net/udp4.o src/net/tcp4.o src/net/serial.o src/util/util.o src/util/uri.o src/util/chunks.o src/unix/util.o src/unix/util_sys.o src/e3x/cs1a/aes.o src/e3x/cs1a/hmac.o src/e3x/cs1a/aes128.o src/e3x/cs1a/cs1a.o src/e3x/cs1a/uECC.o src/e3x/cs1a/sha256.o src/e3x/cs2a_disabled.o src/e3x/cs3a_disabled.o
sed: can't read /#include "/d: No such file or directory
Makefile:61: recipe for target 'static' failed
make: *** [static] Error 2