From owner-freebsd-stable Sat Nov 23 22:25: 8 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C949937B401 for ; Sat, 23 Nov 2002 22:25:05 -0800 (PST) Received: from iscan1.intra.oki.co.jp (okigate.oki.co.jp [202.226.91.194]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8382843E4A for ; Sat, 23 Nov 2002 22:25:03 -0800 (PST) (envelope-from yamamoto436@oki.com) Received: from aoi.okilab.oki.co.jp (IDENT:root@localhost.localdomain [127.0.0.1]) by iscan1.intra.oki.co.jp (8.9.3/8.9.3) with SMTP id PAA09990 for ; Sun, 24 Nov 2002 15:24:56 +0900 Received: (qmail 29300 invoked from network); 24 Nov 2002 15:24:55 +0900 Received: from tulip.okilab.oki.co.jp (172.24.23.187) by aoi.okilab.oki.co.jp with SMTP; 24 Nov 2002 15:24:55 +0900 Received: from localhost (tulip [172.24.23.187]) by tulip.okilab.oki.co.jp (8.11.6/8.11.6) with ESMTP id gAO6Otr28880 for ; Sun, 24 Nov 2002 15:24:56 +0900 (JST) (envelope-from yamamoto436@oki.com) Date: Sun, 24 Nov 2002 15:24:55 +0900 (JST) Message-Id: <20021124.152455.74736548.yamamoto436@oki.com> To: freebsd-stable@FreeBSD.ORG Subject: Apache 2 compile error From: Hideki Yamamoto X-Mailer: Mew version 2.2 on Emacs 21.2 / Mule 5.0 (SAKAKI) Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I have met a compile problem of Apache 2.0.47 as follows. It seems that ssl.h and x509v3.h in openssl headerfile directory occures the problem, but I don't know how to solve the problem. Please give me information on this problem. Thanks in advance. ==================================================== # cd /usr/ports/www/apache2 # ls -l Makefile -rw-r--r-- 1 root wheel 4637 Nov 16 10:58 Makefile # make . . . Building shared: mod_ssl.la /bin/sh /usr/ports/www/apache2/work/httpd-2.0.43/srclib/apr/libtool --silent --m ode=compile cc -pipe -DNO_IDEA -D_REENTRANT -D_THREAD_SAFE -DAP_HAVE_DESIGNA TED_INITIALIZER -I/usr/ports/www/apache2/work/httpd-2.0.43/srclib/apr/include -I/usr/ports/www/apache2/work/httpd-2.0.43/srclib/apr-util/include -I/usr/local/ include -I. -I/usr/ports/www/apache2/work/httpd-2.0.43/os/unix -I/usr/ports/www/ apache2/work/httpd-2.0.43/server/mpm/prefork -I/usr/ports/www/apache2/work/httpd -2.0.43/modules/http -I/usr/ports/www/apache2/work/httpd-2.0.43/modules/filters -I/usr/ports/www/apache2/work/httpd-2.0.43/modules/proxy -I/usr/ports/www/apache 2/work/httpd-2.0.43/include -I/usr/include/openssl -I/usr/ports/www/apache2/work /httpd-2.0.43/modules/dav/main -c mod_ssl.c && touch mod_ssl.slo In file included from mod_ssl.h:111, from mod_ssl.c:60: /usr/include/openssl/ssl.h:1222: syntax error before `CRYPTO_EX_new' /usr/include/openssl/ssl.h:1227: syntax error before `CRYPTO_EX_new' /usr/include/openssl/ssl.h:1232: syntax error before `CRYPTO_EX_new' In file included from mod_ssl.h:125, from mod_ssl.c:60: /usr/include/openssl/x509v3.h:141: syntax error before `ENUMERATED_NAMES' /usr/include/openssl/x509v3.h:141: warning: data definition has no type or stora ge class /usr/include/openssl/x509v3.h:232: syntax error before `STACK_ASN1_INTEGER' *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.43/modules/ssl. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.43/modules/ssl. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.43/modules. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.43. *** Error code 1 Stop in /usr/ports/www/apache2/work/httpd-2.0.43. *** Error code 1 Stop in /usr/ports/www/apache2. -------------------------------------------------------------- hikarigaoka# ls -l /usr/include/openssl/ssl.h -r--r--r-- 1 root wheel 64484 Sep 1 12:13 /usr/include/openssl/ssl.h hikarigaoka# ls -l /usr/include/openssl/x509v3.h -r--r--r-- 1 root wheel 23612 Sep 1 12:13 /usr/include/openssl/x509v3.h ----------------------------------------------------------------- Hideki YAMAMOTO | Broadband Media Solutions Department | E-mail: yamamoto436@oki.com Broadband Media Company | Tel: +81-3-3455-0870 Oki Electric Industry Co., Ltd. | FAX: +81-3-3798-7670 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message