Re: 1.06 fails to build - freeBSD

Adam Back <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <[email protected]>
Yes this causes problems with IRIX(*) cc also I've noticed.

Just comment out those lines in the source, the next version will do
that for you...

(* I Just benchmarked a 180Mhz MIPS R10000 processor on my old
university account.  They bought that system about 10 years ago, at
the time it was probably quite heavy iron -- it does have 4 of these
processors and 1/2 Gig of RAM and 65GB of disk -- not bad for 10 years
ago when PCs were what 386/486 was the highend.  Oh yes -- it clocks
in about 1/3 under a 200Mhz pentium at 2.1Mh/s (or 5s per 20-bit
stamp)).

Adam

On Sat, Sep 11, 2004 at 05:13:37PM -0400, Atom 'Smasher' wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA256
> 
> (responding to self)
> 
> On Sat, 11 Sep 2004, Atom 'Smasher' wrote:
> 
> >	getopt.c:175: conflicting types for `strncmp'
> >	/usr/include/string.h:67: previous declaration of `strncmp'
> =============
> 
> this should shed light on what's happening... is freeBSD string.h 
> different from GNU string.h? has anyone successfully built this on OS-X?
> 
> 
> # cat -n /usr/include/string.h | egrep 67
>     67	int	 strncmp __P((const char *, const char *, size_t));
> 
> # cat -n getopt.c | egrep 175
>    175	extern int  strncmp(const char *s1, const char *s2, int n);
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.