Fabian Keil freebsd-listen@fabiankeil.de wrote:
Yawning Angel yawning@schwanenlied.me wrote:
On Fri, 14 Feb 2014 16:17:59 +0000 Yawning Angel yawning@schwanenlied.me wrote:
What the. Ok. I'll look at that, though it is a "this should never happen" sort of situation. I think I'll end up setting up a FreeBSD VM since my FreeBSD box is on 9.1p10.
Fixed in commit 600af0991cd3ec66d45399a9496186ae58ab7ace
Awesome. FreeBSD ports are in progress ...
What I have so far is: http://www.fabiankeil.de/sourcecode/freebsd/liballium-0.0.1.shar http://www.fabiankeil.de/sourcecode/freebsd/obfsclient-0.0.1.shar
obfsclient seems to build on platforms that use clang to fulfil the c++11-lib dependency, but if gcc47 is used the build fails: https://redports.org/~fk/20140217105018-69178-176436/obfsclient-0.0.1.log
I attached a couple of patches that seem to help, but I ran out of time for now and there are still a bunch of errors left, for example: #### --- src/schwanenlied/pt/scramblesuit/obfsclient-uniform_dh_handshake.o --- src/schwanenlied/pt/scramblesuit/uniform_dh_handshake.cc: In member function 'bool schwanenlied::pt::scramblesuit::UniformDHHandshake::send_handshake_msg(bufferevent*)': src/schwanenlied/pt/scramblesuit/uniform_dh_handshake.cc:102:17: error: 'to_string' is not a member of 'std' *** [src/schwanenlied/pt/scramblesuit/obfsclient-uniform_dh_handshake.o] Error code 1 ####
Were you able to build it on your FreeBSD 9.1p10 system using gcc?
Fabian