>>>>> On Wed, 01 Dec 1999 22:33:50 -0600, Christopher Browne
>>>>> <[EMAIL PROTECTED]> said:
Christopher> With the latest updates, and Rob Browning's reporting
Christopher> patch, I get the following:
Christopher> ../../src/register/gnome/obj/gnome/gnucash-sheet.o
Christopher> ../../src/register/gnome/obj/gnome/gnucash-style.o -L/usr/local/lib
Christopher> -lreadline -lnana -lpng -ljpeg -lz -lm -rdynamic -L/usr/lib
Christopher> -L/usr/X11R6/lib -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk
Christopher> -lgdk -lgmodule -lXi -lXext -lX11 -lgnome -lgnomesupport -lesd
Christopher> -laudiofile -lm -ldb -lglib -ldl -L/usr/lib -lguile -lqthreads -ldl -lm
Christopher> ../../lib/g-wrap-install/lib/libgwrapguile.a
Christopher> obj/gnome/window-help.o: In function `htmlWindow':
Christopher> /usr/local/src/gnucash/working/gnucash/src/gnome/window-help.c:315:
undefined reference to `gtk_xmhtml_new'
Christopher> obj/gnome/window-help.o: In function `xaccJumpToLabel':
Christopher> /usr/local/src/gnucash/working/gnucash/src/gnome/window-help.c:531:
undefined reference to `gtk_xmhtml_get_type'
Christopher> /usr/local/src/gnucash/working/gnucash/src/gnome/window-help.c:531:
undefined reference to `gtk_xmhtml_source'
Christopher> collect2: ld returned 1 exit status
Christopher> I *do* have gtk_xmhtml installed;
Christopher> /usr/include/gtk-xmhtml/gtk-xmhtml.h is there, and
Christopher> contains this function. (libgtkxmhtml1 and
Christopher> libgtkxmhtml-dev, version 1.0.54-1; Debian unstable...)
Christopher> Is there something dumb that I forgot to remove before rerunning
Christopher> configure?
I got close to the same thing with my cvs setup, and I also run Debian
unstable. It was on the final ld step, with tons of .o files above,
just like yours. Here are my exact errors:
/usr/bin/ld: warning: libXpm.so.4, needed by /usr/lib/libgtkxmhtml.so, not found (try
using --rpath)
/usr/lib/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromBuffer'
/usr/lib/libgtkxmhtml.so: undefined reference to `XpmFreeXpmInfo'
/usr/lib/libgtkxmhtml.so: undefined reference to `XpmGetErrorString'
/usr/lib/libgtkxmhtml.so: undefined reference to `XpmCreateXpmImageFromData'
/usr/lib/libgtkxmhtml.so: undefined reference to `XpmFreeXpmImage'
collect2: ld returned 1 exit status
make[3]: *** [../../gnucash.gnome] Error 1
make[3]: Leaving directory `/home/rob/src/cvs/gnucash/src/gnome'
make[2]: *** [gnome] Error 2
make[2]: Leaving directory `/home/rob/src/cvs/gnucash/src'
make[1]: *** [build-flavor] Error 2
make[1]: Leaving directory `/home/rob/src/cvs/gnucash'
make: *** [gnome] Error 2
$
so, I read the ld manpage, and it said the following:
-rpath directory
Add a directory to the runtime library search path.
This is used when linking an ELF executable with
nated and passed to the runtime linker, which uses
them to locate shared objects at runtime. The
jects which are needed by shared objects explicitly
included in the link; see the description of the
cygnus support 17 August 1992 9
ld(1) GNU Development Tools ld(1)
-rpath-link option. If -rpath is not used when
vironment variable LD_RUN_PATH will be used if it is
defined. linking an ELF executable, the contents of the
en -rpath option is also used when locating shared ob
shared objects. All -rpath arguments are concate
so "export LD_RUN_PATH=/usr/X11R6/lib/", and ld is happy.
rob
--
Gnucash Developer's List
To unsubscribe send empty email to: [EMAIL PROTECTED]