Re: Trouble Compiling IFMAIL on RedHat 6.0

Marc SCHAEFER (schaefer@alphanet.ch)
9 Jun 1999 13:14:34 +0200

Jim <bayers@U.Arizona.EDU> wrote:
> DSLAVE_SENDS_NAK_TOO -DNEED_FORK -DINT32=long -DINT16=short ifmail.c
> ifmail.c: In function `main':
> ifmail.c:84: warning: implicit declaration of function `getopt'
> ifmail.c:85: `optarg' undeclared (first use in this function)
> ifmail.c:85: (Each undeclared identifier is reported only once
> ifmail.c:85: for each function it appears in.)
> ifmail.c:149: `optind' undeclared (first use in this function)

Check that ifmail.c has a line like:

#include <stdarg.h>