Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Not compiling for Windows x64 #93

Closed
JorgeCarousel opened this issue Aug 18, 2022 · 3 comments
Closed

Not compiling for Windows x64 #93

JorgeCarousel opened this issue Aug 18, 2022 · 3 comments

Comments

@JorgeCarousel
Copy link

Hello,

I'm trying to compile Openssl-3.0.5+Quic for Windows x64 using the instructions in NOTES-WINDOWS.md and when I run nmake I get this:

crypto\aes\libcrypto-shlib-aes_cfb.obj : fatal error LNK1112: module machine type 'x86' conflicts with target machine type 'x64'
Could Not Find D:\Temp\openssl-openssl-3.0.5-quic\libcrypto-81_3-x64.*

Any idea what's going on?

Thank you.

@JorgeCarousel JorgeCarousel changed the title Not compilingfr Windows x64 Not compiling for Windows x64 Aug 19, 2022
@tmshort
Copy link
Member

tmshort commented Aug 19, 2022

Please try using upstream openssl 3.0.5 to see if you get a similar/identical error.
AFAICT, it may be due to a dirty workspace? Possibly do a clean build. The QUIC changes don't touch any processor-specific code. It seems that you have a 32-bit object module trying to be pulled into a 64-bit library.

A Google search gives:
https://stackoverflow.com/questions/3563756/fatal-error-lnk1112-module-machine-type-x64-conflicts-with-target-machine-typ

You may need to install additional components.

@JorgeCarousel
Copy link
Author

I believe the problem was that I used:

perl Configure

Instead of:

perl Configure VC-WIN64A

Because I just tried using the second one and it did compile.

I hope Apache adopts this so it's easier for them to build a http3 module for httpd.

Thanks.

@tmshort
Copy link
Member

tmshort commented Aug 22, 2022

Ok, closing this out.

@tmshort tmshort closed this as completed Aug 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants