make -C ../i2psam -f makefile.unix
make[1]: Entering directory `/home/diatonic/anoncoin/i2psam'
g++ -c -m64 -pipe -O2 -fPIC -Wall -W -D_REENTRANT -o i2psam.o i2psam.cpp
i2psam.cpp: In member function ‘void SAM::Socket::close()’:
i2psam.cpp:195:9: error: ‘::close’ has not been declared
make[1]: *** [i2psam.o] Error 1
make[1]: Leaving directory `/home/diatonic/anoncoin/i2psam'
make: *** [i2psam] Error 2
help?
We have verified that the code does compile successfully on Ubuntu 12.04 LTS. I do not know why it would fail on Debian. Can you tell us which Debian and g++ you are using?
I will setup a lab machine with the same version to do troubleshooting.