many errors on building 1.1.21
"H . Gehrke-Tschudi" (hgt@vitzlipu.ruhr.de)
Sat, 23 Oct 1999 17:31:14 +0200
When I do a make on my SuSE-Linux Distribution 5.3.
gcc version 2.7.2.1 with mgetty-1.1.21
I get :
gcc -O2 -Wall -pipe -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" -c
mgetty.c
In file included from mgetty.c:24:
policy.h:14: parse error before `MGETTY_CONFIG'
In file included from /usr/include/asm/termios.h:4,
from /usr/include/linux/termios.h:5,
from /usr/include/termios.h:28,
from tio.h:38,
from mgetty.c:25:
/usr/include/asm/termbits.h:16: parse error before `cc_t'
/usr/include/asm/termbits.h:16: warning: no semicolon at end of
struct or union
/usr/include/asm/termbits.h:17: warning: data definition has no type
or storage
class
/usr/include/asm/termbits.h:18: parse error before `}'
mgetty.c: In function `st_sig_callback':
mgetty.c:163: storage size of `tio' isn't known
mgetty.c:182: `DATA_FLOW' undeclared (first use this function)
mgetty.c:182: (Each undeclared identifier is reported only once
mgetty.c:182: for each function it appears in.)
mgetty.c:163: warning: unused variable `tio'
mgetty.c: In function `main':
mgetty.c:270: storage size of `tio' isn't known
mgetty.c:353: `LOG_PATH' undeclared (first use this function)
mgetty.c:972: `DATA_FLOW' undeclared (first use this function)
mgetty.c:270: warning: unused variable `tio'
make: *** [mgetty.o] Error 1
But I did declare DATA_FLOW ...etc in policy.h.
What is wrong?
--
Hartmut Gehrke-Tschudi * Nato-Politik ohne Filter
Bochum *http://www.iacenter.org
*http://www.wsws.org/de/
BRD *http://www.emperors-clothes.com