Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread grarpamp
> Wow. Your compiler doesn't like 'double d; printf("%lf", d);' . > That's pretty... special. :) I'm sure at the time gcc 2.95.4 was pretty typical. The fact that I've got such a relic, yeah... special :) This may be where it's coming from, gcc(1): -Wformat is included in -Wall. = 1.c

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread Nick Mathewson
On Tue, Aug 30, 2011 at 9:10 PM, grarpamp wrote: >> circuitbuild.c:4134: warning: preprocessing directive not recognized >> within macro arg >> circuitbuild.c: In function `choose_random_entry': >> circuitbuild.c:4108: undefined or invalid # directive >> circuitbuild.c:4122: undefined or invalid #

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread Nick Mathewson
On Tue, Aug 30, 2011 at 6:10 PM, grarpamp wrote: >> try this patch: > > Give me a few minutes, will do it now. > > In the meantime, here's another issue... Wow. Your compiler doesn't like 'double d; printf("%lf", d);' . That's pretty... special. :) Attached are two more patches. Let us know

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread grarpamp
> circuitbuild.c:4134: warning: preprocessing directive not recognized > within macro arg > circuitbuild.c: In function `choose_random_entry': > circuitbuild.c:4108: undefined or invalid # directive > circuitbuild.c:4122: undefined or invalid # directive > *** Error code 1 Here's my current patch.

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread grarpamp
> try this patch: I applied this one, it works. Thanks :) Next would be the error stop in my previous note. diff -u --- tor-0.2.2.32/src/common/torgzip.c.orig Fri Aug 26 19:10:58 2011 +++ tor-0.2.2.32/src/common/torgzip.c Tue Aug 30 18:12:37 2011 @@ -14,11 +14,12 @@ #include #include

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread grarpamp
> try this patch: Give me a few minutes, will do it now. In the meantime, here's another issue... source='circuitbuild.c' object='circuitbuild.o' libtool=no DEPDIR=.deps depmode=gcc /bin/sh ../../depcomp gcc -DHAVE_CONFIG_H -I. -I../.. -DSHARE_DATADIR="\"/tmp/tor02232/share\"" -DLOCALSTATEDIR=

Re: [tor-talk] tor-0.2.2.32 compilation failure

2011-08-30 Thread Sebastian Hahn
On Aug 30, 2011, at 10:59 PM, grarpamp wrote: > Hi. I have a box: i386 FreeBSD RELENG_4, GCC 2.95.4. > openssl 0.9.8r, libevent 1.4.14b. > > tor-0.2.1.30 is fine with the above. > With tor-0.2.2.32 I get this. Any ideas? Thanks. try this patch: diff --git a/src/common/torgzip.c b/src/common/to