[hashcash] Re: 1.06 fails to build - freeBSD
- From: Atom 'Smasher' <atom@xxxxxxxxxxxxxx>
- To: hashcash@xxxxxxxxxxxxx
- Date: Sat, 11 Sep 2004 17:04:32 -0400 (EDT)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
On Sat, 11 Sep 2004, Adam Back wrote:
OK this is just the Makefile. If you delete everything between ifdef
and endif (lines 5-14), plus line 49 and 53 it'll work again.
Need to figure out how to do that ifdef stuff more portably. (It was
designed to not show "make <platform> blah blah" informational stuff for
humans if called from a packager such as RPM or gentoo EBUILD. Seems
ifdef is gnu Make specific).
=================
after commenting out those lines i'm still not there.
# make
make "CFLAGS=-DREGEXP_POSIX -O3 -funroll-loops " build
cc -DREGEXP_POSIX -O3 -funroll-loops -c hashcash.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c libsha1.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c libhc.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c sdb.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c utct.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c random.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c lock.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c sstring.c
cc -DREGEXP_POSIX -O3 -funroll-loops -c getopt.c
getopt.c:175: conflicting types for `strncmp'
/usr/include/string.h:67: previous declaration of `strncmp'
*** Error code 1
Stop in /usr/home/alpha/dmz/hashcash-1.06.
*** Error code 1
Stop in /usr/home/alpha/dmz/hashcash-1.06.
gmake isn't any better. it does look like it's handling the Makefile, but
choking on the source files. does that error mean the same variable name
(strncmp) is declared in two places with two different data types? like
i've said, i'm new to C.
...atom
_________________________________________
PGP key - http://atom.smasher.org/pgp.txt
762A 3B98 A3C3 96C9 C6B7 582A B88D 52E4 D9F5 7808
-------------------------------------------------
"For every dollar the boss has and didn't work for,
one of us worked for a dollar and didn't get it."
-- William 'Big Bill' Haywood
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures
iQEcBAEBCAAGBQJBQ2hlAAoJEAx/d+cTpVciuCEH/3wMape0/0/QoywciP/YNHdJ
lRhyf4VdN264ceCqp5hAEU+0TG56YeAYM3K9oho8RE0HVVfzElLMTQhYVXSpBeVg
nTMixF8kijUbHr6Xt7rKJDge3sWc3CrBN0I9JWrrGs++sSRnw6iPBeCumo3yy5N6
u/YloEQMfBCW2QONtPO7lv3QUaD4E4wssUenBZRxH0/7+tRvqCsQ8qzvcOUzPXVw
5zoGAOFrUTLcUMWmeGrsxq4o5bSKUiLid7uHON/ltTh5hKSliRLHQ8cuJg/i65Rr
qu9cqGr5RTn1EX9hyj4P/2+u97QZWTZOwwiFub2Dc8NzATFO6i02TQ9X/94Nyd4=
=CecC
-----END PGP SIGNATURE-----
- Follow-Ups:
- [hashcash] Re: 1.06 fails to build - freeBSD
- From: Atom 'Smasher'
- References:
- [hashcash] 1.06 fails to build - freeBSD
- From: Atom 'Smasher'
- [hashcash] Re: 1.06 fails to build - freeBSD
- From: Adam Back
Other related posts:
- » [hashcash] 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
- » [hashcash] Re: 1.06 fails to build - freeBSD
Need to figure out how to do that ifdef stuff more portably. (It was designed to not show "make <platform> blah blah" informational stuff for humans if called from a packager such as RPM or gentoo EBUILD. Seems ifdef is gnu Make specific).
...atom
- [hashcash] Re: 1.06 fails to build - freeBSD
- From: Atom 'Smasher'
- [hashcash] 1.06 fails to build - freeBSD
- From: Atom 'Smasher'
- [hashcash] Re: 1.06 fails to build - freeBSD
- From: Adam Back