compile error on solaris x86

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


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/

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/ -L/usr/sfw/lib -L/usr/local/lib
-L/opt/sfw/lib ../../gnc-module/.libs/
../../engine/.libs/ ../../../src/test-core/.libs/libgncmod-test.a
/usr/local/lib/ -lc /usr/local/lib/
/usr/local/lib/ /usr/sfw/lib/ /opt/sfw/lib/
-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

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.



More information about the gnucash-devel mailing list