php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19614 compile fails with --with-recode --with-imap --with-imap-ssl
Submitted: 2002-09-26 09:12 UTC Modified: 2002-09-26 10:13 UTC
From: mail at trado dot nnov dot ru Assigned:
Status: Not a bug Package: Compile Failure
PHP Version: 4.2.3 OS: Mandrake 8.1
Private report: No CVE-ID: None
 [2002-09-26 09:12 UTC] mail at trado dot nnov dot ru
recode (version 3.x) and imap (2001a, 2000c) have the same function hash_lookup, so
-----------------------------------------------------

/bin/sh /disk2/tmp/php-4.2.3/libtool --silent --mode=link gcc -I. -I/disk2/tmp/php-4.2.3/ -I/disk2/tmp/php-4.2.3/main -I/disk2/tmp/php-4.2.3 -I/disk2/tmp/php-4.2.3/Zend -I/usr//include -I/usr/include/freetype2/freetype -I/usr/include/imap -I/usr/local/mysql//include/mysql -I/usr/local/pgsql//include -I/usr/include/ucd-snmp -I/disk2/tmp/php-4.2.3/ext/xml/expat  -I/disk2/tmp/php-4.2.3/TSRM -O3 -fomit-frame-pointer -march=i686 -mcpu=i686 -ffast-math   -o php -export-dynamic	
 stub.lo libphp4.la 
libtool: link: warning: library `/usr//lib/libgdbm.la' was moved.
/usr//lib/libc-client.a(misc.o): In function `hash_lookup':
/usr/src/RPM/BUILD/imap-2001a/c-client/misc.c:311: multiple definition of `hash_lookup'
/usr//lib/librecode.a(hash.o)(.text+0x1a0): first defined here
/usr/bin/ld: Warning: size of symbol `hash_lookup' changed from 121 to 89 in /usr//lib/libc-client.a(misc.o)
/usr//lib/libc-client.a(osdep.o): In function `ssl_onceonlyinit':
/usr/src/RPM/BUILD/imap-2001a/c-client/osdep.c:286: the use of `tmpnam' is dangerous, better use `mkstemp'
collect2: ld returned 1 exit status
make[1]: *** [php] Error 1
make[1]: Выход из каталог `/disk2/tmp/php-4.2.3'
make: *** [all-recursive] Error 1

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-26 10:13 UTC] sniper@php.net
Yes, we know about this and it's not our problem.
Thank you for reporting. Try convincing the c-client
author to rename the function. (better yet, try get him to prefix them with something unique..)

 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Mon Feb 16 05:00:01 2026 UTC