gnome-libs Solaris compilation sadness



I'm trying to compile gnome-libs on an UltraSparc running Solaris 8. The
configure works fine, but the make dies. I solved the first problem, but I
can't get past the second one.

Originally, when I would run make, it would die like so:

Making all in support
make[2]: Entering directory `/opt/tmp/gnome-libs-1.4.1.2/support'
/bin/sh ../libtool --mode=compile gcc -DHAVE_CONFIG_H -I. -I. -I..
-D_GNU_SOURCE  -I/opt/include -I/opt/pkgs/gtk+-1.2.10/include/gtk-1.2
-I/opt/pkgs/glib-1.2.10/include/glib-1.2
-I/opt/pkgs/glib-1.2.10/lib/glib/include -I/usr/openwin/include
-I/opt/include -Wall -Wunused  -c findme.c
../libtool: test: argument expected
make[2]: *** [findme.lo] Error 1
make[2]: Leaving directory `/opt/tmp/gnome-libs-1.4.1.2/support'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tmp/gnome-libs-1.4.1.2'
make: *** [all-recursive-am] Error 2

I fixed this by editing the included libtool, replacing most of the
instances of 'test $foo' with 'test x"$foo"'. Now my make gets farther,
but dies here:

Making all in convertrgb
make[3]: Entering directory `/opt/tmp/gnome-libs-1.4.1.2/tools/convertrgb'
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/pkgs/gnome-libs-1.4.1.2/include
-I/opt/pkgs/glib-1.2.10/lib/glib/include -I/usr/openwin/include
-I/opt/include -I/opt/pkgs/gtk+-1.2.10/include/gtk-1.2
-I/opt/pkgs/glib-1.2.10/include/glib-1.2
-I/opt/pkgs/glib-1.2.10/lib/glib/include -I/usr/openwin/include
-I/opt/include -Wall -Wunused  -c convertrgb.c
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/pkgs/gnome-libs-1.4.1.2/include
-I/opt/pkgs/glib-1.2.10/lib/glib/include -I/usr/openwin/include
-I/opt/include -I/opt/pkgs/gtk+-1.2.10/include/gtk-1.2
-I/opt/pkgs/glib-1.2.10/include/glib-1.2
-I/opt/pkgs/glib-1.2.10/lib/glib/include -I/usr/openwin/include
-I/opt/include -Wall -Wunused  -c loadpng.c
/bin/sh ../../libtool --mode=link gcc  -I/opt/include -Wall -Wunused   -o
convertrgb  convertrgb.o loadpng.o -lXpm -ljpeg -lpng -lz -lz -lSM -lICE
-L/opt/pkgs/gtk+-1.2.10/lib -L/usr/openwin/lib -R/usr/openwin/lib -lgtk
-lgdk -L/opt/pkgs/glib-1.2.10/lib -lgmodule -lglib -ldl -lXext -lX11
-lsocket -lnsl -lm -L/opt/pkgs/glib-1.2.10/lib -lglib -lz -lresolv -lm
mkdir .libs
gcc -I/opt/include -Wall -Wunused -o convertrgb convertrgb.o loadpng.o
-L/opt/pkgs/gtk+-1.2.10/lib -L/usr/openwin/lib -L/opt/pkgs/glib-1.2.10/lib
-lXpm -lpng -lz -lz -lSM -lICE -lm -lm -ldl -lXext -lX11 -lsocket -lnsl
-lm -lz -lresolv -lm -R/usr/openwin/lib
Undefined                       first referenced
 symbol                             in file
g_free                              convertrgb.o
g_strdup                            convertrgb.o
ld: fatal: Symbol referencing errors. No output written to convertrgb
collect2: ld returned 1 exit status
make[3]: *** [convertrgb] Error 1
make[3]: Leaving directory `/opt/tmp/gnome-libs-1.4.1.2/tools/convertrgb'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/opt/tmp/gnome-libs-1.4.1.2/tools'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/opt/tmp/gnome-libs-1.4.1.2'
make: *** [all-recursive-am] Error 2

This is beyond my limited knowledge. Does anyone have any advice for me?
I'm sure I've left out important information, but I'm not sure what's
relevant. Let me know if I need to provide anything else.





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