2002-09-13 09:10:21

by Gabor Z. Papp

[permalink] [raw]
Subject: Re: Linux 2.4.20-pre7 (TIOCM_MODEM_BITS undeclared)

libc-2.2.5.so
gcc 2.95.4-cvs
GNU ld version 2.12.90.0.4 20020408

make -C irda modules
make[3]: Entering directory `/usr/src/linux-2.4.20-pre7-gzp3/drivers/net/irda'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-pre7-gzp3/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common -fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=i686 -DMODULE -nostdinc -iwithprefix include -DKBUILD_BASENAME=irtty -c -o irtty.o irtty.c
irtty.c: In function `irtty_set_dtr_rts':
irtty.c:761: `TIOCM_MODEM_BITS' undeclared (first use in this function)
irtty.c:761: (Each undeclared identifier is reported only once
irtty.c:761: for each function it appears in.)
make[3]: *** [irtty.o] Error 1
make[3]: Leaving directory `/usr/src/linux-2.4.20-pre7-gzp3/drivers/net/irda'
make[2]: *** [_modsubdir_irda] Error 2
make[2]: Leaving directory `/usr/src/linux-2.4.20-pre7-gzp3/drivers/net'
make[1]: *** [_modsubdir_net] Error 2
make[1]: Leaving directory `/usr/src/linux-2.4.20-pre7-gzp3/drivers'
make: *** [_mod_drivers] Error 2

Same with pre6.