Re: short tutorial on writing bonobo controls
- From: Sri Ramkrishna <sri aracnet com>
- To: Makoto SHIGA <m-shiga fjb co jp>
- Cc: gnome-components-list gnome org, dirkjan gnome org
- Subject: Re: short tutorial on writing bonobo controls
- Date: Mon, 18 Sep 2000 22:40:35 -0700 (PDT)
You're problem is that gnome-config does not add -lxml. This is because
the libxml-0.4 does not set xmlConf.sh properly. You'll need either to
wait till it's fixed in the next tar file or add
-L/path/to/lib/with/libxml/in/it -lxml
to your command line.
On the chance you don't have libxml, get it from
ftp.gnome.org/pub/GNOME/stable/sources/libxml
sri
> gcc -o test-container test-container.o `gnome-config --libs gnome`
> `gnome-config --libs bonobox` -lbonobo test-container.o: In function
> `container_create': test-container.o(.text+0x2a0): undefined reference
> to `bonobo_ui_handler_new_for_app' /usr/lib/libbonobox.so: undefined
> reference to `xmlNodeSetContent' /usr/lib/libbonobox.so: undefined
> reference to `xmlNewDocNode' /usr/lib/libbonobox.so: undefined
> reference to `xmlAddPrevSibling' /usr/lib/libbonobox.so: undefined
> reference to `xmlDocDump' /usr/lib/libbonobox.so: undefined reference
> to `xmlNewDoc' /usr/lib/libbonobox.so: undefined reference to
> `xmlDocDumpMemory' /usr/lib/libbonobox.so: undefined reference to
> `xmlFreeDoc' /usr/lib/libbonobox.so: undefined reference to
> `xmlNewChild' /usr/lib/libbonobox.so: undefined reference to
> `xmlNodeGetContent' /usr/lib/libbonobox.so: undefined reference to
> `xmlParseFile' /usr/lib/libbonobox.so: undefined reference to
> `xmlGetProp' /usr/lib/libbonobox.so: undefined reference to
> `xmlFreeNode' /usr/lib/libbonobox.so: undefined reference to
> `xmlNewProp' /usr/lib/libbonobox.so: undefined reference to
> `xmlUnlinkNode' /usr/lib/libbonobox.so: undefined reference to
> `xmlNodeListGetString' /usr/lib/libbonobox.so: undefined reference to
> `xmlParseDoc' /usr/lib/libbonobox.so: undefined reference to
> `xmlReplaceNode' /usr/lib/libbonobox.so: undefined reference to
> `xmlSetProp' /usr/lib/libbonobox.so: undefined reference to
> `xmlNewNode' /usr/lib/libbonobox.so: undefined reference to
> `xmlAddChild' /usr/lib/libbonobox.so: undefined reference to
> `xmlCopyPropList' collect2: ld returned 1 exit status make: ***
> [test-container] Error 1
>
> thanks in advance
>
> -makoto
>
>
> _______________________________________________
> gnome-components-list mailing list
> gnome-components-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]