[Lcdproc] Compile error

Peter Marschall peter@adpm.de
Sat Sep 2 19:07:03 2006


Hi,

On Friday, 1. September 2006 21:19, Markus Dolze wrote:
> When compiling CURRENT, I get the following errors:
>
> if gcc -DHAVE_CONFIG_H -I. -I. -I../..  -I../..  -fPIC -Wall -O2
> -fno-strict-aliasing -pipe  -g -Wno-unused-function -MT
> hd44780-hd44780-serial.o -MD -MP -MF ".deps/hd44780-hd44780-serial.Tpo" -c
> -o hd44780-hd44780-serial.o `test -f 'hd44780-serial.c' || echo
> './'`hd44780-serial.c;  then mv -f ".deps/hd44780-hd44780-serial.Tpo"
> ".deps/hd44780-hd44780-serial.Po"; else rm -f
> ".deps/hd44780-hd44780-serial.Tpo"; exit 1; fi hd44780-serial.c:72: error:
> `B500000' undeclared here (not in a function) hd44780-serial.c:72: error:
> initializer element is not constant
> hd44780-serial.c:72: error: (near initialization for
> `bitrate_conversion[19][1]') hd44780-serial.c:72: error: initializer
> element is not constant
> void *** Error code 1
> [...lots of errors of the same type ... ]
>
> Stop in
> /usr/home/mmdolze/smoketest/lcdproc/current-FreeBSD-6.1-RELEASE-p3-i386/ser
>ver/drivers. *** Error code 1
>
> Stop in
> /usr/home/mmdolze/smoketest/lcdproc/current-FreeBSD-6.1-RELEASE-p3-i386/ser
>ver. *** Error code 1
>
> Stop in
> /usr/home/mmdolze/smoketest/lcdproc/current-FreeBSD-6.1-RELEASE-p3-i386.
> *** Error code 1
>
>
> Seems like the higher speeds in termios.h are not supported on all
> platforms.
>
> Could these be #ifdef ?

Done in CVS.

Please give it a try.

Greetings
Peter


-- 
Peter Marschall
peter@adpm.de