php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #8896 mhash compilation error
Submitted: 2001-01-25 02:06 UTC Modified: 2001-06-12 17:12 UTC
From: php-bugs at improbable dot org Assigned:
Status: Closed Package: Compile Failure
PHP Version: 4.0.4pl1 OS: Linux (Debian 2.2r2)
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: php-bugs at improbable dot org
New email:
PHP Version: OS:

 

 [2001-01-25 02:06 UTC] php-bugs at improbable dot org
mhash.c: In function `php_if_mhash_keygen_s2k':
mhash.c:206: `KEYGEN' undeclared (first use in this function)
mhash.c:206: (Each undeclared identifier is reported only once
mhash.c:206: for each function it appears in.)
mhash.c:206: parse error before `keystruct'
mhash.c:226: `KEYGEN_S2K_SALTED' undeclared (first use in this function)
mhash.c:244: `keystruct' undeclared (first use in this function)

>From the mhash.h installed with libmhash: /* $Id: mhash.h,v 1.3 1999/10/04
12:13:10 sascha Exp $ */

./configure --with-gettext --with-mcrypt --with-zlib --with-apxs --with-openssl=/usr/local/ssl --enable-magic-quotes --with-bz2 --enable-calendar  --with-curl --with-mcrypt --with-dom=/usr/local/lib --enable-ftp --enable-gd-imgstrttf  --with-gd --with-jpeg-dir --with-ttf --with-t1lib --with-imap-ssl --with-imap --with-java=/usr/local/jdk1.3 --with-ldap --with-mysql --with-pdflib=/usr/local/lib --with-zlib-dir --with-jpeg-dir --with-png-dir --with-tiff-dir --with-pgsql --with-pspell --with-readline --with-sablot --with-sablot-errors-descriptive --enable-trans-sid --enable-shmop --enable-sockets --with-swf --enable-sysvsem --enable-sysvshm --enable-inline-optimization --enable-memory-limit --enable-shared

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-05-23 14:30 UTC] sniper@php.net
Works for me just fine. What is the version 
of mhash libs you are trying this with?

--Jani

 [2001-06-12 17:12 UTC] sniper@php.net
No feedback, reopen if this happens with latest mhash libs
and with php-4.0.6RC3:

http://www.php.net/~andi/php-4.0.6RC3.tar.gz

--Jani

 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Thu May 08 00:01:29 2025 UTC