[csw-maintainers] Anyone wants to update wxWidgets?

Sebastian Kayser skayser at opencsw.org
Wed Oct 21 00:38:38 CEST 2009


Maciej (Matchek) Blizinski wrote on 14.10.2009 19:27:
> One more problem: It doesn't compile it on build8s, while it does on
> my local machine at work. Here's what happens on build8s:
>
> [...]
>
> Looking at config.log:
> 
> configure:27183: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest
> -erroff=E_NO_EXPLICIT_TYPE_GIVEN -xO3 -xarch=v8 -fast -xstrconst
> -xnolibmopt -I/opt/csw/X11/include -I/usr/X11/include
> -I/usr/openwin/share/include -I/opt/csw/include -D_REENTRANT
> -D_PTHREADS -D__solaris__ -D_POSIX_PTHREAD_SEMANTICS
> -I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include
> -I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo
> -I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0
> -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pixman-1
> -I/opt/csw/include/freetype2 -I/opt/csw/include
> -I/opt/csw/include/libpng12 -I/opt/csw/X11/include
> -I/opt/csw/X11/include -I/usr/X11/include -I/usr/openwin/share/include
> -I/opt/csw/include -xarch=v8 -L/opt/csw/lib -L/opt/csw/X11/lib
> conftest.c  -lm -L/opt/csw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0
> -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo
> -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0
> -lgthread-2.0 -lpthread -lthread -lrt -lglib-2.0 -lintl   >&5
> "conftest.c", line 74: warning: statement not reached
> Undefined                       first referenced
>  symbol                             in file
> XSolarisIASetProcessInfo            /usr/openwin/lib/libX11.so.4
> ld: fatal: Symbol referencing errors. No output written to conftest
> 
> Is it related to the recent discussions about X11 libs? Is it a common
> problem, and are there any common fixes?

I see a similar problem with mtr [1].

$ gmake clean configure-isa-i386-gui-enable
...
checking for socket... no
checking for socket in -lsocket... no
configure: error: No socket library found
gmake[1]: *** [configure-work/build-isa-i386-gui-enable/mtr-0.75/configure] Error 1
gmake[1]: Leaving directory `/home/skayser/mgar/pkg/mtr/trunk'
gmake: *** [configure-isa-i386-gui-enable] Error 2

Looking at config.log

configure:6739: checking for socket
configure:6795: /opt/studio/SOS11/SUNWspro/bin/cc -o conftest -xO3 -xarch=386 -I/opt/csw/include -D__solaris__ -D_REENTRANT -D_POSIX_PTHREAD_SEMANTICS -I/opt/csw/include/gtk-2.0 -I/opt/csw/lib/gtk-2.0/include -I/opt/csw/include/atk-1.0 -I/opt/csw/include/cairo -I/opt/csw/include/pango-1.0 -I/opt/csw/include/glib-2.0 -I/opt/csw/lib/glib-2.0/include -I/opt/csw/include/pixman-1 -I/opt/csw/include/freetype2 -I/opt/csw/include -I/opt/csw/include/libpng12 -I/opt/csw/X11/include   -I/opt/csw/include -xarch=386 -L/opt/csw/lib conftest.c -lm -ltermcap  -L/opt/csw/lib -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lgdk_pixbuf-2.0 -lpangocairo-1.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl   -lm >&5
"conftest.c", line 67: warning: statement not reached
Undefined                       first referenced
 symbol                             in file
socket                              conftest.o  (symbol belongs to implicit dependency /lib/libsocket.so.1)
XSolarisIASetProcessInfo            /usr/openwin/lib/libX11.so.4

Is there some sort of LD_DEBUG way to determine what is happening
here? Which lib pulls in /usr/openwin/lib/libX11.so.4 (i can't see
it mentioned on the command line) and why can't it resolve the
XSolarisIASetProcessInfo symbol which belongs to one of it's
dependencies, libXext.

$ nm -p /usr/openwin/lib/libXext.so | grep XSolarisIASetProcessInfo
0000037148 T XSolarisIASetProcessInfo

$ dump -Lv /usr/openwin/lib/libX11.so.4 | grep NEEDED
[1]     NEEDED          libXext.so.0
...

Sebastian

[1]https://gar.svn.sf.net/svnroot/gar/csw/mgar/pkg/mtr/trunk/Makefile



More information about the maintainers mailing list