Mail Archives: geda-user/2011/10/04/19:51:10
Peter:
I tried to build this version of pcb_gl but no joy here is the error if got during make:
mv -f hid/gtk/.deps/libgtk_a-gui-utils.Tpo hid/gtk/.deps/libgtk_a-gui-utils.Po
/usr/bin/llvm-gcc-4.2 -std=gnu99 -DLOCALEDIR=\"/opt/geda/share/locale\" -DHAVE_CONFIG_H -I. -I.. -I.. -I./icons -I./../gts -I./hid/gtk -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include -DPREFIXDIR=\"/opt/geda\" -DBINDIR=\"/opt/geda/bin\" -DHOST=\"i686-apple-darwin10.8.0\" -DPCBLIBDIR=\"/opt/geda/share/pcb\" -DPCBTREEDIR=\"/opt/geda/share/pcb/newlib\" -DPCBTREEPATH=\"/opt/geda/share/pcb/newlib:/opt/geda/share/pcb/pcblib-newlib\" -g -O2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -D_REENTRANT -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/atk-1.0 -D_THREAD_SAFE -D_THREAD_SAFE -Wall -Wdeclaration-after-statement -DNDEBUG -g -O2 -I/opt/local/include -I/opt/local/include -I/opt/local/include -I/opt/local/include/dbus-1.0 -I/opt/local/lib/dbus-1.0/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include -D_REENTRANT -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/atk-1.0 -I/opt/local/include/cairo -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -D_REENTRANT -I/opt/local/include/gtkglext-1.0 -I/opt/local/lib/gtkglext-1.0/include -I/opt/local/include -I/opt/local/include/gtk-2.0 -I/opt/local/lib/gtk-2.0/include -I/opt/local/include/pango-1.0 -I/opt/local/include/gio-unix-2.0/ -I/opt/local/include/gdk-pixbuf-2.0 -I/opt/local/include/cairo -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include -I/opt/local/include/pixman-1 -I/opt/local/include/freetype2 -I/opt/local/include/libpng14 -I/opt/local/include/atk-1.0 -D_THREAD_SAFE -D_THREAD_SAFE -Wall -Wdeclaration-after-statement -MT hid/gtk/libgtk_a-snavi.o -MD -MP -MF hid/gtk/.deps/libgtk_a-snavi.Tpo -c -o hid/gtk/libgtk_a-snavi.o `test -f 'hid/gtk/snavi.c' || echo './'`hid/gtk/snavi.c
hid/gtk/snavi.c:22:25: error: linux/types.h: No such file or directory
hid/gtk/snavi.c:23:25: error: linux/input.h: No such file or directory
hid/gtk/snavi.c: In function ‘snavi_set_led’:
hid/gtk/snavi.c:37: error: storage size of ‘event’ isn’t known
hid/gtk/snavi.c:43: error: ‘EV_LED’ undeclared (first use in this function)
hid/gtk/snavi.c:43: error: (Each undeclared identifier is reported only once
hid/gtk/snavi.c:43: error: for each function it appears in.)
hid/gtk/snavi.c:44: error: ‘LED_MISC’ undeclared (first use in this function)
hid/gtk/snavi.c:58: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’
hid/gtk/snavi.c:78: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’
hid/gtk/snavi.c:37: warning: unused variable ‘event’
hid/gtk/snavi.c: In function ‘snavi_event’:
hid/gtk/snavi.c:92: error: storage size of ‘event’ isn’t known
hid/gtk/snavi.c:98: error: invalid application of ‘sizeof’ to incomplete type ‘struct input_event’
hid/gtk/snavi.c:110: error: ‘EV_ABS’ undeclared (first use in this function)
hid/gtk/snavi.c:111: error: ‘ABS_RZ’ undeclared (first use in this function)
hid/gtk/snavi.c:112: error: ‘ABS_X’ undeclared (first use in this function)
hid/gtk/snavi.c:115: error: ‘EV_KEY’ undeclared (first use in this function)
hid/gtk/snavi.c:116: error: ‘BTN_0’ undeclared (first use in this function)
hid/gtk/snavi.c:116: error: ‘BTN_1’ undeclared (first use in this function)
hid/gtk/snavi.c:121: error: ‘EV_SYN’ undeclared (first use in this function)
hid/gtk/snavi.c:92: warning: unused variable ‘event’
make[4]: *** [hid/gtk/libgtk_a-snavi.o] Error 1
make[3]: *** [all-recursive] Error 1
make[2]: *** [all] Error 2
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
What piece am I missing? Is it some part of gtk?
Mac OS X (10.6.8)
Thanks,
Ed
On Oct 1, 2011, at 11:33 AM, Peter Clifton wrote:
> Hi guys,
>
> Just a heads-up, to those who have played with the toporouter before,
> that it is now working again in git HEAD. (Hopefully to the same
> standard it was before we switched to nanometer internal units).
>
> I'm not taking responsibility for maintaining the toporouter, but it
> seemed a shame to let it bitrot that it was likely to be a simple fix to
> get it working again. (Indeed - the fixes were pretty simple, and I also
> did a bit of cleaning of the code whilst I was digging there).
>
>
> I've also made some fixes / improvements to the PCB+GL branches in my
> repository at git://repo.or.cz/geda-pcb/pcjc2.git
>
> (git clone git://repo.or.cz/geda-pcb/pcjc2.git pcb_gl)
>
>
> I've temporarily reverted the layer opacity changes I made some while
> back, as they aren't quite right for a lot of boards. They do suit my
> default colour scheme and working style, but in the hope of making the
> branch more usable to others, I've put it back.
>
> I've fixed the pinout preview, DRC window and footprint selector
> rendering of round pins, pads and holes. Unfortunately, the pin / pad
> name rendering in those previews is currently broken though - as there
> is some refactoring which needs to land to fix that.
>
> I fixed a huge memory leak which was present in the pcb+gl_experimental
> branch last week, which would cause PCB to consume all the system's ram
> over the course of a few minutes of activity.
>
>
> If you have even vaguely modern graphics drivers, you ought to find the
> "pcb+gl_experimental" branch a lot faster than the "pcb+gl" branch. If
> you see square pins, holes, pads, track-ends though, something isn't
> agreeing with my pixel shader - and I'd appreciate the bug report.
>
>
> Best wishes,
>
> --
> Peter Clifton
>
> Electrical Engineering Division,
> Engineering Department,
> University of Cambridge,
> 9, JJ Thomson Avenue,
> Cambridge
> CB3 0FA
>
> Tel: +44 (0)7729 980173 - (No signal in the lab!)
> Tel: +44 (0)1223 748328 - (Shared lab phone, ask for me)
- Raw text -