Re: Solaris v2.6 - is it supported?



Graham Leggett wrote:
> 
> Hi all,
> 
> I have a newly installed and patched Solaris v2.6 installation which I
> am trying to build Gnome on. All the Gnome source prerequisites build
> and install fine using gcc.
> 
> Problems begin when I get to control-center and gnome-core. The compile
> fails as below.
> 
> It seems that there is a libXpm library that is missing from the Solaris
> system, however Gnome somehow finds header files for them - which causes
> the build to fail at linking.

Solaris ISTR has an interesting 'feature' of its linker whereby, symbols
are only resolved in libraries from files /before/ it in the command
line. So one has to be careful of the order, ensuring that required
libraries, sucha as Xlib etc, are included in the command line before
the libraries that need them.

Rich

> /bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wunused  -o
> theme-selector-capplet ../../control-center/libcapplet.la `imlib-config
> --libs` file.o globals.o lister.o main.o  signals.o demo.o gui.o
> install.o ../../control-center/libcapplet.la    -L/usr/local/lib
> -L/usr/openwin/lib -R/usr/openwin/lib -L/usr/local/lib -lORBitCosNaming
> -lORBit -lIIOP -lORBitutil -lglib -lresolv -lnsl -lsocket -lm   -lgnomeui
> -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11
> -lgnome -lgnomesupport -lesd -lresolv -lposix4 -lnsl -lsocket
> -laudiofile -lm -ldb -lglib -ldl        -lImlib  -lgtkxmhtml -ljpeg -lpng -lz
> -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXext -lX11 -lsocket -lnsl
> -lm -lgnorba
> gcc -g -O2 -Wall -Wunused -o .libs/theme-selector-capplet
> ../../control-center/.libs/libcapplet.so -L/usr/local/lib
> -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lresolv -lnsl
> -lsocket -lm -lm -ldl -L/usr/openwin/lib -lgnorba -lORBitCosNaming
> -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE
> -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lresolv
> -lposix4 -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl
> -L/usr/local/lib -lImlib -ljpeg -ltiff -lgif -lpng -lz -lm -lXext
> -L/usr/openwin/lib -lSM -lICE -lXext -lX11 -lsocket -lnsl file.o
> globals.o lister.o main.o signals.o demo.o gui.o install.o
> ../../control-center/.libs/libcapplet.so -lORBitCosNaming -lORBit -lIIOP
> -lORBitutil -lglib -lresolv -lnsl -lsocket -lm -lm -ldl -lgnorba
> -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lgnomeui -lart_lgpl
> -lgdk_imlib -lSM -lICE -lgtk -lgdk -lgmodule -lXext -lX11 -lgnome
> -lgnomesupport -lesd -lresolv -lposix4 -lnsl -lsocket -laudiofile -lm
> -ldb -lglib -ldl -L/usr/local/lib -L/usr/openwin/lib -L/usr/local/lib
> -lORBitCosNaming -lORBit -lIIOP -lORBitutil -lglib -lresolv -lnsl
> -lsocket -lm -lgnomeui -lart_lgpl -lgdk_imlib -lSM -lICE -lgtk -lgdk
> -lgmodule -lXext -lX11 -lgnome -lgnomesupport -lesd -lresolv -lposix4
> -lnsl -lsocket -laudiofile -lm -ldb -lglib -ldl -lImlib -lgtkxmhtml
> -ljpeg -lpng -lz -lSM -lICE -lgtk -lgdk -lgmodule -lglib -ldl -lXext
> -lX11 -lsocket -lnsl -lm -lgnorba -R/usr/local/lib -R/usr/openwin/lib
> ld: warning: file ../../control-center/.libs/libcapplet.so: attempted
> multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> XpmFreeXpmImage                     /usr/local/lib/libgtkxmhtml.so
> XpmCreateXpmImageFromBuffer         /usr/local/lib/libgtkxmhtml.so
> XpmGetErrorString                   /usr/local/lib/libgtkxmhtml.so
> XpmFreeXpmInfo                      /usr/local/lib/libgtkxmhtml.so
> XpmCreateXpmImageFromData           /usr/local/lib/libgtkxmhtml.so
> ld: fatal: Symbol referencing errors. No output written to
> .libs/theme-selector-capplet
> collect2: ld returned 1 exit status
> *** Error code 1
> 
> Regards,
> Graham
> --
> 
> _______________________________________________
> gnome-devel-list mailing list
> gnome-devel-list gnome org
> http://mail.gnome.org/mailman/listinfo/gnome-devel-list

-- 
         
     o () o                          | Rich Wareham
     |\/\/|                          | Robinson College,
   ("`-''-/").___..--''"`-._         | Cambridge, CB3 9AN
    `6_ 6  )   `-.  (     ).`-.__.`) |
    (_Y_.)'  ._   )  `._ `. ``-..-'  | rjw57 cam ac uk
  _..`--'_..-_/  /--'_.' ,'          | http://www.richwareham.net/
 (il),-''  (li),'  ((!.-'     /< 0 C |




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