SVN make fails at undefined reference to
`gnc_main_get_namespace_regexp'
Derek Atkins
warlord at MIT.EDU
Mon Jan 23 20:20:34 EST 2006
This function is defined in src/core-utils/gnc-main.h and implemented in
src/core-utils/gnc-main.c. The "problem" is that src/engine/test
(which is where I'm assuming this is failing for you, but you don't provide
enough information to tell for sure) is not linking against the core-utils
library, and you're using Debian's broken libtool which strips out
implicit dependencies.
I've just fixed this in SVN for you. Try 12971.
-derek
Quoting digger vermont <dv_mlist at verizon.net>:
> Hello All,
> Make is failing with:
>
> gcc -I../../.. -I../../../src -I../../../src/gnc-module
> -I../../../src/test-core -I../../../src/engine
> -I../../../src/engine/test-core -I../../../lib/libqof/qof -pthread
> -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -Wall
> -Wunused -Wmissing-prototypes -Wmissing-declarations -Werror
> -Wdeclaration-after-statement -Wno-pointer-sign -o .libs/test-link
> test-link.o ../.libs/libgncmod-engine.so
> ../../../lib/libqof/qof/.libs/libqof.so /usr/lib/libpopt.so -lm
> -Wl,--rpath -Wl,/usr/local/lib/gnucash -Wl,--rpath -Wl,/usr/local/lib
> ../.libs/libgncmod-engine.so: undefined reference to
> `gnc_main_get_namespace_regexp'
> collect2: ld returned 1 exit status
>
> The svn revision is 12968 and it's failed at this spot for a few days I
> believe.
>
> The last revision I've successfully compiled was built 2006-01-20 from
> r12910.
>
> I've tried:
> make distclean
> ./autogen.sh
> ./configure --enable-error-on-warning --enable-compile-warnings
> make
>
> My dist is debian unstable.
>
> Any suggestions on what to do?
>
> Thanks for any help,
>
> digger
>
>
>
> _______________________________________________
> gnucash-devel mailing list
> gnucash-devel at gnucash.org
> https://lists.gnucash.org/mailman/listinfo/gnucash-devel
>
--
Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory
Member, MIT Student Information Processing Board (SIPB)
URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH
warlord at MIT.EDU PGP key available
More information about the gnucash-devel
mailing list