Build Problems...

Dave Peticolas dave@krondo.com
30 Oct 2001 12:59:16 -0800


--=-nxTBCSJU9aO3i1PX3Gh9
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

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.
>=20
> make[5]: Entering directory `/brownes/chvatal/local/src/gnucash/pristine/=
gnucash/src/gnc-module/test'
> /bin/sh ../../../libtool --mode=3Dlink gcc -I/usr/include/glib-1.2 -I/usr=
/lib/glib/include -I../ -I/usr/include -g -O2 -Wall -Wunused  -Wall -Wno-un=
used -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-declarati=
on -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 -l=
m -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/t=
est-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-mo=
dule.c:110: undefined reference to `gh_lookup'
> /brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-mo=
dule.c:114: undefined reference to `gh_str02scm'
> /brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-mo=
dule.c:115: undefined reference to `scm_member'
> /brownes/chvatal/local/src/gnucash/pristine/gnucash/src/gnc-module/gnc-mo=
dule.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/g=
nucash/src/gnc-module/test'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/g=
nucash/src/gnc-module/test'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/g=
nucash/src/gnc-module'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/g=
nucash/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/brownes/chvatal/local/src/gnucash/pristine/g=
nucash'
> make: *** [all-recursive-am] Error 2
>=20
> 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.
>=20
> 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=20
updating, cleaning gnc-module and rebuilding.

dave


--=-nxTBCSJU9aO3i1PX3Gh9
Content-Type: application/pgp-signature

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iD8DBQA73xSk5effKKCmfpIRAsVAAJ0etd4N6idZPL3nQchneIaveBqVKACgykKn
GACh5CGPm5CFsT/il5p9+YQ=
=1d6b
-----END PGP SIGNATURE-----

--=-nxTBCSJU9aO3i1PX3Gh9--