On Sat, May 26, 2007 at 09:15:51AM +0800, Li-Hui Zhou wrote: > svn rev. 10349, compiled by MinGW gcc 3.4.2 > > Compile Error reported as follow: > > make[3]: Entering directory > `/d/CompileProject/tor-mingw/tor-svn/tor/src/common' > if gcc -DHAVE_CONFIG_H -I. -I. -I../.. -g -O2 -Wall -g -O2 -MT log.o -MD -MP -MF ".deps/log.Tpo" -c -o log.o log.c; \ > then mv -f ".deps/log.Tpo" ".deps/log.Po"; else rm -f ".deps/log.Tpo"; exit 1; fi > In file included from ./util.h:17, > from log.c:25: > ./compat.h:249: error: redefinition of `struct in6_addr' > ./compat.h:250: warning: no semicolon at end of struct or union > ./compat.h:250: error: syntax error before '.' token > make[3]: *** [log.o] Error 1 > make[3]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor/src/common' > make[2]: *** [all-recursive] Error 1 > make[2]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor/src' > make[1]: *** [all-recursive] Error 1 > make[1]: Leaving directory `/d/CompileProject/tor-mingw/tor-svn/tor' > make: *** [all] Error 2 > Try re-running configure on the latest svn? Is HAVE_STRUCT_IN6_ADDR is defined in orconfig.h? Where is struct in6_addr defined in your system headers? yrs, -- Nick Mathewson
Attachment:
pgpSZaDaZaSu1.pgp
Description: PGP signature