HTTrack Website Copier
Free software offline browser - FORUM
Subject: Compile fails on Mac OSX 10.4.5
Author: Dev Null
Date: 03/06/2006 01:09
 
got the following when trying to compile httrack 3.40.1 on Mac OSX 10.4.5:

In file included from htsweb.c:64:
htsmd5.c: In function 'domd5mem':
htsmd5.c:81: warning: pointer targets in passing argument 1 of 'sprintf'
differ in signedness
htsmd5.c: In function 'md5sum32':
htsmd5.c:91: warning: pointer targets in passing argument 1 of 'domd5mem'
differ in signedness
htsmd5.c:90: warning: unused variable 'md5digest_'
In file included from htsweb.c:67:
htsserver.h: In function 'linputsoc':
htsserver.h:125: warning: implicit declaration of function 'recv'
htsserver.h:125: warning: nested extern declaration of 'recv'
In file included from /usr/include/netinet/in.h:78,
                 from /usr/include/netdb.h:86,
                 from htsnet.h:56,
                 from htslib.h:48,
                 from htscore.h:75,
                 from htsweb.h:41,
                 from htsweb.c:68:
/usr/include/sys/socket.h: At top level:
/usr/include/sys/socket.h:566: error: conflicting types for 'recv'
htsserver.h:125: error: previous implicit declaration of 'recv' was here



I commented out 

#include "htsserver.h" 

from htsweb.c

and reran the compile and it worked fine.



 
Reply


All articles

Subject Author Date
Compile fails on Mac OSX 10.4.5

03/06/2006 01:09




6

Created with FORUM 2.0.11