Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 03 Oct 1999 08:40:54 -0400 (EDT)
From:      Will Andrews <andrews@TECHNOLOGIST.COM>
To:        Paul MacKenzie <pc.mackenzie@utoronto.ca>
Cc:        freebsd-ports@FreeBSD.ORG
Subject:   RE: Apache 1.3.9 SSL Port Problem on Freebsd 2.2.8
Message-ID:  <XFMail.991003084054.andrews@TECHNOLOGIST.COM>
In-Reply-To: <4.2.0.58.19991002173056.00a65bc0@mail.elehost.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02-Oct-99 Paul MacKenzie wrote:
> cc -c -I/usr/local/include -I../os/unix 
> -I../include  -DHARD_SERVER_LIMIT=512 
> -DDEFAULT_PATH=\"/usr/local/apache/bin:/bin:/usr/bin\" -funsigned-char 
> -DTARGET=\"apache\" -DMOD_SSL=204102 -DEAPI -DEAPI_MM -DUSE_EXPAT 
> -I../lib/expat-lite -O `../apaci` ap_md5c.c
> ap_md5c.c:433: conflicting types for `ap_MD5Encode'
> /usr/local/include/ap_md5.h:112: previous declaration of `ap_MD5Encode'
> ap_md5c.c: In function `ap_MD5Encode':
> ap_md5c.c:460: `AP_MD5PW_ID' undeclared (first use this function)
> ap_md5c.c:460: (Each undeclared identifier is reported only once
> ap_md5c.c:460: for each function it appears in.)
> ap_md5c.c:460: `AP_MD5PW_IDLEN' undeclared (first use this function)
> *** Error code 1
> 
> Stop.
> *** Error code 1
> 
> Any suggestions as to why this is happening?

On my system,

FreeBSD shadow.blackdawn.com 3.3-STABLE FreeBSD 3.3-STABLE #0: Mon Sep 20
02:19:49 EDT 1999     root@shadow.blackdawn.com:/usr/src/sys/compile/SHADOW 
i386

I do not seem to have /usr/local/include/ap_md5.h.

However, I do have /usr/local/include/apache/ap_md5.h, which defines the above
as:

API_EXPORT(void) ap_MD5Encode(const unsigned char *password,
                              const unsigned char *salt,
                              char *result, size_t nbytes);

and AP_MD5PW_ID / AP_MD5PW_IDLEN before those lines as:

#define AP_MD5PW_ID "$apr1$"
#define AP_MD5PW_IDLEN 6

Perhaps Apache is finding the wrong (old?) version of ap_md5.h to use.

JFYI, I'm running Apache/1.3.9 PHP/3.0.12 mod_ssl/2.4.1 OpenSSL/0.9.4, built
from the apache13-php3 port. :-)

--
Will Andrews <andrews@technologist.com>
GCS/E/S @d- s+:+>+:- a--->+++ C++ UB++++ P+ L- E--- W+++ !N !o ?K w---
?O M+ V-- PS+ PE++ Y+ PGP+>+++ t++ 5 X++ R+ tv+ b++>++++ DI+++ D+ 
G++>+++ e->++++ h! r-->+++ y?


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?XFMail.991003084054.andrews>