|
From: Manfred S. <man...@gm...> - 2009-02-19 10:33:06
|
Hi,
I tried to compile gnuplot with "gcc -DDEBUG", and got the following abort:
gpexecute.o: In function `gp_exec_event':
src/gpexecute.c:229: undefined reference to `gp_execute'
Something like this is probably needed:
--- gpexecute.c.orig 2009-02-19 11:12:06.000000000 +0100
+++ gpexecute.c 2009-02-19 11:30:45.000000000 +0100
@@ -223,11 +223,11 @@
static struct gpe_fifo_t *base = (gpe_fifo_t *) 0;
#endif
-#ifdef DEBUG
+#if defined(DEBUG) && defined(OS2_IPC)
char s[127];
sprintf(s, "%%%c %d %d %d %d %d", type, mx, my, par1, par2, winid);
gp_execute(s);
-#endif /* DEBUG */
+#endif /* DEBUG && OS2_IPC */
ge.type = type;
ge.mx = mx;
Cheers,
Manfred
|