[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gnuplot-info-beta
Subject:    Build breakage with "-DDEBUG"
From:       Manfred Schwarb <manfred99 () gmx ! ch>
Date:       2009-02-19 10:32:35
Message-ID: 5.2.1.1.2.20090219111232.026fbf48 () mail ! netzone ! ch
[Download RAW message or body]

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



------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
gnuplot-beta mailing list
gnuplot-beta@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gnuplot-beta
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic