-----BEGIN PGP SIGNED MESSAGE-----
To compile gnucash with debugging turned on, specifically with a
configure line of:
./configure --with-opt-style-install --prefix=/usr/local/gnucash --enable-debug
one needs to patch the top-level.c in the motif and gnome directories
and define the the module debugging symbol:
Index: src/gnome/top-level.c
===================================================================
RCS file: /home/cvs/cvsroot/xacc/src/gnome/top-level.c,v
retrieving revision 1.8
diff -u -r1.8 top-level.c
--- top-level.c 1999/01/20 06:01:56 1.8
+++ top-level.c 1999/02/22 06:59:39
@@ -41,6 +41,9 @@
/** GLOBALS *********************************************************/
+/* This static indicates the debugging module that this .o belongs to. */
+static short module = MOD_GUI;
+
GtkWidget *app;
gncUIWidget gnc_get_ui_data() {
Index: src/motif/top-level.c
===================================================================
RCS file: /home/cvs/cvsroot/xacc/src/motif/top-level.c,v
retrieving revision 1.10
diff -u -r1.10 top-level.c
--- top-level.c 1999/01/20 06:02:07 1.10
+++ top-level.c 1999/02/22 06:59:40
@@ -46,6 +46,9 @@
static gncUIWidget ui_data = NULL;
+/* This static indicates the debugging module that this .o belongs to. */
+static short module = MOD_GUI;
+
gncUIWidget gnc_get_ui_data() {
return(ui_data);
}
Darren
- --
<[EMAIL PROTECTED]> <http://www.daft.com/~torin> <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Darren Stalder/2608 Second Ave, @282/Seattle, WA 98121-1212/USA/+1-800-921-4996
@ Sysadmin, webweaver, postmaster for hire. C/Perl/CGI/Pilot programmer/tutor @
@ Make a little hot-tub in your soul. @
-----BEGIN PGP SIGNATURE-----
Version: 2.6.3a
Charset: noconv
Comment: Processed by Mailcrypt 3.5.1, an Emacs/PGP interface
iQCVAwUBNtEusY4wrq++1Ls5AQEhQAP+Mq+J+IL4DATxjUHhUY+T/ei0n5EwAXG7
vdjLbVR3kVRvTS4VaMP3XtQrFcIael5jb5PemLOTvoPhjOaR3U6MMjYGMJVaw7vn
+kKY0c8sNSuW/Dg54oEIvSrdeqXcozpsL2MXnOh5pXxUCkAQUGG3EK8F1Hr30rqf
Ta6bgm4qWpM=
=Gguq
-----END PGP SIGNATURE-----
----- %< -------------------------------------------- >% ------
The GnuCash / X-Accountant Mailing List
To unsubscribe, send mail to [EMAIL PROTECTED] and
put "unsubscribe gnucash-devel [EMAIL PROTECTED]" in the body