[Evolution-hackers] Problem of building gtkhtml



Hi, there,
I met a problem when build gtkhtml on solaris,  it reported:
 Undefined                       first referenced
  symbol                             in file
 XSendEvent                          /usr/dist/share/gnome-2.0/lib/libbonoboui-2.a(bonobo-plug.o)  (symbol belongs to implicit dependency /usr/lib/libX11.so.4)XSetErrorHandler                    /usr/dist/share/gnome-2.0/lib/libbonoboui-2.a(bonobo-ui-main.o)  (symbol belongs to implicit dependency /usr/lib/libX11.so.4)

Sounds like a problem with libbonoboui?

Then I tried the followings:

1. Verify if the files libbonoboui-2.so and libbonoboui-2.a are created at the same time.
$ ls -l /usr/dist/share/gnome-2.0/lib/libbonoboui-2.*
-rw-r--r--   1 work     staff     1030292 May 13 20:33 /usr/dist/share/gnome-2.0/lib/libbonoboui-2.a
-rwxr-xr-x   1 work     staff        2689 May 13 20:33 /usr/dist/share/gnome-2.0/lib/libbonoboui-2.la
lrwxrwxrwx   1 work     staff          22 May 13 20:33 /usr/dist/share/gnome-2.0/lib/libbonoboui-2.so -> libbonoboui-2.so.0.0.0
lrwxrwxrwx   1 work     staff          22 May 13 20:33 /usr/dist/share/gnome-2.0/lib/libbonoboui-2.so.0 -> libbonoboui-2.so.0.0.0
-rwxr-xr-x   1 work     staff     1017064 May 13 20:33 /usr/dist/share/gnome-2.0/lib/libbonoboui-2.so.0.0.0

2. See if libX11.so* was linked to libbonoboui-2.so. (Then I think that means it also was linked to libbonoboui-2.a, right?)
$ ldd /usr/dist/share/gnome-2.0/lib/libbonoboui-2.so | grep X
        libXext.so.0 =>  /usr/lib/libXext.so.0
        libX11.so.4 =>   /usr/lib/libX11.so.4

3. See if the symbol XSendEvent was referenced in libbonoboui-2.a and libbonoboui-2.so
$ nm /usr/dist/share/gnome-2.0/lib/libbonoboui-2.so|grep XSendEvent
[5918]  |         0|       0|NOTY |GLOB |0    |UNDEF  |XSendEvent
$ nm /usr/dist/share/gnome-2.0/lib/libbonoboui-2.a|grep XSendEvent
[39]    |         0|       0|NOTY |GLOB |0    |UNDEF  |XSendEvent

Both are UNDEF!

I'm confused what happened here.
1. Why did libbonoboui-2 link to /usr/lib/libX11.so.4 but didn't reference to symbol XSendEvent?
2. Anyway to do further investigation?
3. Any workaround?

Thanks all!

Calvin


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]