On Tue, Aug 03, 2004 at 09:41:24AM -0400, Tim Faircloth wrote: > I'm having problems compiling Spamassasin... below is the output I get, > I've also included my "env" output. Can someone help? > > spamd/spamc.c:96: warning: implicit declaration of function `getopt' > spamd/spamc.c:108: error: `optarg' undeclared (first use in this function) > spamd/spamc.c:144: error: `optind' undeclared (first use in this function) > spamd/libspamc.c:927: warning: implicit declaration of function `strcasecmp' > spamd/libspamc.c:930: warning: implicit declaration of function `snprintf'
It looks like your gcc install is a bit hosed. It doesn't know about very standard things like getopt (unistd), snprintf (stdio), and strcasecmp (strings). -- Randomly Generated Tagline: It's easy to solve the halting problem with a shotgun. :-) -- Larry Wall in <[EMAIL PROTECTED]>
pgpGF6Jsa8wh3.pgp
Description: PGP signature