Apache2 Win32 mod_ssl compile errors

This is a discussion on Apache2 Win32 mod_ssl compile errors within the Windows Web Servers forums, part of the Web Server and Related Forums category; I am having a problem compiling mod_ssl for Apache. Evrything else compiles ok if i dont try to compile mod_ssl ...


Go Back   Usenet Forums > Web Server and Related Forums > Windows Web Servers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 07-18-2004
bobjohnson11
 
Posts: n/a
Default Apache2 Win32 mod_ssl compile errors

I am having a problem compiling mod_ssl for Apache. Evrything else
compiles ok if i dont try to compile mod_ssl using the openssl 0.9.7d.

I have installed Visual C++ 6 Standard edition and its patches to my
XP box. I have also installed all the components for building Apache
2.0.50.

I installed these on the c:\ drive and then added them to my
environment variables.

When I ran:
--------------------------------------------------------------------------
perl Configure --openssldir=<drive>:/www/Apache2/bin VC-WIN32
---------------------------------------------------------------------------

the output was the following:
----------------------------------------------------------------
Configuring for VC-WIN32
IsWindows=1
CC =cl
CFLAG =-DOPENSSL_SYSNAME_WIN32 -DOPENSSL_THREADS -DDSO_WIN32
-DOPENSSL_
NO_KRB5
EX_LIBS =
BN_ASM =bn_asm.o
DES_ENC =des_enc.o fcrypt_b.o
BF_ENC =bf_enc.o
CAST_ENC =c_enc.o
RC4_ENC =rc4_enc.o
RC5_ENC =rc5_enc.o
MD5_OBJ_ASM =
SHA1_OBJ_ASM =
RMD160_OBJ_ASM=
PROCESSOR =
RANLIB =true
ARFLAGS =
PERL =perl
THIRTY_TWO_BIT mode
BN_LLONG mode
RC4_INDEX mode
RC4_CHUNK is undefined

Configured for VC-WIN32.
------------------------------------------------
I'm not sure if the RC4_CHUNK variable being undefined is a problem?


Next I ran:
---------------------------
ms\do_masm

and

nmake -f ms\ntdll.mak
---------------------------

Everything compiled ok. I then ran the optional Openssl test and
everything tested fine without any errors. Finally I ran the compile.
This time when I ran the compile I noticed these errors:


--------------------------------------------------
cd modules\ssl
NMAKE -nologo -f mod_ssl.mak CFG="mod_ssl - Win32
Release" RECUR
SE=0 .\Release\mod_ssl.so
tempfile.bat
sed: too many commands, last was s;yy;ssl_expr_yy;g
sed: too many commands, last was s;yy;ssl_expr_yy;g
tempfile.bat
sed: too many commands, last was /$Header:/d
tempfile.bat

rc.exe /l 0x409 /fo".\Release\mod_ssl.res" /d "NDEBUG"
..\mod_ssl.rc
cl.exe @C:\DOCUME~1\Bob\LOCALS~1\Temp\nma03584.
-------------------------------------------------------------------

This came before the original error:

------------------------------------------------
Generating Code...
link.exe @C:\DOCUME~1\Bob\LOCALS~1\Temp\nmb03584.
Creating library .\Release\mod_ssl.lib and object
..\Release\mod_ssl.exp
ssl_expr.obj : error LNK2001: unresolved external symbol
_ssl_expr_yyparse
..\Release\mod_ssl.so : fatal error LNK1120: 1 unresolved externals
NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
Stop.

NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
NMAKE : fatal error U1077: 'C:\PROGRA~1\MICROS~3\VC98\BIN\NMAKE.EXE' :
return co
de '0x2'
Stop.
-------------------------------------------------------

The only things I can think of that I may be the cause of the compile
problem are:

1. I need the full version of Visual C++ in order to build mod_ssl

2. I am missing a library directory that has the external symbol
_ssl_expr_yyparse.

3. Somehow the zip files of the source code I am downloading from the
web are corrupt.

Has anyone seen these errors before? and figured out how to fix them ?


I'm taking a break and go see "I Robot". I think I need to give my
brain and eyes a rest :-(
  #2 (permalink)  
Old 08-08-2004
Ohaya
 
Posts: n/a
Default Re: Apache2 Win32 mod_ssl compile errors


"bobjohnson11" <bobjohnson11@comcast.net> wrote in message
news:e6ee9aa1.0407180927.73e984d0@posting.google.c om...
> I am having a problem compiling mod_ssl for Apache. Evrything else
> compiles ok if i dont try to compile mod_ssl using the openssl 0.9.7d.


Bob,

If all you want is an Apache with SSL, I found the binaries for it, plus
OpenSSL 0.97d at:

http://hunter.campbus.com/

Jim


 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:18 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0