Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 61 by
ejsheldr...@gmail.com: Compile fails on Fedora 17 / gcc 4.7
/ i686
http://code.google.com/p/gnuxaos/issues/detail?id=61
What steps will reproduce the problem?
1. XaoS fails to compile on Fedora 17 on i686
2.
3.
What is the expected output? What do you see instead?
The error messages are:
gcc -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions
-fstack-protector --param=ssp-buffer-size=4 -m32 -march=core2
-fasynchronous-unwind-tables -D_REENTRANT -pthread -I/usr/include/gtk-2.0
-I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo
-I/usr/include/gdk-pixbuf-2.0 -I/usr/include/pango-1.0
-I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/pixman-1
-I/usr/include/freetype2 -I/usr/include/libpng15 -I/usr/include/libdrm
-I/usr/include -fomit-frame-pointer -DSFFE_USING -DSFFE_CMPLX_GSL
-I/home/ejs/rpmbuild/BUILD/xaos-3.5/src/include -c -o zoom.o zoom.c
In file included from zoom.c:160:0:
zoomd.c:283:20: error: conflicting types for 'fillline_8'
zoom.c:144:13: note: previous declaration of 'fillline_8' was here
In file included from zoom.c:167:0:
zoomd.c:283:20: error: conflicting types for 'fillline_32'
zoom.c:147:13: note: previous declaration of 'fillline_32' was here
In file included from zoom.c:174:0:
zoomd.c:283:20: error: conflicting types for 'fillline_24'
zoom.c:146:13: note: previous declaration of 'fillline_24' was here
In file included from zoom.c:181:0:
zoomd.c:283:20: error: conflicting types for 'fillline_16'
zoom.c:145:13: note: previous declaration of 'fillline_16' was here
zoom.c:937:1: error: conflicting types for 'moveoldpoints'
zoom.c:142:1: note: previous declaration of 'moveoldpoints' was here
make[2]: *** [zoom.o] Error 1
make[2]: *** Waiting for unfinished jobs....
make[2]: Leaving directory `/home/ejs/rpmbuild/BUILD/xaos-3.5/src/engine'
What version of the product are you using? On what operating system?
XaoS 3.5
Fedora 17
Please provide any additional information below.
Compilation succeeds on x86_64 but fails on i686. I've attached a fix.
Attachments:
xaos-3.5-build-fix-i686.patch 708 bytes