[hashcash] Re: 1.06 fails to build - freeBSD

  • From: Atom 'Smasher' <atom@xxxxxxxxxxxxxx>
  • To: hashcash@xxxxxxxxxxxxx
  • Date: Sat, 11 Sep 2004 16:56:12 -0400 (EDT)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On Sat, 11 Sep 2004, Jonathan Morton wrote:

this is as far as 1.06 gets on my freeBSD box:

        # make
        "Makefile", line 5: Need an operator

Sounds like you need to use gmake (GNU make) rather than the BSD variant.
=====================

i don't think that's it:

# gmake x86
gmake "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx 
" build
gmake[1]: Entering directory `/usr/home/alpha/dmz/hashcash-1.06' cc 
-DREGEXP_POSIX -O3 -funroll-loops -march=i386 -mcpu=pentium -mmmx    -c -o 
getopt.o getopt.c
cc1: Invalid option `mmx'
getopt.c:175: conflicting types for `strncmp'
/usr/include/string.h:67: previous declaration of `strncmp'
gmake[1]: *** [getopt.o] Error 1
gmake[1]: Leaving directory `/usr/home/alpha/dmz/hashcash-1.06'
gmake: *** [x86] Error 2

# gmake generic
gmake "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops " build
gmake[1]: Entering directory `/usr/home/alpha/dmz/hashcash-1.06'
cc -DREGEXP_POSIX -O3 -funroll-loops    -c -o getopt.o getopt.c
getopt.c:175: conflicting types for `strncmp'
/usr/include/string.h:67: previous declaration of `strncmp'
gmake[1]: *** [getopt.o] Error 1
gmake[1]: Leaving directory `/usr/home/alpha/dmz/hashcash-1.06'
gmake: *** [generic] Error 2

time to fight with the Makefile...


...atom

 _________________________________________
 PGP key - http://atom.smasher.org/pgp.txt
 762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
 -------------------------------------------------

        "Arbeit Macht Frei"
        (Work Makes You Free)
                -- sign over the gates to
                Auschwitz concentration camp
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBQ2ZyAAoJEAx/d+cTpVciUeMH/jGMkWaWZyYSFerj2cHCXVDZ
oEHQ8n4BIENVyQCOYbtHyndTwov2vHzLWQRTAKeWdx0Qv88oJSDmFjQDS0o3qMpj
LGXpt0l9FRHWm6Mv5GVJ36FgQqIoj9dhyUdRP+VmCdIzuMR69vl08YZyWRwZ1pbM
BTn3o+WMTKLFLZqGX4vTRBqCfRrMlxms69TCBL6GlhguzU9YUJrV5GEzTuVbqhQC
t6u40j+MiPJhjatvJxNrU9aH7SGyflnqlfWLVCjL6SJIiZ2HHumw5a3+mz5rbjBm
aET8GQB179nqt79YQFes4rgIXlptcyq4vq8Sdd85k/z2iQnAZEhEOWDZoQIDi5c=
=enAz
-----END PGP SIGNATURE-----

Other related posts: