commited code to DEVEL of php4.spec (just the spec)

but it fails. can't see now why

[...]
checking for an ANSI C-conforming const... yes
checking flex version... 2.5.31 (ok)
checking for pthreads_cflags... -pthread
checking for pthreads_lib... pthread

Configuring SAPI modules
checking for AOLserver support... no
[...]
/bin/sh /home/builder/rpm/BUILD/php-4.3.10/build-cgi/libtool --silent 
--preserve-dup-deps --mode=link ccache i686-pld-linux-gcc -export-dynamic -O2 
-march=i686 -DEAPI=1 -I/usr/X11R6/include     libphp_common.la 
sapi/cgi/cgi_main.lo sapi/cgi/getopt.lo main/internal_functions.lo -lcrypt 
-lcrypt -lm -ldb-4.2 -lssl -lcrypto -lresolv -lm -ldl -lcrypt -lcrypt  -o 
sapi/cgi/php
./.libs/libphp_common.a(TSRM.o)(.text+0x20): In function `tsrm_startup':
TSRM.c: undefined reference to `pthread_key_create'
./.libs/libphp_common.a(TSRM.o)(.text+0x18a): In function `tsrm_shutdown':
TSRM.c: undefined reference to `pthread_setspecific'
./.libs/libphp_common.a(TSRM.o)(.text+0x197):TSRM.c: undefined reference to 
`pthread_key_delete'
./.libs/libphp_common.a(TSRM.o)(.text+0x3c5): In function 
`allocate_new_resource':
TSRM.c: undefined reference to `pthread_setspecific'
./.libs/libphp_common.a(TSRM.o)(.text+0x523): In function `ts_resource_ex':
TSRM.c: undefined reference to `pthread_getspecific'
./.libs/libphp_common.a(TSRM.o)(.text+0x605): In function `ts_free_thread':
TSRM.c: undefined reference to `pthread_setspecific'
collect2: ld returned 1 exit status
make: *** [sapi/cgi/php] Error 1
error: Bad exit status from /var/tmp/rpm-tmp.64246 (%build)

-lpthread is lost, but it was detected earlier

-- 
glen

_______________________________________________
pld-devel-en mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-devel-en

Reply via email to