[csw-maintainers] X11 lib consolidation: libXmu on test8s

Sebastian Kayser skayser at opencsw.org
Tue Sep 22 14:02:49 CEST 2009


Dagobert Michelsen wrote:
> Am 22.09.2009 um 12:13 schrieb Sebastian Kayser:
>> Hehe :) I just saw your commits, following the libXmu dependency
>> chain,
>> thanks alot. Very, very much appreciated.
>
> You can try out libXmu on test8s now. Please let me know if it
> works, there are 5 packages in a row to be updated, so the full
> release will take some time.

Mhh, on test8s ./configure fails to find a libXaw

checking for XawSimpleMenuAddGlobalActions in -lXaw -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw -lXpm -lXmu... no
checking for XawSimpleMenuAddGlobalActions in -lXaw_s -lXmu_s... no
checking for -lXaw -lXmu in /usr/contrib/X11R6... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R6... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R6... no
checking for -lXaw -lXmu in /usr/contrib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/contrib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/contrib/X11R5... no
checking for -lXaw -lXmu in /usr/lib/X11R5... no
checking for -lXaw -lXpm -lXmu in /usr/lib/X11R5... no
checking for -lXaw_s -lXmu_s in /usr/lib/X11R5... no
checking for -lXaw -lXmu in /usr/local... no
checking for -lXaw -lXpm -lXmu in /usr/local... no
checking for -lXaw_s -lXmu_s in /usr/local... no
configure: error: Unable to successfully link Athena library (-lXaw) with
test program

config.log holds many lines similar to

configure:8632: checking for XawSimpleMenuAddGlobalActions in -lXaw -lXmu
configure:8648: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest -xO3
-xarch=v8 -I/opt/csw/include -I/opt/csw/include -D__EXTENSIONS__ 
-I/opt/csw/X11/include  -L/opt/csw/X11/lib -R/opt/csw/X11/lib -xarch=v8
-L/opt/csw/lib conftest.c -lXaw
-lXmu -lXext -lXt  -lSM -lICE -lX11  -ltermcap -lsocket  -lnsl >&5
"configure", line 8641: warning: implicit function declaration:
XawSimpleMenuAddGlobalActions
Undefined                       first referenced
 symbol                             in file
XSolarisIASetProcessInfo            /usr/openwin/lib/libX11.so.4
ld: fatal: Symbol referencing errors. No output written to conftest

Why is trying to link with the stock libX11.so.4 at all (our CSW X11
doesn't have a reference to XSolarisIASetProcessInfo). Do we need a CSW
libxaw also? XSolarisIASetProcessInfo is contained in the stock libXext,
not in the CSW Xext for what it matters (although i don't think that makes
a difference, -lXext is listed before -lX11 on the cc invocation line).

skayser @ build8st ~/mgar/pkg/xterm/trunk$ nm -p
/opt/csw/X11/lib/libXext.so* | grep XSolarisIASetProcessInfo

skayser @ build8st ~/mgar/pkg/xterm/trunk$ nm -p
/usr/openwin/lib/libXext.so* | grep XSolarisIASetProcessInfo
0000047132 T XSolarisIASetProcessInfo
0000047132 T XSolarisIASetProcessInfo

Sebastian



More information about the maintainers mailing list