php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29597 compile failed exit status 1
Submitted: 2004-08-10 13:19 UTC Modified: 2004-08-12 07:34 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: sonny at sun dot com Assigned:
Status: Closed Package: Compile Failure
PHP Version: 5.0.0 OS: RHEL 3
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: sonny at sun dot com
New email:
PHP Version: OS:

 

 [2004-08-10 13:19 UTC] sonny at sun dot com
Description:
------------
Compile fails on RHEL 3 i386.
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Does not return more informations.
Configure works fine.

Used Versions:
- PHP 5.0.0
- Redhat Advanced Server 3u3 i386
- gcc version 3.2.3 20030502 (Red Hat Linux 3.2.3-34)
- GNU Make version 3.79.1



Reproduce code:
---------------
See above versions of tools.

Configure:
env LIBS="-lfreetype -lpng -ljpeg -lz -lnsl"; IMAP_SHARED_LIBADD=-lc-client; ./configure --prefix=/usr/local/php5 --with-config-file-path=/usr/local/php5 --disable-debug --enable-pic --enable-trans-sid --disable-rpath --enable-zend-multibyte --enable-memory-limit --enable-yp --with-xsl --with-expat-dir=/usr --with-libexpat-dir=/usr --with-libxml-dir=/usr --enable-sysvshm --enable-sysvsem --enable-sysvmsg --enable-sqlite-utf8 --enable-sockets --enable-soap --with-openssl-dir=/usr --enable-shmop --with-readline --with-pgsql=shared --enable-pcntl --with-oci8=/oracle/product/9.2.0.4 --with-zlib-dir=/usr --with-mysql=/usr/local/mysql --with-mnogosearch=/usr/local/mnogosearch --with-mhash=/usr/local --enable-mbstring --with-ldap=shared --with-ldap-sasl --with-imap=shared --with-imap-ssl --with-kerberos=/usr/kerberos --with-gettext --with-gd --enable-dio --enable-exif --enable-ftp --with-jpeg-dir=/usr --with-png-dir=/usr --with-zlib-dir=/usr --with-curl --with-curlwrappers --enable-calendar --with-bz2 --with-zlib --enable-bcmath --disable-short-tags --enable-magic-quotes --enable-sigchild --disable-path-info-check --enable-fastcgi --enable-force-cgi-redirect --with-apxs2=/usr/sbin/apxs --with-apxs2filter=/usr/sbin/apxs --enable-versioning --with-inifile --with-flatfile --with-db4=/usr --enable-magic-quotes --disable-short-tags --enable-cli

Expected result:
----------------
working and final make

Actual result:
--------------
Break here:
/usr/local/mnogosearch/lib/libudmsearch.a(files.o)(.text+0x1f7c): In function `UdmFreeUrlRes':
/software/compile/mnogosearch-3.1.21/src/files.c:843: multiple definition of `UdmFreeUrlRes'
/usr/local/mnogosearch/lib/libudmsearch.a(sql.o)(.text+0x3b84):/software/compile/mnogosearch-3.1.21/src/sql.c:3262: first defined here
/usr/bin/ld: Warning: size of symbol `UdmFreeUrlRes' changed from 38 in /usr/local/mnogosearch/lib/libudmsearch.a(sql.o) to 5 in /usr/local/mnogosearch/lib/libudmsearch.a(sql.o)
collect2: ld returned 1 exit status
make: *** [libphp5.la] Error 1

Same error if remove mngosearch from configure.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-12 07:34 UTC] magnus@php.net
This have already been fixed in CVS. 
You can get a snapshot from http://snaps.php.net or wait 
until 5.0.1 is released. 
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu Dec 04 07:00:01 2025 UTC