glib-1.2.10 make error ?



Hi All,

I am trying to compile gtk-1.2.10 ,while configuring it stop with error :

configure: error:
*** GLIB 1.2.8 or better is required. The latest version of GLIB

my present GLIB is 1.2.7. So I tried recompiling glib-1.2.10 and got this error:

Making all in gthread
make[2]: Entering directory `/home/BUILD/glib-1.2.10/gthread'
/bin/sh ../libtool --mode=link gcc -g -O2 -Wall -D_REENTRANT -o testgthread testgthread.o ../libglib.la libgthread.la gcc -g -O2 -Wall -D_REENTRANT -o .libs/testgthread testgthread.o ../.libs/libglib.so .libs/libgthread.so
testgthread.o: In function `new_thread':
/home/BUILD/glib-1.2.10/gthread/testgthread.c:89: undefined reference to `pthread_create'
testgthread.o: In function `test_private':
/home/BUILD/glib-1.2.10/gthread/testgthread.c:197: undefined reference to `pthread_join'
.libs/libgthread.so: undefined reference to `pthread_getspecific'
.libs/libgthread.so: undefined reference to `pthread_key_create'
.libs/libgthread.so: undefined reference to `pthread_mutex_trylock'
.libs/libgthread.so: undefined reference to `pthread_cond_timedwait'
.libs/libgthread.so: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make[2]: *** [testgthread] Error 1
make[2]: Leaving directory `/home/BUILD/glib-1.2.10/gthread'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/BUILD/glib-1.2.10'
make: *** [all-recursive-am] Error 2

Could anyone please tell me as to  what  this error message would signify.

my host machine is armsa1110 using binutils-2.10.91 gcc-2.95.3 and glibc-2.2.2 .

My build enviroment seems to be OK since I manage to build a new toolchain with binutils-2.13.2.1 gcc-2.95.3 and glibc-2.2.5

Thanks in advance
Nagaraj




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