logo
Apache Lounge
Webmasters

 

About Forum Index Downloads Search Register Log in RSS X


Keep Server Online

If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.

or

Bitcoin

A donation makes a contribution towards the costs, the time and effort that's going in this site and building.

Thank You! Steffen

Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
Post new topic   Forum Index -> Building & Member Downloads View previous topic :: View next topic
Reply to topic   Topic: compiling error
Author
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Thu 10 Mar '11 17:15    Post subject: compiling error Reply with quote

I have to upgrade to latest version of open ssl but when compiling I get to the last bit nmake -f ms\ntdll.mak and get the following error.

ms\uplink.c(11) : fatal error C1083: Cannot open include file: 'windows.h': No s
uch file or directory
NMAKE : fatal error U1077: 'C:\Windows\system32\cmd.exe' : return code '0x2'
Stop.

I can run windows.h from the command line OK so not sure why this comes up.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 11 Mar '11 5:42    Post subject: Reply with quote

you have to run the right commandline with all stuff in %PATH%. For VC9 aka VS 2008 it is
Code:

%comspec% /k ""C:\Program Files (x86)\Microsoft Visual Studio 9.0\VC\vcvarsall.bat"" x86
Back to top
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Fri 11 Mar '11 11:39    Post subject: Reply with quote

Sorry not sure what you are saying, do I need to put what you have written in my PATH or somewhere else?

Many thanks
Back to top
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Fri 11 Mar '11 11:51    Post subject: Reply with quote

OK i put that in to set system variable and it starts to compile but now get this error


cryptlib.c
nasmw -f win32 -o crypto\cpu_win32.obj .\crypto\cpu_win32.asm
'nasmw' is not recognized as an internal or external command,
operable program or batch file.
NMAKE : fatal error U1077: 'nasmw' : return code '0x1'
Stop.

Many thanks
Back to top
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Fri 11 Mar '11 12:31    Post subject: Reply with quote

Downloaded nasmw.exe and now seems to have compiled OK however all it has done is put a lot of files in the out32dll folder, how do I now use these?
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Fri 11 Mar '11 23:28    Post subject: Reply with quote

This is how I compile openssl

Code:

perl Configure VC-WIN32 --prefix=/Apache22 --openssldir=/Apache22/conf enable-camellia disable-idea
ms\do_nasm
nmake /f ms\ntdll.mak


What do you mean with: How do I use this files? What's the destination? What are you compiling openssl for?
Back to top
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Mon 14 Mar '11 12:29    Post subject: Reply with quote

I am trying to compile it to use to upgrade my 0.9.8 version o as there is a security flaw. So I need latest version with fixes.
Back to top
Michael T



Joined: 28 Feb 2011
Posts: 39

PostPosted: Mon 14 Mar '11 12:30    Post subject: Reply with quote

The files are created in out32dll folder but I was expecting an MSI file or something. Sorry but I am new to this and do not understand how it works or why you have to compile it in the first place.
Back to top
James Blond
Moderator


Joined: 19 Jan 2006
Posts: 7371
Location: Germany, Next to Hamburg

PostPosted: Wed 16 Mar '11 0:38    Post subject: Reply with quote

Nope there is an output from dll files and exe files. So can compare to the once the apache\bin folder and replace them. Normaly there is no need for you to compile it yourself. Just use the upgrade from this page and the apache from this page Wink
Back to top


Reply to topic   Topic: compiling error View previous topic :: View next topic
Post new topic   Forum Index -> Building & Member Downloads