gtk 1.0.1 build problem on SunOS
- From: Nils Lohner <lohner typhoon icd teradyne com>
- To: gtk-list redhat com
- Subject: gtk 1.0.1 build problem on SunOS
- Date: Mon, 11 May 1998 11:03:58 -0400
I have a problem building GTK 1.0.1 on SunOS... works fine on Solaris
(SunOS typhoon 5.5.1 Generic_103640-08 sun4u sparc SUNW,Ultra-1)
The problem is on SunOS lubber 4.1.4 2 sun4m. It seems that the Makefiles
don't pick up the libraries from the .libs directories...
Nils.
~/utils/gtk+-1.0.1/glib > tail -20 ../makelog
mkdir .libs
gcc -shared -o .libs/libglib.so.1.1 garray.lo gcache.lo gerror.lo ghash.lo
glist.lo gmem.lo gprimes.lo gslist.lo gtimer.lo gtree.lo gstring.lo
gscanner.lo gutils.lo
ar cru .libs/libglib.a garray.o gcache.o gerror.o ghash.o glist.o gmem.o
gprimes.o gslist.o gtimer.o gtree.o gstring.o gscanner.o gutils.o
ranlib .libs/libglib.a
creating libglib.la
(cd .libs && ln -s ../libglib.la libglib.la)
gcc -DHAVE_CONFIG_H -I. -I. -I. -I. -g -O2 -Wall -c testglib.c
testglib.c: In function `main':
testglib.c:111: warning: int format, long int arg (arg 2)
testglib.c:112: warning: int format, long int arg (arg 2)
testglib.c:113: warning: int format, long int arg (arg 2)
/bin/sh ./libtool --mode=link gcc -g -O2 -Wall -o testglib testglib.o
libglib.la
LD_LIBRARY_PATH=".libs:$LD_LIBRARY_PATH" gcc -g -O2 -Wall -o .libs/testglib
testglib.o -L/u/lohner/sun4/lib -lglib
collect2: ld returned 1 exit status
/pd/oslib/sparc-sun-sunos4.1.3_U1/bin/ld: cannot open -lglib: No such file
or directory
gmake[2]: *** [testglib] Error 1
gmake[2]: Leaving directory `/tmp_mnt/u/lohner/utils/gtk+-1.0.1/glib'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/tmp_mnt/u/lohner/utils/gtk+-1.0.1'
gmake: *** [all-recursive-am] Error 2
~/utils/gtk+-1.0.1/glib > ll .libs
total 372
drwxr-xr-x 2 lohner 512 May 11 10:58 ./
drwxr-xr-x 3 lohner 1536 May 11 10:50 ../
-rw-r--r-- 1 lohner 189632 May 11 10:50 libglib.a
lrwxrwxrwx 1 lohner 13 May 11 10:50 libglib.la -> ../libglib.la
-rwxr-xr-x 1 lohner 157246 May 11 10:50 libglib.so.1.1*
~/utils/gtk+-1.0.1/glib >
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]