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

Compilation issue with gcc-13 #62

Open
hlein opened this issue Jun 5, 2024 · 0 comments · May be fixed by #63
Open

Compilation issue with gcc-13 #62

hlein opened this issue Jun 5, 2024 · 0 comments · May be fixed by #63

Comments

@hlein
Copy link

hlein commented Jun 5, 2024

Trying to build on an up-to-date system fails with:

x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I.    -static -Wall  -std=c++11 -I./Common -I./Common/pbkdf2 -I./linux -I
./LinuxPBA -march=core2 -O2 -pipe -c -o LinuxPBA/UnlockSEDs.o LinuxPBA/UnlockSEDs.cpp
In file included from ./Common/log.h:45,
                 from LinuxPBA/LinuxPBA.cpp:25:
./Common/DtaOptions.h:33:5: error: ‘uint8_t’ does not name a type
   33 |     uint8_t password;   /**< password supplied */
      |     ^~~~~~~
./Common/DtaOptions.h:1:1: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint>
’?
  +++ |+#include <cstdint>
    1 | /* C:B**************************************************************************
./Common/DtaOptions.h:34:9: error: ‘uint8_t’ does not name a type
   34 |         uint8_t userid;   /**< userid supplied */
      |         ^~~~~~~
./Common/DtaOptions.h:34:9: note: ‘uint8_t’ is defined in header ‘<cstdint>’; did you forget to ‘#include <cstdint
>’?
./Common/DtaOptions.h:35:9: error: ‘uint8_t’ does not name a type

I am pretty sure this is a gcc-13 issue. Upstream has a patch that fixes this:
Drive-Trust-Alliance@3ddb986

I'll submit a PR for that patch in particular.

hlein pushed a commit to hlein/sedutil that referenced this issue Jun 5, 2024
@hlein hlein linked a pull request Jun 5, 2024 that will close this issue
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

Successfully merging a pull request may close this issue.

1 participant