compile error on solaris x86

benjamin persone at web.de
Fri May 7 08:46:06 EDT 2004


Hi,

first of all, i want to thanks you all of you involved in this project for this
very usefull software. 

I tried to compile gnucash 1.8.9 and 1.8.8 on solaris 10 x86 using gcc 3.3.3
with solaris as and ld.

All the dependencies are build and configured ok. The compile process ended with
the following error:

Undefined                       first referenced
 symbol                             in file
_                                   ../.libs/libgncmod-app-file.so


in /..../src/app-utils/test. I didn't found anything similar in the bug db. I
couldn't search the archive because i didn't found an interface for it.
Compiling gnucash 1.8.8 bring do have the same problem


The last compile command is: gcc -I../../../src -I../../../src/test-core
-I../../../src/engine -I../../../src/engine/test-core -I../../../src/app-utils
-I../../../src/gnc-module -I/opt/sfw/include -I/usr/sfw/include/glib-1.2
-I/usr/sfw/lib/glib/include -fpermissive -Wall -Wunused -o
.libs/test-link-module test-link-module.o 
../../engine/.libs/libgncmod-engine.so -L/usr/sfw/lib -L/usr/local/lib
-L/opt/sfw/lib ../../gnc-module/.libs/libgncmodule.so
../.libs/libgncmod-app-utils.so
/usr/local/tmp/gnucash-1.8.9/src/calculation/.libs/libgncmod-calculation.so
../../engine/.libs/libgw-engine.so ../../../src/test-core/.libs/libgncmod-test.a
../../../src/engine/test-core/.libs/libgncmod-test-engine.a
/usr/local/tmp/gnucash-1.8.9/src/engine/.libs/libgncmod-engine.so
/usr/local/tmp/gnucash-1.8.9/intl/.libs/libintl.so
/usr/local/tmp/gnucash-1.8.9/src/gnc-module/.libs/libgncmodule.so
/usr/local/tmp/gnucash-1.8.9/src/core-utils/.libs/libcore-utils.so
/usr/local/lib/libltdl.so
/usr/local/tmp/gnucash-1.8.9/src/engine/.libs/libgw-engine.so
/usr/local/tmp/gnucash-1.8.9/src/engine/.libs/libgw-kvp.so
/usr/local/lib/libintl.so -lc /usr/local/lib/libgwrap-wct.so
/usr/local/lib/libgwrap-glib.so /usr/sfw/lib/libglib.so /opt/sfw/lib/libguile.so
-ldl -lsocket -lnsl -lpopt -lm -R/usr/local/lib/gnucash -R/usr/local/lib
-R/usr/sfw/lib -R/opt/sfw/lib



A quick search after " _(" in src/app-utils/*.c return: 
gnc-exp-parser.c:      return _("Illegal variable in expression." ); break;
gnc-exp-parser.c:      return _("Unbalanced parenthesis");
gnc-exp-parser.c:      return _("Stack overflow");
gnc-exp-parser.c:      return _("Stack underflow");
gnc-exp-parser.c:      return _("Undefined character");
gnc-exp-parser.c:      return _("Not a variable");
gnc-exp-parser.c:      return _("Not a defined function");
gnc-exp-parser.c:      return _("Out of memory");
gnc-exp-parser.c:      return _("Numeric error");
gnc-ui-util.c:    case NREC: return _("not cleared:n") + 12;
gnc-ui-util.c:    case CREC: return _("cleared:c") + 8;
gnc-ui-util.c:    case YREC: return _("reconciled:y") + 11;
gnc-ui-util.c:    case FREC: return _("frozen:f") + 7;
gnc-ui-util.c:    case VREC: return _("void:v") + 5;
gnc-ui-util.c:    base_name = _(base_name);
gnc-ui-util.c:  parent = xaccGetAccountFromName (group, _("Equity"));
gnc-ui-util.c:  xaccTransSetDescription (trans, _("Opening Balance"));




Doing s/ _(/ (/g will allow ld to link the object but the compile process breaks
after. 

I will be very glad to assist any person willing to sort this out and get
gnucash working on solaris10 x86.

thanks for any help.

regards

benjamin



More information about the gnucash-devel mailing list