Messages in this thread | | | Date | Fri, 2 Aug 2002 03:25:17 +0200 | From | Axel Siebenwirth <> | Subject | Re: Linux 2.5.30: [SERIAL] build fails at 8250.c |
| |
Hi!
building 2.5.30 fails at serial driver 8250 in file 8250.c compiled as module. This is how it looks like (full log gzipped and attached):
make[2]: Entering directory /usr/src/linux-2.5.30/drivers/serial' gcc -Wp,-MD,./.8250.o.d -D__KERNEL__ -I/usr/src/linux-2.5.30/include -Wall -Wstrict-prototypes -Wno-trigraphs -O2 -fomit-frame-pointer -fno-strict-aliasing -fno-common -pipe -mpreferred-stack-boundary=2 -march=i686 -nostdinc -iwithprefix include -DMODULE -include /usr/src/linux-2.5.30/include/linux/modversions.h -DKBUILD_BASENAME=8250 -DEXPORT_SYMTAB -c -o 8250.o 8250.c In file included from 8250.c:34: /usr/src/linux-2.5.30/include/linux/serialP.h:50: field count' has incomplete type 8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function) 8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function) 8250.c:106: initializer element is not constant 8250.c:106: (near initialization for d_serial_port[0].flags') 8250.c:106: initializer element is not constant 8250.c:106: (near initialization for d_serial_port[0]') 8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function) 8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function) 8250.c:106: initializer element is not constant 8250.c:106: (near initialization for d_serial_port[1].flags') 8250.c:106: initializer element is not constant 8250.c:106: (near initialization for d_serial_port[1]') 8250.c:106: `ASYNC_BOOT_AUTOCONF' undeclared here (not in a function) 8250.c:106: `ASYNC_SKIP_TEST' undeclared here (not in a function) 8250.c:106: initializer element is not constant 8250.c:106: (near initialization for d_serial_port[2].flags') 8250.c:106: initializer element is not constant ...
and so on.
Regards, Axel Siebenwirth [unhandled content-type:application/x-gunzip] | |