compiling

azmo (azmo@tux.Q8Connections.com)
Fri, 23 Jul 1999 11:55:38 +0300


Hello,
Actually this is my first time to compile and configure mgetty.
i downloaded mgetty-1.1.20 , first of all i copied policy.h-dist to
policy.h then i edited policy.h and removed all comments for the lines
which i need and i edited the Makefile after that i typed make i got tis
error which i will paste may u help me to fix it please?
the error:
Server:~/mgetty-1.1.20# make
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: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:353: (Each undeclared identifier is reported only once
mgetty.c:353: for each function it appears in.)
mgetty.c:270: warning: unused variable `tio'
make: *** [mgetty.o] Error 1
Server:~/mgetty-1.1.20#                                                       

i know it is too long but sorry
Thanks Alot
bye