On Sun, 2001-10-28 at 13:14, Christopher Browne wrote:
> 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.
Looks like the guile libs weren't getting linked in for some reason.
I just added them to src/gnc-module/Makefile.am, so you might try
updating, cleaning gnc-module and rebuilding.
dave
PGP signature