Re: gEDA-user: PCB won't compile
On Thu, 18 Mar 2010 15:31:31 +0100 Patrick Bernaud patri...@chez.com wrote: Hello, Kovacs Levente writes: [...] hid/lesstif/menu.c: In function ?lesstif_call_action?: hid/lesstif/menu.c:856: error: ?x? undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ?y? undeclared (first use in this function) Change the line to read: ret = current_action-trigger_cb (argc, argv, px, py); instead of: ret = current_action-trigger_cb (argc, argv, x, y); Later, I figured it out. I don't know what is the current state of the contribution for gEDA/PCB, but attached is a patch to fix this issue. Levente -- Levente Kovacs http://logonex.eu diff --git a/src/hid/lesstif/menu.c b/src/hid/lesstif/menu.c index 9869483..44edaba 100644 --- a/src/hid/lesstif/menu.c +++ b/src/hid/lesstif/menu.c @@ -853,7 +853,7 @@ lesstif_call_action (const char *aname, int argc, char **argv) old_action = current_action; current_action = a; - ret = current_action-trigger_cb (argc, argv, x, y); + ret = current_action-trigger_cb (argc, argv, px, py); current_action = old_action; return ret; ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
I don't know what is the current state of the contribution for gEDA/PCB, but attached is a patch to fix this issue. Pushed. ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
gEDA-user: PCB won't compile
Hi, I couldn't compile a fresh copy of PCB cloned from git. It fails with: hid/lesstif/menu.c: In function ‘lesstif_call_action’: hid/lesstif/menu.c:856: error: ‘x’ undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ‘y’ undeclared (first use in this function) I have no idea what can be wrong, so I have no suggestion. Sorry. Levente -- Kovacs Levente kovacs.leve...@prolan.hu Voice: +36705071002 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
is that really building a 'motif' based frontend lol. On Thu, Mar 18, 2010 at 11:20 PM, Kovacs Levente leventel...@gmail.com wrote: Hi, I couldn't compile a fresh copy of PCB cloned from git. It fails with: hid/lesstif/menu.c: In function ‘lesstif_call_action’: hid/lesstif/menu.c:856: error: ‘x’ undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ‘y’ undeclared (first use in this function) I have no idea what can be wrong, so I have no suggestion. Sorry. Levente -- Kovacs Levente kovacs.leve...@prolan.hu Voice: +36705071002 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
Ur? Not trendy enough for you? ;) -Dave On Mar 18, 2010, at 10:25 AM, timecop wrote: is that really building a 'motif' based frontend lol. On Thu, Mar 18, 2010 at 11:20 PM, Kovacs Levente leventel...@gmail.com wrote: Hi, I couldn't compile a fresh copy of PCB cloned from git. It fails with: hid/lesstif/menu.c: In function ‘lesstif_call_action’: hid/lesstif/menu.c:856: error: ‘x’ undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ‘y’ undeclared (first use in this function) I have no idea what can be wrong, so I have no suggestion. Sorry. Levente -- Kovacs Levente kovacs.leve...@prolan.hu Voice: +36705071002 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user -- Dave McGuire Port Charlotte, FL ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
Hello, Kovacs Levente writes: [...] hid/lesstif/menu.c: In function ?lesstif_call_action?: hid/lesstif/menu.c:856: error: ?x? undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ?y? undeclared (first use in this function) Change the line to read: ret = current_action-trigger_cb (argc, argv, px, py); instead of: ret = current_action-trigger_cb (argc, argv, x, y); Regards, Patrick ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
On Thu, 18 Mar 2010 23:25:50 +0900 timecop time...@gmail.com wrote: is that really building a 'motif' based frontend lol. I miss some feature from the GTK HID: The layerlist, the toolbox, and the route style selection stuff can't be removed from the left. This waists space from the design. BTW, I'd add such feature to remove them. Everything is accessible from the menu. The next version of GTK will drop the support for tear-off menus. With the lesstif HID, I use it. I have two displays, and it helps me a lot. -- Kovacs Levente kovacs.leve...@prolan.hu Voice: +36705071002 ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user
Re: gEDA-user: PCB won't compile
Hello, On 3/18/10, Kovacs Levente leventel...@gmail.com wrote: I couldn't compile a fresh copy of PCB cloned from git. It fails with: hid/lesstif/menu.c: In function ‘lesstif_call_action’: hid/lesstif/menu.c:856: error: ‘x’ undeclared (first use in this function) hid/lesstif/menu.c:856: error: (Each undeclared identifier is reported only once hid/lesstif/menu.c:856: error: for each function it appears in.) hid/lesstif/menu.c:856: error: ‘y’ undeclared (first use in this function) I have no idea what can be wrong, so I have no suggestion. Sorry. x and y in that line should evidently be px and py. Regards, Ineiev ___ geda-user mailing list geda-user@moria.seul.org http://www.seul.org/cgi-bin/mailman/listinfo/geda-user