Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Nov 2002 15:24:55 +0900 (JST)
From:      Hideki Yamamoto <yamamoto436@oki.com>
To:        freebsd-stable@FreeBSD.ORG
Subject:   Apache 2 compile error
Message-ID:  <20021124.152455.74736548.yamamoto436@oki.com>

next in thread | raw e-mail | index | archive | help

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




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