You are not logged in.
On 2.6.30-ARCH I get this error compiling svgalib:
make[1]: Entering directory `/tmp/yaourt-tmp-joe/aur-svgalib/svgalib/src/svgalib-1.9.25/lrmi-0.6m'
cc -c -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o lrmi.o lrmi.c
gtf/gtfcalc.c:67: error: static declaration of 'round' follows non-static declaration
make[1]: *** [gtfcalc] Error 1
make[1]: Leaving directory `/tmp/yaourt-tmp-joe/aur-svgalib/svgalib/src/svgalib-1.9.25/utils'
make: *** [textutils] Error 2
make: *** Waiting for unfinished jobs....
cc -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o vbetest vbetest.c lrmi.o
cc -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o mode3 mode3.c lrmi.o
cc -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o vga_reset vga_reset.c lrmi.o
cc -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o vbemodeinfo vbemodeinfo.c lrmi.o
cc -Wall -Wstrict-prototypes -fPIC -DPIC -I/include -I. -march=athlon-xp -mtune=athlon-xp -O3 -pipe -fomit-frame-pointer -o dosint dosint.c lrmi.o
dosint.c:10: warning: function declaration isn't a prototype
dosint.c: In function 'main':
dosint.c:51: warning: control reaches end of non-void function
make[1]: Leaving directory `/tmp/yaourt-tmp-joe/aur-svgalib/svgalib/src/svgalib-1.9.25/lrmi-0.6m'
==> ERROR: Build Failed.
Please help. Thanks.
Last edited by slyson (2009-07-16 17:54:07)
Offline
Patch:
--- svgalib-1.9.25/utils/gtf/gtfcalc.c
+++ svgalib-1.9.25/utils/gtf/gtfcalc.c
@@ -68,5 +68,5 @@
-static double round(double v)
+double round(double v)
{
return floor(v + 0.5);
}
Save this patch somewhere in the PKGBUILD directory of abs/yaourt-tmp, then point the patch line in the PKGBUILD to the file.
Then makepkg -sef in the PKGBUILD directory.
Last edited by slyson (2009-07-16 18:07:27)
Offline