From owner-freebsd-ports Sun Oct 3 5:41: 6 1999 Delivered-To: freebsd-ports@freebsd.org Received: from saturn.psn.net (saturn.psn.net [207.211.58.15]) by hub.freebsd.org (Postfix) with ESMTP id D97781500B for ; Sun, 3 Oct 1999 05:41:02 -0700 (PDT) (envelope-from will@blackdawn.com) Received: from shadow.blackdawn.com (5042-243.008.popsite.net [209.224.140.243]) by saturn.psn.net (8.9.3/8.9.3) with ESMTP id FAA10324; Sun, 3 Oct 1999 05:50:27 -0700 (MST) Received: (from will@localhost) by shadow.blackdawn.com (8.9.3/8.9.3) id IAA09227; Sun, 3 Oct 1999 08:40:54 -0400 (EDT) (envelope-from will) Message-ID: X-Mailer: XFMail 1.3 [p0] on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <4.2.0.58.19991002173056.00a65bc0@mail.elehost.com> Date: Sun, 03 Oct 1999 08:40:54 -0400 (EDT) Reply-To: Will Andrews From: Will Andrews To: Paul MacKenzie Subject: RE: Apache 1.3.9 SSL Port Problem on Freebsd 2.2.8 Cc: freebsd-ports@FreeBSD.ORG Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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 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