[hashcash] Re: freeBSD 5.3 compile problems

  • From: Justin Guyett <justin@xxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Tue, 30 Nov 2004 13:07:52 +0000

On 2004-11-30T00:35:05-0500, Atom 'Smasher' wrote:
> FreeBSD 5.3-RELEASE
> hashcash-1.13
> gcc (GCC) 3.4.2
> 
> # make x86
> make "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium 
> -mmmx  -D_REENTRANT -D_THREAD_SAFE -fPIC " build
> cc -DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx  
> -D_REENTRANT -D_THREAD_SAFE -fPIC  -c hashcash.c
> `-mcpu=' is deprecated. Use `-mtune=' or '-march=' instead.
> hashcash.c:1109: error: conflicting types for 'db_purge'
> hashcash.c:121: error: previous declaration of 'db_purge' was here
> hashcash.c:1109: error: conflicting types for 'db_purge'
> hashcash.c:121: error: previous declaration of 'db_purge' was here
> *** Error code 1

Yeah, that's not good.  The prototype has "time_t real_time" while the
function has "long validity_period" as its sixth argument.


Other related posts: