I'm trying to build monotone head on Red Hat Enterprise 4.

gcc is gcc (GCC) 3.4.6 20060404 (Red Hat 3.4.6-11)

Botan, Lua, pcre get past the mtn configure checks, but sqlite does
not:

/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x32d4e):
 In function `pthreadMutexTry':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:14876: undefined reference to 
`pthread_mutex_trylock'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x32e39):
 In function `pthreadMutexAlloc':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:14753: undefined reference to 
`pthread_mutexattr_init'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x32e4a):/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:14754:
 undefined reference to `pthread_mutexattr_settype'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x32e5e):/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:14756:
 undefined reference to `pthread_mutexattr_destroy'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x4d5ae):
 In function `findLockInfo':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:21879: undefined reference to 
`pthread_create'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x4d5bf):/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:21880:
 undefined reference to `pthread_join'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x4daa8):
 In function `unixDlError':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:24980: undefined reference to 
`dlerror'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x21a1):
 In function `unixDlSym':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:25007: undefined reference to 
`dlsym'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x4da8b):
 In function `unixDlClose':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:25011: undefined reference to 
`dlclose'
/usr/lib/gcc/i386-redhat-linux/3.4.6/../../../libsqlite3.a(sqlite3.o)(.text+0x4daf2):
 In function `unixDlOpen':
/home/stephe/monotone/sqlite-3.6.16/sqlite3.c:24966: undefined reference to 
`dlopen'


Do these errors look familiar? 

Maybe I need a newer pthread library?

-- 
-- Stephe


_______________________________________________
Monotone-devel mailing list
Monotone-devel@nongnu.org
http://lists.nongnu.org/mailman/listinfo/monotone-devel

Reply via email to