i686-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -I. -I.. -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/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/libpng12 -Wall -O3 -mtune=pentium3 -march=pentium3 -pipe -fomit-frame-pointer -mmmx -msse -ffast-math -c `test -f drill.c || echo './'`drill.c drill.c: In function ‘parse_drillfile’: drill.c:220: error: invalid lvalue in assignment drill.c:221: error: invalid lvalue in assignment make[2]: *** [drill.o] Error 1 make[2]: Leaving directory `/var/tmp/portage/gerbv-1.0.1-r1/work/gerbv-1.0.1/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/var/tmp/portage/gerbv-1.0.1-r1/work/gerbv-1.0.1' make: *** [all] Error 2 !!! ERROR: sci-electronics/gerbv-1.0.1-r1 failed. Call stack: ebuild.sh, line 1933: Called dyn_compile ebuild.sh, line 971: Called src_compile !!! (no error message) !!! If you need support, post the topmost build error, and the call stack if relevant. fix: delete the (double) left cast in 220 and 221 lines. works.
So: if(state->unit == MM) { - (double)curr_net->start_x /= 25.4; - (double)curr_net->start_y /= 25.4; + curr_net->start_x /= 25.4; + curr_net->start_y /= 25.4; /* KLUDGE. All images, regardless of input format, ... right?
yes like that :)
InCVS, thanks!