Last active
September 5, 2021 06:00
-
-
Save petabyt/dcd3bbaff54ddc0e6db0d855187858c1 to your computer and use it in GitHub Desktop.
Fixing "error: taking address of packed member of ‘struct QCowHeader’ may result in an unaligned pointer value"
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Qemu issue: | |
``` | |
error: taking address of packed member of ‘struct QCowHeader’ may result in an unaligned pointer value | |
``` | |
Went into `configure` and removed all `-Werror` | |
Also had to edit `/home/daniel/Pulled/qemu-eos/qemu-2.5.0/hw/arm/../eos/dbi/backtrace.c:768` and | |
replace `scnprintf` with `sprintf`. | |
Also make sure you install everything: | |
``` | |
sudo apt install mercurial build-essential gcc-arm-none-eabi gcc-multilib libc6-dev:i386 python-docutils | |
``` | |
`module_strings.h` may not be included if you don't |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment