Re: 1.06 fails to build - freeBSD

Atom 'Smasher' <[email protected]>
Newsgroups gmane.mail.spam.hashcash
Message-ID <20040911170809.R58618@willy_wonka>
-----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);




 	...atom

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

 	"If a nation values anything more than freedom, it will lose
 	 its freedom; and the irony of it is that if it is comfort
 	 or money it values more, it will lose that, too."
 		-- W. Somerset Maugham
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.3.6 (FreeBSD)
Comment: What is this gibberish?
Comment: http://atom.smasher.org/links/#digital_signatures

iQEcBAEBCAAGBQJBQ2qHAAoJEAx/d+cTpVciDIAH/RGIWSsPOiEdGOXb5Z7XBPpb
0ThYweYlFcTVtF7236ZWiwPyGmq+4/jaGmHHcS7O2IKio33OlPhUiKupCF09ygLE
vWguLbETLaEU2M7nuc3xJvYuUnhJJIzcrrZCUTH/ycAlgyWXLkHCjIO4e7bjmNM7
2w35EsKO0XnyqBDNfP/N8OlbLnLQaULQK5+Ku/28D+y8QPIdb0pnIcxleIw7wHqT
jXXVRPlvh2Je6fBzOcXYu0xGQpAtYodWHqq14SeyJTJAoyc0KoHx1VEx2dMkbdbe
yDWdb3Y3JZPzsEeTm1/9zGn2B+5kGSzOeKPByQyifZSmVnPyI/YGtn7rXIWVCtM=
=hAgM
-----END PGP SIGNATURE-----
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.