Re: gnome-libs Solaris compilation sadness



some answers below....

K

> ../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:
> 

i got the same thing on solaris 2.6.... i copied libtool from esound and
it fixed this problem.... the version included in gnome libs must just
be old.

> 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
> 

those functions should be in glib.... don't know why you don't have
them, the library seems to be being included... i didn't see this
problem with gnome-libs 1.4.1.1, but haven't compiled 1.4.1.2 yet.

a quick glance at glib shows g_free is defined in glib-1.2.10/gmem.c,
and g_free is in an #ifdef USE_DMALLOC.... so i might guess you do not
have USE_DMALLOC defined, but just a guess.

Ken







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