[tor-talk] Compilation error in tor-0.2.2.35 FreeBSD
grarpamp
grarpamp at gmail.com
Thu Mar 22 10:49:48 UTC 2012
On FreeBSD RELENG_4 i386 gcc 2.95.4+, I get this:
container.c: In function `smartlist_ensure_capacity':
container.c:72: `SIZE_MAX' undeclared (first use in this function)
container.c:72: (Each undeclared identifier is reported only once
container.c:72: for each function it appears in.)
SIZE_MAX is not defined in the tarball or /usr/include.
You can find any needed /usr/include .. machine .. *.h here:
http://www.freebsd.org/cgi/cvsweb.cgi/src/include/?only_with_tag=RELENG_4
http://svnweb.freebsd.org/base/stable/4/include/
I intended this note to contain a patch against 0.2.2.32 in
continuance of a former thread, but of course I lost it and
have to start over. It should be forthcoming.
This error is new somewhere in 0.2.2.33-35.
Any fix I can include?
Here are some warnings as well:
In file included from address.c:44:
/usr/include/sys/param.h:213: warning: `MIN' redefined
compat.h:649: warning: this is the location of the previous definition
/usr/include/sys/param.h:214: warning: `MAX' redefined
compat.h:646: warning: this is the location of the previous definition
More information about the tor-talk
mailing list