ld can't resolve all depencies

Stefan Marx Stefan.Marx@rhein-hacking.de
Sat, 3 Mar 2001 16:33:28 +0100


Hi,

after the *very* usefull tip from dave (thanx!) to downgrade the g-warp
stuff to 0.9.12 can compile the gnucash 1.4.10 but I stopped at time 
when linking is done:
[..]
gcc -g -O2 -Wall -I/usr/lib/glib/include -I/opt/gnome/include -DNEED_GNOMESUPPORT_H -I/opt/gnome/lib/gnome-libs/include -I/usr/lib/glib/include -I/usr/X11R6/include -I/usr/include/gnome-xml -I/usr/local/include -o .libs/gnucash MultiLedger.o SplitLedger.o Destroy.o EuroUtils.o FileDialog.o Refresh.o gnome/libgncgnome.a register/libgncregister.a register/gnome/libgncregistergnome.a guile/libgncguile.a gnome/libgncgnome.a engine/.libs/libgncengine.so -lm -rdynamic -L/opt/gnome/lib -L/usr/lib -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lgnome -lgnomesupport
-lesd -laudiofile -ldb1 -lgtkxmhtml -lXpm -ljpeg -lpng -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXi -lXext -lX11 -lm -lxml -lz /usr/local/lib/libgwrapguile.a -L/usr/local/lib -lguile -lm ../intl/libintl.a -lm -Wl,--rpath -Wl,/usr/local/lib
guile/libgncguile.a(gnc.o): In function `POINTER_TOKEN_to_SCM':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:74: undefined reference to `scm_master_freelist'
guile/libgncguile.a(gnc.o): In function `POINTER_ARRAY_to_SCM':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:99: undefined reference to `scm_master_freelist'
guile/libgncguile.a(gnc.o): In function `gwrap_xaccSplitGetBalance':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:587: undefined reference to `scm_make_complex'
guile/libgncguile.a(gnc.o): In function `gwrap_xaccSplitGetShareBalance':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:620: undefined reference to `scm_make_complex'
guile/libgncguile.a(gnc.o): In function `gwrap_xaccSplitGetCostBasis':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:653: undefined reference to `scm_make_complex'
guile/libgncguile.a(gnc.o): In function `gwrap_xaccSplitGetShareAmount':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:851: undefined reference to `scm_make_complex'
guile/libgncguile.a(gnc.o): In function `gwrap_xaccSplitGetSharePrice':
/opt/soft/gnucash-1.4.10/src/guile/gnc.c:884: undefined reference to `scm_make_complex'
guile/libgncguile.a(gnc.o):/opt/soft/gnucash-1.4.10/src/guile/gnc.c:917: more undefined references to `scm_make_complex' follow
/usr/lib/libguile.so: undefined reference to `qt_abort'
/usr/lib/libguile.so: undefined reference to `qt_error'
/usr/lib/libguile.so: undefined reference to `qt_block'
collect2: ld returned 1 exit status
make[3]: *** [gnucash] Error 1
make[3]: Leaving directory `/opt/soft/gnucash-1.4.10/src'
[.]
I tried to avoid using swig cause the directory names pointed in a direction
that it is optional and I simple don't have it handy at my system. Befor
starting further efforts with an nm and friends: Anyone a pointer for my whats
missing on a KDE based SuSE 7.0 - fairly generic? Dave, I was so exited to see
these windows I look at from the screenshorts after I conquered that g-wrap
show-stopper a now get stuck by this ;=)  ... ordenary lib missing blues, I
assuming?

Grettings from Cologne, Germany,
cu Stefan
-- 
Stefan.Marx@rhein-hacking.DE          http://www.rhein-hacking.DE
Eisenachstrasse 29                    cellular 0171-2116079
50733 Cologne, Germany                fax +49-221-9123251