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

Linker command #1244

Closed
AnoTherK-ATK opened this issue Oct 21, 2023 · 0 comments
Closed

Linker command #1244

AnoTherK-ATK opened this issue Oct 21, 2023 · 0 comments

Comments

@AnoTherK-ATK
Copy link

Hello, I'm using Msys2 MinGW Clang++ to build cryptopp.
When I did the make command, I got this error:

C:/msys64/mingw64/bin/ld: ./libcryptopp.a(cpu.o): in function `CryptoPP::XGetBV(unsigned int)':
D:/cryptopp890/cpu.cpp:395:(.text+0x11): undefined reference to `XGETBV64'
C:/msys64/mingw64/bin/ld: ./libcryptopp.a(cpu.o): in function `CryptoPP::CpuId(unsigned int, unsigned int, unsigned int*)':
D:/cryptopp890/cpu.cpp:453:(.text+0x25): undefined reference to `CPUID64'
clang++: error: linker command failed with exit code 1 (use -v to see invocation)
make: *** [GNUmakefile:1511: cryptest.exe] Error 1

Do you know how to fix it or can you give me the some instruction for me, I have an assignments about this so please help me. Thank you

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

1 participant