mgetty-0.97, gcc 2.5.8, Linux 1.2.11 -> compile problem

Jan Richert (jrichert@krefcom.westfalen.de)
Fri, 3 Nov 1995 19:56:25 +0100


Trying to compile mgetty in the environment described in the
subject line results in this:

gcc -O2 -Wall -pipe   -c logfile.c -o logfile.o
In file included from /usr/include/sys/syslog.h:173,
                 from /usr/include/syslog.h:1,
                 from logfile.c:19:
/usr/lib/gcc-lib/i486-linux/2.5.8/include/stdarg.h:69: warning: `va_start' redefined
/usr/lib/gcc-lib/i486-linux/2.5.8/include/varargs.h:89: warning: this is the location of the previous definition
logfile.c:202: macro `va_start' used with just one arg
logfile.c: In function `lprintf':
logfile.c:202: `va_start' used in function with fixed args
make: *** [logfile.o] Error 1

Any hints?


-- 
  Jan Richert, Muenster, FRG  | Internet:   jrichert@krefcom.westfalen.de
------------------------------+ T Online:   0250125425-0001
Voice:    +49 2501 25425      | IBM VNET:   I1292141 AT IBMMAIL
Fax:      +49 2501 25423      | IRC-Nick:   jrichert
Data:     +49 2501 25252      | GSM:        +49 172 9204915