ID:               29147
 Comment by:       php at arwin dot net
 Reported By:      sebastian at nohn dot net
 Status:           Open
 Bug Type:         Compile Failure
 Operating System: Linux 2.4 (Debian Woody)
 PHP Version:      5.0.0
 New Comment:

I had the same error when trying to include support for mnogosearch. 
The exact same configuration worked fine in php 5.0.0RC3.


Previous Comments:
------------------------------------------------------------------------

[2004-07-14 15:28:12] sebastian at nohn dot net

Description:
------------
PHP does'nt compile

Reproduce code:
---------------
./configure \
   --prefix=/opt/php \
   --sysconfdir=/etc/opt/php \
   --localstatedir=/var/opt/php \
   --with-apxs2=/opt/apache/sbin/apxs \
   --with-mysql=/usr \
   --with-pgsql=/usr \
   --with-zlib=yes \
   --with-xml \
   --enable-inline-optimization \
   --enable-sockets \
   --enable-ftp \
   --enable-wddx \
   --with-mnogosearch=/opt/mnogosearch \
   --with-gd \
   --with-freetype-dir=/usr \
   --with-gettext \
   --with-libxml-dir=/opt/libxml2
make

Expected result:
----------------
Everything works fine

Actual result:
--------------
/bin/sh /root/install_temp/php-5.0.0/libtool --silent
--preserve-dup-deps --mode=link /root/install_temp/php-5.0.0/meta_ccld
-export-dynamic -g -O2 -pthread -DZTS  -L/opt/libxml2/lib
-L/usr/lib/mysql -L/opt/mnogosearch/lib -L/usr/lib/postgresql/lib  -R
/opt/libxml2/lib -R /usr/lib/mysql -R /opt/mnogosearch/lib -R
/usr/lib/postgresql/lib ext/libxml/libxml.lo ext/zlib/zlib.lo
ext/zlib/zlib_fopen_wrapper.lo ext/ctyp [...] d_highlight.lo
Zend/zend_llist.lo Zend/zend_opcode.lo Zend/zend_operators.lo
Zend/zend_ptr_stack.lo Zend/zend_stack.lo Zend/zend_variables.lo
Zend/zend.lo Zend/zend_API.lo Zend/zend_extensions.lo Zend/zend_hash.lo
Zend/zend_list.lo Zend/zend_indent.lo Zend/zend_builtin_functions.lo
Zend/zend_sprintf.lo Zend/zend_ini.lo Zend/zend_qsort.lo
Zend/zend_multibyte.lo Zend/zend_ts_hash.lo Zend/zend_stream.lo
Zend/zend_iterators.lo Zend/zend_interfaces.lo Zend/zend_exceptions.lo
Zend/zend_objects.lo Zend/zend_object_handlers.lo
Zend/zend_objects_API.lo Zend/zend_mm.lo Zend/zend_default_classes.lo
Zend/zend_reflection_api.lo Zend/zend_execute.lo sapi/cli/php_cli.lo
sapi/cli/getopt.lo main/internal_functions_cli.lo -lcrypt -lcrypt -lpq
-lmysqlclient -lfreetype -lpng -lz -lz -lresolv -lm -ldl -lnsl -lxml2
-lz -lm -lxml2 -lz -lm -lmysqlclient -lm -lz -ludmsearch -lxml2 -lz -lm
-lcrypt -lxml2 -lz -lm -lcrypt  -o sapi/cli/php
/opt/mnogosearch/lib/libudmsearch.a(parser.o): In function
`parse_file':
/root/install_temp/mnogosearch-3.1.21/src/parser.c:258: the use of
`tmpnam' is dangerous, better use `mkstemp'
ext/mnogosearch/php_mnogo.lo: In function `MyRemoveHiLightDup':
/root/install_temp/php-5.0.0/ext/mnogosearch/php_mnogo.c:433: undefined
reference to `UdmMalloc'
collect2: ld returned 1 exit status
make: *** [sapi/cli/php] Error 1



------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=29147&edit=1

Reply via email to