On Fri, 23 Feb 2001, Neil Golden wrote:
> What is my problem? besides being a newbie, that is.
>
> On a virtually untouched Redhat 7 installation, I get this message when
> trying to compile 1.9.5:
>
> /usr/local/src/svgalib-1.9.5/src/keyboard/keyboard.c: In function
> `keyboard_getevents':
> /usr/local/src/svgalib-1.9.5/src/keyboard/keyboard.c:496: malformed
> floating constant
> /usr/local/src/svgalib-1.9.5/src/keyboard/keyboard.c:496: case label does
> not reduce to an integer constant
> make[1]: *** [keyboard/keyboard.o] Error 1
> make[1]: Leaving directory `/usr/local/src/svgalib-1.9.5/sharedlib'
> make: *** [sharedlib/libvga.so.1.9.5] Error 2
> [root@localhost svgalib-1.9.5]#
The line comtains the ... construct which needs spaces around it (in
newer gcc), simply add those changes, and it will compile.
The latest pr releases of 1.4.3 and 1.9.7 contain this fix already.
--
Matan Ziv-Av. [EMAIL PROTECTED]
------------------------------------------------------------------
Unsubscribe: To: [EMAIL PROTECTED]
Body: unsubscribe linux-svgalib