[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

gEDA-user: This patch is breaking compile



I retrieved the pcb code from git 'git clone git://git.gpleda.org/pcb.git'
Ran './autogen.sh' with no errors
Ran './configure --prefix=$HOME/geda' with no errors
Ran 'make' with no errors
I retrieved this patch, https://bugs.launchpad.net/pcb/+bug/699497/+attachment/2180838/+files/gcode-patches.tar.gz and things went bad
I started over with fresh git and added 1 patch at a time followed by 'make clean', './configure --prefix=$HOME/geda' and 'make'
All was well until I added '0009-HID-gcode-simplify-code-a-bit.patch' and I get

gcc -std=gnu99 -DLOCALEDIR=\"/home/rray/geda/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I./icons -I./../gts -I./hid/gcode -I/usr/include -I/usr/include -I/usr/include -DPREFIXDIR=\"/home/rray/geda\" -DBINDIR=\"/home/rray/geda/bin\" -DHOST=\"i686-pc-linux-gnu\" -DPCBLIBDIR=\"/home/rray/geda/share/pcb\" -DPCBTREEDIR=\"/home/rray/geda/share/pcb/newlib\" -DPCBTREEPATH=\"/home/rray/geda/share/pcb/newlib:/home/rray/geda/share/pcb/pcblib-newlib\" -g -O2 -I/usr/include -I/usr/include -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/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/libpng12 -pthread -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -Wall -Wdeclaration-after-statement -DNDEBUG -g -O2 -I/usr/include -I/usr/include -I/usr/include -I/usr/include/dbus-1.0 -I/usr/lib/dbus-1.0/include -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -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/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/libpng12 -pthread -I/usr/include/gtkglext-1.0 -I/usr/lib/gtkglext-1.0/include -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/freetype2 -I/usr/include/libpng12 -I/usr/include/atk-1.0 -Wall -Wdeclaration-after-statement -MT hid/gcode/libgcode_a-gcode.o -MD -MP -MF hid/gcode/.deps/libgcode_a-gcode.Tpo -c -o hid/gcode/libgcode_a-gcode.o `test -f 'hid/gcode/gcode.c' || echo './'`hid/gcode/gcode.c
hid/gcode/gcode.c: In function 'gcode_do_export':
hid/gcode/gcode.c:658: error: 'variable_depth' undeclared (first use in this function) hid/gcode/gcode.c:658: error: (Each undeclared identifier is reported only once
hid/gcode/gcode.c:658: error: for each function it appears in.)
make[4]: *** [hid/gcode/libgcode_a-gcode.o] Error 1
make[4]: Leaving directory `/backup_1/pcb_patches/src'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/backup_1/pcb_patches/src'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/backup_1/pcb_patches/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/backup_1/pcb_patches'
make: *** [all] Error 2



Other than 'Don't do that' any suggestions?

Richard


_______________________________________________
geda-user mailing list
geda-user@xxxxxxxxxxxxxx
http://www.seul.org/cgi-bin/mailman/listinfo/geda-user