Re: Build problem with linc->ORBit2->libbonoboui. I'm stuck :(

jeroen <[email protected]>
Newsgroups gmane.comp.gnome.components
Message-ID <[email protected]>
Hi Malcolm,

For some reason libbonboui's .la file points to /usr/lib/liblinc.so and
/usr/lib/libxml2.so instead of your own custom prefix. Manually editing
the .la files helps. I have no idea why the .la files are wrong though.

Jeroen

On Sat, 26 Apr 2003, Malcolm Tredinnick wrote:

> I suspect I am ultimately missing something obvious here, but I have
> been beating my head against this problem for a day now and I'm getting
> frustrated. All of the builds I am talking about below are clean builds
> into pristine install locations and have been repeated multiple times. I
> am using up-to-the-minute CVS HEAD versions of the whole box and dice.
>
> The linc library recently had some functions added,
> amongst which was linc_connection_wait_connected. That is fine;
> liblinc.so shows this as an externally visible, resolved symbol. The
> ORBit2 library builds happily (make check passes, too) and shows
> linc_connection_wait_connected as an unresolved symbol.
>
> When I come to build libbonoboui, things explode in the samples/
> subdirectory. The usual error message (from samples/bonoboui) is
>
> /gnome/head/INSTALL/lib/libORBit-2.so: undefined reference to `linc_connection_wait_connected'
> /gnome/head/INSTALL/lib/libORBit-2.so: undefined reference to `linc_source_create_watch'
> /gnome/head/INSTALL/lib/libORBit-2.so: undefined reference to `linc_connection_get_status'
> /gnome/head/INSTALL/lib/libORBit-2.so: undefined reference to `linc_connection_disconnect'
> collect2: ld returned 1 exit status
> make[3]: *** [bonobo-hello] Error 1
>
> and that's all, she wrote. :-(
>
> The link of hello.o and libraries into bonobo-hello that was going on at
> this point included both -lORBit-2 and -llinc, so I just don't get why
> the symbols are not resolving properly.
>
> Is anybody else seeing this problem? Am I just cursed? Everything was
> working quite happily up until a day or two ago and not enough has
> changed to warrant this problem (I would have thought).
>
> This feels like it should be easy to fix, but I have apparently been
> taking too many stupid pills of late, so I cannoot see it. Any help
> would be appreciated.
>
> Cheers,
> Malcolm
>
>
> --
> How many of you believe in telekinesis? Raise my hand...
> _______________________________________________
> gnome-components-list mailing list
> [email protected]
> http://mail.gnome.org/mailman/listinfo/gnome-components-list
>
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.