[ale] Cant compile

Mark A. Robinson m2a at avana.net
Thu Jan 2 19:12:36 EST 1997


Mark A. Robinson (M2A) wrote:
> 
> Gert, when I try to compile on the 2.1.5 kernel, I get the following
> message right after I run make:
> _______________________________________________________________________
> m2a:/mgetty-0.98# make
> gcc -O2 -Wall -pipe -DFAX_SPOOL_IN=\"/var/spool/fax/incoming\" \
>         -DCONFDIR=\"/usr/local/etc/mgetty+sendfax\" -c mgetty.c
> In file included from mgetty.c:26:
> policy.h:84: parse error before `DEVICE_OWNER'
> 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:31,
>                  from mgetty.c:27:
> /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 `main':
> mgetty.c:192: storage size of `tio' isn't known
> mgetty.c:258: `LOG_PATH' undeclared (first use this function)
> mgetty.c:258: (Each undeclared identifier is reported only once
> mgetty.c:258: for each function it appears in.)
> mgetty.c:192: warning: unused variable `tio'
> make: *** [mgetty.o] Error 1
> ________________________________________________________________________
> 
> I got the same message compiling under 2.0.27.
> If I don't customize policy.h at all, then it will compile, but it won't
> work.
> 
> when I compile, it does'nt get past the first configured line in
> policy.h. I am running gcc 2.7.2.1.
> 
> If you can give me a clue as to what I should do, would appreciate it
> greatly. Yes, I read all the documentation that I could to try to get it
> to run.
> 
> Thanks,
> Mark Robinson






More information about the Ale mailing list