Build Problems...

Christopher Browne cbbrowne@acm.org
Sun, 28 Oct 2001 16:14:41 -0500


I'm having some problems getting a build from CVS; they seem to
primarily stem from problems getting some libraries built.

make[5]: Entering directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/test'
/bin/sh ../../../libtool --mode=link gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../ -I/usr/include -g -O2 -Wall -Wunused  -Wall -Wno-unused -Werror-implicit-function-declaration  -o test-load-c  test-load-c.o ../libgncmodule.la -L/usr/lib -lglib -lltdl -lpopt -lm  -lm
gcc -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I../ -I/usr/include -g -O2 -Wall -Wunused -Wall -Wno-unused -Werror-implicit-function-declaration -o .libs/test-load-c test-load-c.o  ../.libs/libgncmodule.so -L/usr/lib -lm -lm /usr/lib/libglib.so /usr/lib/libltdl.so -ldl /usr/lib/libpopt.so -lm -lm -Wl,--rpath -Wl,/usr/local/lib
test-load-c.o: In function `main':
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/test/test-load-c.c:43: undefined reference to `gh_enter'
../.libs/libgncmodule.so: In function `gnc_module_system_setup_load_path':
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-module.c:110: undefined reference to `gh_lookup'
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-module.c:114: undefined reference to `gh_str02scm'
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-module.c:115: undefined reference to `scm_member'
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-module.c:120: undefined reference to `gh_eval_str'
collect2: ld returned 1 exit status
make[5]: *** [test-load-c] Error 1
make[5]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/test'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/test'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/gnucash'
make: *** [all-recursive-am] Error 2

The problem here appears to be that the subdirectory
/brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/.libs
does not contain, as expected, some static libs.

I don't see how they get generated.
--
(reverse (concatenate 'string "ac.notelrac.teneerf@" "454aa"))
http://www.cbbrowne.com/info/advocacy.html
"Starting a project in C/C++ is a premature optimization."
-- Peter Jensen