2.3.41: error in mxser.c

Alexandre Hautequest hquest en istm.com.br
Lun Ene 31 20:41:56 CST 2000


gcc -D__KERNEL__ -I/usr/src/linux/include -Wall -Wstrict-prototypes -O2
-fomit-frame-pointer -fno-strict-aliasing -pipe   -DCPU=586 -march=i586
-DMODULE -DMODVERSIONS -include
/usr/src/linux/include/linux/modversions.h   -c -o mxser.o mxser.c
mxser.c:239: field `icount' has incomplete type
mxser.c: In function `mxser_write':
mxser.c:915: `SERIAL_XMIT_SIZE' undeclared (first use in this function)
mxser.c:915: (Each undeclared identifier is reported only once
mxser.c:915: for each function it appears in.)
mxser.c:903: warning: `c' might be used uninitialized in this function
mxser.c:924: warning: `n' might be used uninitialized in this function
mxser.c:924: warning: `n' might be used uninitialized in this function
mxser.c:926: warning: `n' might be used uninitialized in this function
mxser.c:926: warning: `n' might be used uninitialized in this function
mxser.c: In function `mxser_put_char':
mxser.c:955: `SERIAL_XMIT_SIZE' undeclared (first use in this function)
mxser.c: In function `mxser_write_room':
mxser.c:993: `SERIAL_XMIT_SIZE' undeclared (first use in this function)
mxser.c:991: warning: `ret' might be used uninitialized in this function
mxser.c: In function `mxser_ioctl':
mxser.c:1027: storage size of `cprev' isn't known
mxser.c:1027: storage size of `cnow' isn't known
mxser.c:1027: warning: unused variable `cnow'
mxser.c:1027: warning: unused variable `cprev'
mxser.c:1119: warning: `__ret_pu' might be used uninitialized in this
function
mxser.c:1121: warning: `__ret_pu' might be used uninitialized in this
function
mxser.c:1123: warning: `__ret_pu' might be used uninitialized in this
function
mxser.c:1125: warning: `__ret_pu' might be used uninitialized in this
function
mxser.c: In function `mxser_transmit_chars':
mxser.c:1472: `SERIAL_XMIT_SIZE' undeclared (first use in this function)
make[2]: *** [mxser.o] Error 1
make[2]: Leaving directory `/usr/src/linux-2.3.41/drivers/char'
make[1]: *** [_modsubdir_char] Error 2
make[1]: Leaving directory `/usr/src/linux-2.3.41/drivers'
make: *** [_mod_drivers] Error 2
darkstar:/usr/src/linux# 

-- 
Alexandre Hautequest - Linux User #116289
"When I'm on the road, I'm indestructible. No one can stop me. But they
try..."

O .br que não para de crescer:
http://stats.distributed.net/rc5-64/psearch.php3?st=.br

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda