Opened 19 years ago

Closed 19 years ago

Last modified 8 years ago

#346 closed defect (fixed)

SVGAlib fails to build on gcc 3.3.1

Reported by: kavika@… Owned by: blfs-book@…
Priority: high Milestone:
Component: BOOK Version: ~CVS
Severity: major Keywords:
Cc:

Description

SVGAlib fails to build on gcc 3.3.1.

Error here: cc -I/usr/src/svgalib-1.4.3/include -I. -I/usr/src/svgalib-1.4.3/src -MM /usr/src/svgalib-1.4.3/src/vga.c /usr/src/svgalib-1.4.3/src/vgadraw.c /usr/src/svgalib-1.4.3/src/vgaclear.c /usr/src/svgalib-1.4.3/src/vgaline.c /usr/src/svgalib-1.4.3/src/vgapix.c /usr/src/svgalib-1.4.3/src/vgapal.c /usr/src/svgalib-1.4.3/src/vgacol.c /usr/src/svgalib-1.4.3/src/vgamodesel.c /usr/src/svgalib-1.4.3/src/vgamisc.c /usr/src/svgalib-1.4.3/src/vgadump.c /usr/src/svgalib-1.4.3/src/vgaconvplanar.c /usr/src/svgalib-1.4.3/src/vgaaccel.c /usr/src/svgalib-1.4.3/src/timing.c /usr/src/svgalib-1.4.3/src/vgaregs.c /usr/src/svgalib-1.4.3/src/interface.c /usr/src/svgalib-1.4.3/src/accel.c /usr/src/svgalib-1.4.3/src/vgabgpage.c /usr/src/svgalib-1.4.3/src/vgabgvt.c /usr/src/svgalib-1.4.3/src/vgapci.c >>.depend.src /usr/src/svgalib-1.4.3/src/vga.c:3919:31: pasting "." and "HDisplay" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3920:33: pasting "." and "HSyncStart" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3921:31: pasting "." and "HSyncEnd" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3922:29: pasting "." and "HTotal" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3923:31: pasting "." and "VDisplay" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3924:33: pasting "." and "VSyncStart" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3925:31: pasting "." and "VSyncEnd" does not give a valid preprocessing token /usr/src/svgalib-1.4.3/src/vga.c:3926:29: pasting "." and "VTotal" does not give a valid preprocessing token make[1]: * [.depend.src] Error 1 make[1]: Leaving directory `/usr/src/svgalib-1.4.3/sharedlib' make: * [sharedlib/libvga.so.1.4.3] Error 2

To correct, you can download and install a patch: http://ftp.debian.org/debian/pool/main/s/svgalib/svgalib_1.4.3-13.diff.gz

It will then compile on GCC 3.3.1

I have however not been able to successfully run the demo programs after this patch, (although they would compile). This might be because I'm running them from withing KDE -> konqueror (?)

Blowing away the package, re-extracting, and trying make prefix=/usr install again gives the same errors.

Change History (2)

comment:1 by larry@…, 19 years ago

Resolution: fixed
Status: newclosed

comment:2 by bdubbs@…, 8 years ago

Milestone: old

Milestone old deleted

Note: See TracTickets for help on using tickets.