Skip to contentSkip to conversation

2.6.9-bk3 fails compile (serial/8250.c)

DISCUSSION Pete Clements 2 participants 2 messages Oct 20, 2004

lore
Share & tools
lore
#0 lore raw

fyi:

make -f scripts/Makefile.build obj=drivers/serial
make[2]: Entering directory `/sda3/usr/src/linux-2.6.9-bk3'
gcc -Wp,-MD,drivers/serial/.8250.o.d -nostdinc -iwithprefix include -D__KERNEL__ -Iinclude -Wall -Wstrict-prototypes -Wno-trigraphs -fno-strict-aliasing -fno-common -O2 -fomit-frame-pointer -pipe -msoft-float -mpreferred-stack-boundary=2 -march=i686 -Iinclude/asm-i386/mach-default -DKBUILD_BASENAME=8250 -DKBUILD_MODNAME=8250 -c -o drivers/serial/8250.o drivers/serial/8250.c
drivers/serial/8250.c:185: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:185: initializer element is not constant drivers/serial/8250.c:185: (near initialization for uart_config[4].fcr') drivers/serial/8250.c:203: UART_FCR_R_TRIG_01' undeclared here (not in a function) drivers/serial/8250.c:204: UART_FCR_T_TRIG_00' undeclared here (not in a function) drivers/serial/8250.c:204: initializer element is not constant drivers/serial/8250.c:204: (near initialization for uart_config[7].fcr') drivers/serial/8250.c:211: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:212: initializer element is not constant drivers/serial/8250.c:212: (near initialization for uart_config[8].fcr') drivers/serial/8250.c:224: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:224: initializer element is not constant drivers/serial/8250.c:224: (near initialization for uart_config[10].fcr') drivers/serial/8250.c:231: UART_FCR_R_TRIG_01' undeclared here (not in a function) drivers/serial/8250.c:232: UART_FCR_T_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:232: initializer element is not constant drivers/serial/8250.c:232: (near initialization for uart_config[11].fcr') drivers/serial/8250.c:239: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:239: initializer element is not constant drivers/serial/8250.c:239: (near initialization for uart_config[12].fcr') drivers/serial/8250.c:246: UART_FCR_R_TRIG_11' undeclared here (not in a function) drivers/serial/8250.c:246: initializer element is not constant drivers/serial/8250.c:246: (near initialization for uart_config[13].fcr') drivers/serial/8250.c:253: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:253: initializer element is not constant drivers/serial/8250.c:253: (near initialization for uart_config[14].fcr') drivers/serial/8250.c:260: UART_FCR_R_TRIG_10' undeclared here (not in a function) drivers/serial/8250.c:260: initializer element is not constant drivers/serial/8250.c:260: (near initialization for uart_config[15].fcr') make[2]: *** [drivers/serial/8250.o] Error 1
make[2]: Leaving directory `/sda3/usr/src/linux-2.6.9-bk3'

Signature · 1 line
Pete Clements 
#1 lore raw
Quoted 1 line · Pete Clements

fyi:

It's known:

Quoted 6 lines · Russell King

And the fix has been posted on this very mailing list shortly after the problem code was merged:

Subject: [PATCH] Fix serial breakage in -bk3
Date: Tue, 19 Oct 2004 23:47:16 +0100
Message-ID: <[email protected]>

Signature · 4 lines
Russell King
 Linux kernel    2.6 ARM Linux   - http://www.arm.linux.org.uk/
 maintainer of:  2.6 PCMCIA      - http://pcmcia.arm.linux.org.uk/
                 2.6 Serial core