lkml.org 
[lkml]   [2002]   [Aug]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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]
\
 
 \ /
  Last update: 2005-03-22 13:27    [W:0.067 / U:0.344 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site