Hi there,

thanx for the hint with apache2.x and php4.x.
I am now trying to build php, but the make command failes while configure did well?!

This is the cinfigure command I used:
'./configure' '--with-gd' '--with-freetype-dir=/usr/lib' '--enable-gd-native-ttf' '--enable-gd-imgstrttf' '--with-jpeg-dir=/usr' '--with-png-dir=/usr/lib' '--with-zlib' '--with-apxs2=/usr/local/apache/bin/apxs' '--with-mysql' '--with-pdflib' '--with-xml' '--with-gettext' '--enable-sysvsem' '--enable-sysvshm' '--with-curl' '--enable-xslt' '--with-xslt-sablot=/usr/local/'


This is the error msg after running make:

RM  -g -O2  -prefer-pic -c /home/merlin/sw/php-4.3.5/ext/curl/curl.c -o 
ext/curl/curl.lo
cc1: warning: changing search order for system directory "/usr/local/include"
cc1: warning:   as it has already been specified as a non-system directory
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `curl_free_post':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:568: warning: passing arg 1 of 
`curl_formfree' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `alloc_curl_handle':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:608: sizeof applied to an incomplete type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c: In function `zif_curl_setopt':
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:845: duplicate case value
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:700: previously used here
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:890: warning: passing arg 1 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:890: warning: passing arg 2 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:898: warning: passing arg 1 of 
`curl_formadd' from incompatible pointer type
/home/merlin/sw/php-4.3.5/ext/curl/curl.c:898: warning: passing arg 2 of 
`curl_formadd' from incompatible pointer type
make: *** [ext/curl/curl.lo] Error 1


If I configure without curl, it still throws an error:


/usr/local/lib/libsablot.so: undefined reference to `operator new[](unsigned)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__si_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete(void*)'
/usr/local/lib/libsablot.so: undefined reference to `__gxx_personality_v0'
/usr/local/lib/libsablot.so: undefined reference to `__cxa_pure_virtual'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator delete[](void*)'
/usr/local/lib/libsablot.so: undefined reference to `vtable for 
__cxxabiv1::__vmi_class_type_info'
/usr/local/lib/libsablot.so: undefined reference to `operator new(unsigned)'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1

Has somebody an idea what to do?`

thanx for anny hint,

Merlin

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to