Solaris compile error
- From: John Mooney <jmooney usweb com>
- To: "'gtk-list redhat com'" <gtk-list redhat com>
- Subject: Solaris compile error
- Date: Wed, 18 Mar 1998 11:00:30 -0800
I'm attempting to install gtk+-0.99.7 in preparaton for Imlib on an
Ultra 10 running Solaris 2.51.
After untarring gtk, I've run ./configure, and then gmake. The server
happily complies for a long while until it is near the end and then the
error messages begin:
creating libgtk.la
(cd .libs && ln -s ../libgtk.la libgtk.la)
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
-I/usr/openwin/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
testgtk.c
/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM -o testgtk testgtk.o libgtk.la ../gdk/libgdk.la
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
../glib/libglib.la -lm
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testgtk
testgtk.o -R/usr/local/lib .libs/libgtk.so -R/usr/local/lib
../gdk/.libs/libgdk.so -L/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-R/usr/local/lib ../glib/.libs/libglib.so -lm
creating testgtk
Bus Error - core dumped
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
-I/usr/openwin/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
testinput.c
/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM -o testinput testinput.o libgtk.la ../gdk/libgdk.la
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
../glib/libglib.la -lm
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testinput
testinput.o -R/usr/local/lib .libs/libgtk.so -R/usr/local/lib
../gdk/.libs/libgdk.so -L/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-R/usr/local/lib ../glib/.libs/libglib.so -lm
creating testinput
Bus Error - core dumped
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
-I/usr/openwin/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
testselection.c
/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM -o testselection testselection.o libgtk.la ../gdk/libgdk.la
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
../glib/libglib.la -lm
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/testselection
testselection.o -R/usr/local/lib .libs/libgtk.so -R/usr/local/lib
../gdk/.libs/libgdk.so -L/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
-R/usr/local/lib ../glib/.libs/libglib.so -lm
creating testselection
Segmentation Fault - core dumped
gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../glib -I../glib
-I/usr/openwin/include -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -c
simple.c
/bin/sh ../libtool --mode=link gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall
-DUSE_XIM -o simple simple.o libgtk.la ../gdk/libgdk.la
-L/usr/openwin/lib -R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl
../glib/libglib.la -lm
gcc -g -O2 -DGTK_NO_CHECK_CASTS -Wall -DUSE_XIM -o .libs/simple simple.o
-R/usr/local/lib .libs/libgtk.so -R/usr/local/lib ../gdk/.libs/libgdk.so
-L/usr/openwin/lib -lXext -lX11 -lsocket -lnsl -L/usr/openwin/lib
-R/usr/openwin/lib -lXext -lX11 -lsocket -lnsl -R/usr/local/lib
../glib/.libs/libglib.so -lm
creating simple
Bus Error - core dumped
gmake[2]: Leaving directory `/opt/imlib/gtk+-0.99.7/gtk'
Making all in docs
gmake[2]: Entering directory `/opt/imlib/gtk+-0.99.7/docs'
gmake[2]: Nothing to be done for `all'.
gmake[2]: Leaving directory `/opt/imlib/gtk+-0.99.7/docs'
gmake[1]: Leaving directory `/opt/imlib/gtk+-0.99.7'
I imagine the problem may relate to not specifying the appropriate libs.
I'm clear, however, on how or what I should be specifying for Solaris
2.51. Any assistance is appreciated.
Thanks.
-- John
jmooney@usweb.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]