MinGW compile errors with svn version 10742

Li-Hui Zhou lhzhou at yeah.net
Fri Jul 6 02:16:46 UTC 2007


The errors read as following:

$ make
make  all-recursive
make[1]: Entering directory `/d/CompileProject/tor-mingw/tor-svn/tor'
Making all in src
make[2]: Entering directory `/d/CompileProject/tor-mingw/tor-svn/tor/src'
Making all in common
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
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -Wall -g -O2 -MT util.o -MD -MP -MF ".deps/util.Tpo" -c -o util.o util.c; \
then mv -f ".deps/util.Tpo" ".deps/util.Po"; else rm -f ".deps/util.Tpo"; exit 1; fi
if gcc -DHAVE_CONFIG_H -I. -I. -I../..     -g -O2 -Wall -g -O2 -MT compat.o -MD -MP -MF ".deps/compat.Tpo" -c -o compat.o compat.c; \
then mv -f ".deps/compat.Tpo" ".deps/compat.Po"; else rm -f ".deps/compat.Tpo"; exit 1; fi
compat.c: In function `tor_mutex_new':
compat.c:1501: error: syntax error before "m"
compat.c:1502: error: `r' undeclared (first use in this function)
compat.c:1502: error: (Each undeclared identifier is reported only once
compat.c:1502: error: for each function it appears in.)
compat.c:1502: error: `m' undeclared (first use in this function)
compat.c:1503: warning: type defaults to `int' in declaration of `type name'
compat.c: At top level:
compat.c:1649: error: syntax error before "smartlist_t"
compat.c:1649: warning: no semicolon at end of struct or union
compat.c: In function `tor_cond_new':
compat.c:1654: error: invalid application of `sizeof' to incomplete type `compat.h' 
compat.c:1655: error: dereferencing pointer to incomplete type
compat.c:1655: error: wrong type argument to unary exclamation mark
compat.c:1659: error: dereferencing pointer to incomplete type
compat.c:1659: warning: implicit declaration of function `smartlist_create'
compat.c: In function `tor_cond_free':
compat.c:1666: error: dereferencing pointer to incomplete type
compat.c:1668: warning: implicit declaration of function `smartlist_free'
compat.c:1668: error: dereferencing pointer to incomplete type
compat.c: At top level:
compat.c:1673: error: conflicting types for 'tor_cond_wait'
compat.h:367: error: previous declaration of 'tor_cond_wait' was here
compat.c:1673: error: conflicting types for 'tor_cond_wait'
compat.h:367: error: previous declaration of 'tor_cond_wait' was here
compat.c: In function `tor_cond_wait':
compat.c:1683: error: dereferencing pointer to incomplete type
compat.c:1686: warning: implicit declaration of function `smartlist_isin'
compat.c:1686: error: dereferencing pointer to incomplete type
compat.c:1686: error: dereferencing pointer to incomplete type
compat.c:1687: warning: implicit declaration of function `smartlist_add'
compat.c:1687: error: dereferencing pointer to incomplete type
compat.c:1689: error: dereferencing pointer to incomplete type
compat.c: In function `tor_cond_signal_one':
compat.c:1712: error: dereferencing pointer to incomplete type
compat.c:1714: warning: implicit declaration of function `smartlist_pop_last'
compat.c:1714: error: dereferencing pointer to incomplete type
compat.c:1714: warning: assignment makes pointer from integer without a cast
compat.c:1715: error: syntax error before "SetEvent"
compat.c:1717: error: dereferencing pointer to incomplete type
compat.c: In function `tor_cond_signal_all':
compat.c:1724: error: dereferencing pointer to incomplete type
compat.c:1725: warning: implicit declaration of function `SMARTLIST_FOREACH'
compat.c:1725: error: dereferencing pointer to incomplete type
compat.c:1725: error: syntax error before "HANDLE"
compat.c:1726: warning: implicit declaration of function `smartlist_clear'
compat.c:1726: error: dereferencing pointer to incomplete type
compat.c:1727: error: dereferencing pointer to incomplete type
make[3]: *** [compat.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


-- 
Li-Hui Zhou <lhzhou at yeah.net>




More information about the tor-talk mailing list