[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [linrad] SVGALIB installation problem , not solved (yet)
http://lists.debian.org/debian-qa-packages/2003/06/msg00004.html
I was able to duplicate your problem in Fedora Core 1 using gcc 3.3.2-1,
and I was also able to fix it by deleting the "gratuitous ##" from line
3917 of vga.c
Two ways to fix ... go to your svgalib-1.4.3/src directory, open vga.c
with your favorite editor, go to line 3917 and change it manually from
mmt.##x = atoi(ptr);
to
mmt.x = atoi(ptr);
OR
Download the patch file I created for you
http://members.verizon.net/~km1p/vga.c.patch and put it in your
svga-1.4.3/src directory
Then from the command line cd to svgalib-1.4.3/src and type:
patch vga.c vga.c.patch
and this will accomplish automatically what I described above. Now you
should be able to make install OK.
Appartently, this ## is making a change that is unnecessary, but valid
under older gcc's, but the stricter checking of the newer gcc's
complains about it.
-Joe KM1P
LINRADDARNIL