| I'm trying to compile httrack-3.40.1 on my OpenBSD .39-Beta i386 system, but it
failed. What do I need to do to get it to compile? Here is the error:
(cd .libs && rm -f libhttrack.la && ln -s ../libhttrack.la libhttrack.la)
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -O -g3 -Wall -Wcast-align
-Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations
-Wpointer-arith -Wnested-externs -D_REENTRANT -DINET6
-DPREFIX=\""/usr/local"\" -DSYSCONFDIR=\""/usr/local/etc"\"
-DDATADIR=\""/usr/local/share"\" -DLIBDIR=\""/usr/local/lib"\"
-I/usr/include -DNO_MALLOCT -g -O2 -MT proxytrack-main.o -MD -MP -MF
".deps/proxytrack-main.Tpo" -c -o proxytrack-main.o `test -f 'proxy/main.c'
|| echo './'`proxy/main.c; then mv -f ".deps/proxytrack-main.Tpo"
".deps/proxytrack-main.Po"; else rm -f ".deps/proxytrack-main.Tpo"; exit 1;
fi
In file included from proxy/main.c:38:
proxy/store.h:71: error: syntax error before "PT_Mutex"
proxy/store.h:71: warning: type defaults to `int' in declaration of
`PT_Mutex'
proxy/store.h:71: warning: data definition has no type or storage class
proxy/store.h:74: error: syntax error before '*' token
proxy/store.h:74: warning: function declaration isn't a prototype
proxy/store.h:75: error: syntax error before '*' token
proxy/store.h:75: warning: function declaration isn't a prototype
proxy/store.h:76: error: syntax error before '*' token
proxy/store.h:76: warning: function declaration isn't a prototype
proxy/store.h:77: error: syntax error before '*' token
proxy/store.h:77: warning: function declaration isn't a prototype
htslib.h:424: warning: `strcmpnocase' defined but not used
proxy/proxytrack.h:115: warning: `gethomedir' defined but not used
proxy/proxytrack.h:141: warning: `link_has_authority' defined but not used
proxy/proxytrack.h:192: warning: `jump_protocol_and_auth' defined but not
used
proxy/proxytrack.h:207: warning: `linput_trim' defined but not used
proxy/proxytrack.h:242: warning: `concat' defined but not used
proxy/proxytrack.h:256: warning: `fexist' defined but not used
*** Error code 1
Stop in /usr/home/chris/httrack-3.40.1/src (line 713 of Makefile).
*** Error code 1
Stop in /usr/home/chris/httrack-3.40.1 (line 238 of Makefile).
*** Error code 1
Stop in /usr/home/chris/httrack-3.40.1 (line 168 of Makefile).
If you need any more information let me know. | |