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

Error when running ./install.sh #168

Closed
alealpha07 opened this issue Jun 28, 2024 · 2 comments
Closed

Error when running ./install.sh #168

alealpha07 opened this issue Jun 28, 2024 · 2 comments

Comments

@alealpha07
Copy link

alealpha07 commented Jun 28, 2024

Error when running ./install.sh

Hardware

| Device | Connection Method | Screen | |
| ------------------ | ----------------- | ---------------------------- |
| Raspberry Pi 5 8GB | USB Cable | Official Raspberry 7" Screen |

Description of problem:

When I run ./install.sh (same with sudo bash ./install.sh) I get the following:

### PREVIOUS PART WAS FINE ###
/home/aasdk/src/Transport/SSLWrapper.cpp: In constructor ‘aasdk::transport::SSLWrapper::SSLWrapper()’:
/home/aasdk/src/Transport/SSLWrapper.cpp:36:25: warning: ‘int ERR_load_BIO_strings()’ is deprecated: Since OpenSSL 3.0 [-Wdeprecated-declarations]
   36 |     ERR_load_BIO_strings();
      |     ~~~~~~~~~~~~~~~~~~~^
In file included from /usr/include/openssl/cryptoerr.h:17,
                 from /usr/include/openssl/crypto.h:38,
                 from /usr/include/openssl/bn.h:26,
                 from /usr/include/openssl/engine.h:24,
                 from /home/aasdk/src/Transport/SSLWrapper.cpp:20:
/usr/include/openssl/cryptoerr_legacy.h:31:27: note: declared here
   31 | OSSL_DEPRECATEDIN_3_0 int ERR_load_BIO_strings(void);
      |                           ^~~~~~~~~~~~~~~~~~~~
/home/aasdk/src/Transport/SSLWrapper.cpp: In destructor ‘virtual aasdk::transport::SSLWrapper::~SSLWrapper()’:
/home/aasdk/src/Transport/SSLWrapper.cpp:42:5: error: ‘FIPS_mode_set’ was not declared in this scope
   42 |     FIPS_mode_set(0);
      |     ^~~~~~~~~~~~~
make[2]: *** [CMakeFiles/aasdk.dir/build.make:510: CMakeFiles/aasdk.dir/src/Transport/SSLWrapper.cpp.o] Errore 1
make[2]: *** Attesa per i processi non terminati....
make[1]: *** [CMakeFiles/Makefile2:100: CMakeFiles/aasdk.dir/all] Errore 2
make: *** [Makefile:156: all] Errore 2
Aasdk Make failed with code 1

(sorry some parts of the traceback are in italian, I love how linux decides to transate even things it shouldn't)

any possible solution?

@TLMcNulty
Copy link

TLMcNulty commented Jun 28, 2024

Your reports on #165 may be helpful. Can you please fetch breakingspell:install-overhaul and rerun? Pi 5 testing has been limited, but it is possible. https://opendsh.slack.com/archives/C01A55C5TD3/p1715326082576639

Slack messages suggest the fixes for FIPS_mode_set are included in that branch.

@alealpha07
Copy link
Author

Thanks this solved my problem!

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