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.


> /bin/sh ../../libtool --mode=link gcc  -g -O2 -Wall -Wunused  -o
> theme-selector-capplet ../../control-center/ `imlib-config
> --libs` file.o globals.o lister.o main.o  signals.o demo.o gui.o
> install.o ../../control-center/    -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/ -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/ -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/ attempted
> multiple inclusion of file
> Undefined                       first referenced
>  symbol                             in file
> XpmFreeXpmImage                     /usr/local/lib/
> XpmCreateXpmImageFromBuffer         /usr/local/lib/
> XpmGetErrorString                   /usr/local/lib/
> XpmFreeXpmInfo                      /usr/local/lib/
> XpmCreateXpmImageFromData           /usr/local/lib/
> 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

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

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