Hello,
Compiling with ' --enable-linux-pthreads' brings the following errors.
Error:
gcc -g -O2 -DUDM_CONF_DIR=\"/usr/local/mnogocvs/etc\" -DUDM_VAR_DIR=\"/usr/l
ocal/mnogocvs/var\" -o search.cgi -lpthread
search.o search_tl.o
.libs/libudmsearch.a -L/usr/local/mysql/lib/mysql -lmysqlclient -lm -lz -sta
tic -L/usr/local/mysql/
lib/mysql -lmysqlclient -lm -lz
.libs/libudmsearch.a(parser.o): In function `parse_file':
/home/beh/source/mnogosearch/src/parser.c:258: the use of `tmpnam' is
dangerous, better use `mkstemp'
search.o: In function `LoadTemplate':
/home/beh/source/mnogosearch/src/search.c:347: undefined reference to
`pthread_create'
collect2: ld returned 1 exit status
without '--enable-linux-pthreads' the built looks better
System:
Configure:
./configure --enable-linux-pthreads --enable-all-static --with-mysql=/usr/l
ocal/mysql --enable-phrase --enable-fast-site --enable-fast-cat --enable-f
ast-tag --prefix=/usr/local/mnogocvs
GCC 2.95.3
Linux smp 2.2.18-SMP
Mysql 3.23.41
On my SGI Indigo2 i have some other problems...
System:
Configure: same as above
Irix 6.5.12m
GCC 2.95.3 with the following FLAGS
CFLAGS="-mabi=n32 -mips4 -fno-builtins -I/usr/local/include"
LDFLAG="-n32 -mips4 -L/usr/lib32"
CC="gcc"
CXX="g++"
Mysql 3.23.38
Error:
gmake[1]: Entering directory `/usr/people/beh/mnogosearch/src'
/bin/sh ../libtool --mode=compile
gcc -DHAVE_CONFIG_H -I. -I. -I../include -I../include -I/usr/local/mysq
l/include/
mysql -g -O2 -DUDM_CONF_DIR=\"/usr/local/mnogosearch/etc\" -DUDM_V
AR_DIR=\"/usr/local/mnogosearch/var\" -c ind
exer.c
libtool: ltconfig version `' does not match ltmain.sh version
`1.3.4-freebsd-ports'
Fatal configuration error. See the libtool docs for more information.
gmake[1]: *** [indexer.lo] Error 1
When i`m remember correctly i have succesfully 3.1.12 compiled .. some days
ago.
Any hints ?
with best regards
Joerg Behrens
___________________________________________
If you want to unsubscribe send "unsubscribe general"
to [EMAIL PROTECTED]