HTTrack Website Copier
Free software offline browser - FORUM
Subject: Compile fails on OpenBSD 3.9-Beta
Author: Chris Benedict
Date: 03/05/2006 15:53
 
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.
 
Reply


All articles

Subject Author Date
Compile fails on OpenBSD 3.9-Beta

03/05/2006 15:53
Re: Compile fails on OpenBSD 3.9-Beta - correction

03/06/2006 19:20
Re: Compile fails on OpenBSD 3.9-Beta

04/02/2006 16:56




d

Created with FORUM 2.0.11