httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "William A. Rowe, Jr." <wr...@covalent.net>
Subject Re: Help with Compile on Win32
Date Thu, 06 Dec 2001 05:17:11 GMT
From: "Dwayne Miller" <dmiller@espgroup.net>
Sent: Wednesday, December 05, 2001 4:06 PM


> I've done this before, but my notes don't seem to work anymore....
> 
> Downloaded zip of 2_0_28 beta.  Extracted zip.  Copied openssl 0.9.6b 
> into srclib and compiled according to openssl instructions.  Go into 
> VC++ IDE, select apache.dsw.  Set active project to InstallBin, select 
> build apache.exe... and boom!  Lib errors...  they follow...
> 
> What am I doing wrong?

Looks to be you've mixed models - if you build Apache debug - you need to
build ssl debug, or build both as release.  That's the origin of the error
'MSVCRT conflicts with...'

But it's deeper than that.  If you are missing ssl_expr_yyparse, something
is really hosed here, you should be building ssl_expr_parse.c.  And how on
earth you aren't picking up winsock is beyond me.

Is it possible your command line environment links to a PlatformSDK set of
libs/headers, while your studio environment (Tools - Options - Directories)
is set to another?  That sure sounds like a possibility.

I will have a look on a VC6 shortly.

Bill

> --------------------Configuration: InstallBin - Win32 
> Debug--------------------
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>  cd modules\ssl
>  NMAKE  -f mod_ssl.mak CFG="mod_ssl - Win32 Debug" RECURSE=0
> Microsoft (R) Program Maintenance Utility   Version 6.00.8168.0
> Copyright (C) Microsoft Corp 1988-1998. All rights reserved.
>  link.exe @C:\DOCUME~1\DMILLE~1.ESP\LOCALS~1\Temp\nma02264.
>    Creating library .\Debug\mod_ssl.lib and object .\Debug\mod_ssl.exp
> LINK : warning LNK4098: defaultlib "MSVCRT" conflicts with use of other 
> libs; use /NODEFAULTLIB:library
> ssl_expr.obj : error LNK2001: unresolved external symbol _ssl_expr_yyparse
> ssl_expr_scan.obj : error LNK2001: unresolved external symbol 
> _ssl_expr_yyerror
> ssl_expr_scan.obj : error LNK2001: unresolved external symbol 
> _ssl_expr_yylval
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _closesocket@4
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _shutdown@8
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _WSAGetLastError@0
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _recv@16
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _WSASetLastError@4
> libeay32.lib(bss_sock.obj) : error LNK2001: unresolved external symbol 
> _send@16
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__DeleteDC@4
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__DeleteObject@4
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__GetBitmapBits@12
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__BitBlt@36
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__GetObjectA@12
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__SelectObject@8
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__CreateCompatibleBitmap@12
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__GetDeviceCaps@8
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__CreateCompatibleDC@4
> libeay32.lib(rand_win.obj) : error LNK2001: unresolved external symbol 
> __imp__CreateDCA@16
> .\Debug\mod_ssl.so : fatal error LNK1120: 19 unresolved externals
> NMAKE : fatal error U1077: 'link.exe' : return code '0x460'
> Stop.
> NMAKE : fatal error U1077: '"D:\Program Files\Microsoft Visual 
> Studio\VC98\BIN\NMAKE.exe"' : return code '0x2'
> Stop.
> Error executing NMAKE.
> 
> Apache.exe - 22 error(s), 1 warning(s)
> 
> 
> 


Mime
View raw message