Trouble Compiling IFMAIL on RedHat 6.0

Jim (bayers@U.Arizona.EDU)
Sun, 30 May 1999 13:05:38 -0700

Hi all -

I am new to unix.

I downloaded ifmail-2.14

I went through the CONFIG file, the only change I made was to put the
binaries in the /usr/sbin directory.

When I compiled it, I got:

make[1]: Entering directory `/usr/src/ifmail-2.14/ifgate'
gcc -c -O2 -Wall -I../iflib -DNEWSLOG=LOG_LOCAL0 -DMAILLOG=LOG_LOCAL0 -DNEWS
SPOO
L=\""/var/spool/news"\" -DHAS_STATFS -DSTATFS_IN_VFS_H -DHAS_SETSID -DHAS_ND
BM_H
-DDONT_HAVE_TM_GMTOFF -DHAS_TERMIOS_H -DASCII_LOCKFILES -DHAS_FSYNC -DHAS_I
OCTL
_H -DHAS_REGEX_H -DHAS_TCP -DFORCEINTL -DHAS_SYSLOG -DNEED_UUCPFROM -DNEED_B
SY -
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)
make[1]: *** [ifmail.o] Error 1
make[1]: Leaving directory `/usr/src/ifmail-2.14/ifgate'
make: *** [all] Error 2

Then it exits. Any ideas?

TIA,

- Jim