Comments (12)
Hi,
This is a problem of qemu, the underlying emulator, and I don't know how to fix this without further investigation either.
Unfortunately, we are testing the build-scripts on Ubuntu 16.04, where it is known to work. Is it possible for you to retry the build with Ubuntu 16.04, probably inside an VM?
Best,
Marius
from avatar2.
Emmm, I try to build in Ubuntu 16.04.
After the experiment, use python -m avatar.installer
, there is no problem if you choose build avatar-qemu
. However, I got those problem:
if ! compile_prog "$CFLAGS" "$LIBS" ; then error_exit "sizeof(size_t) doesn't match GLIB_SIZEOF_SIZE_T."\ "You probably need to set PKG_CONFIG_LIBDIR"\ "to point to the right pkg-config files for your"\ "build target" fi
when I choose build avatar-panda
. :(
But if I want to do the experiment(ndss18_wycinwyc
) , I have to build avatar-panda
.
It is worth nothing that I got the same error when build avatar-panda
in Ubuntu 14.04 , 16.04 , 18.04...
Thanks for help
Best,
Zaki
from avatar2.
Thanks for reporting. I will look into it, but are a little bit busy right now. As a workaround, you could use the pre-built Vagrantbox as workaround:
$ vagrant init avatar2/ndss18_wycinwyc
I'll leave this issue open until I reproduced and fixed the bug.
from avatar2.
I faced the same problem with panda with Arch. The config.log had a very long list of errors that I didn't have the time to debug. With a quick look it seems like a glibc architecture problem. I will start from scratch this weekend and I will let you know if I have any progress ;)
from avatar2.
Thanks a lot! Alternatively, I will look into it by myself next weekend, sorry for the delay.
from avatar2.
If I manage to do that should I upload a VM with the complete installation here? Will this be useful?
from avatar2.
The vagrant box specified further up in the issue, or avatar2/bar18_avatar2
should have working, but outdated installations.
In that sense, having somewhere a "current" vm does for sure not hurt. If it is a vagrant/virtualbox image which I can test, I could also add it here: https://app.vagrantup.com/avatar2
from avatar2.
Awesome! Ok, I will give any updates soon ;)
from avatar2.
Just finished the compilation, most probably you are missing some 32bit libraries such as glib. This was the case with me, you need to check your config.log file and see what it says. You also need to check that you have all the packages that exist in the file panda/scripts/install_ubuntu.sh ( or similar files ) because most probably you are missing some header files too. Lastly there are some warnings that you must ignore during compilation so you need to run configure with the "-Wno-error" flag. The command that I used is the following:
$ CFLAGS="-Wno-error" ./configure --python=python2.7 --disable-sdl
Having said that I need to note that I didn't test the functionality of panda at this point, I just managed to compile it successfully.
Hope that helps,
George
from avatar2.
Thanks for dropping your notes! I will update our build-scripts on the next occasion and maybe add a small FAQ in the readme.md which also contains the solutions to the keystone issues as reported in #23/#22.
from avatar2.
The latest version of keystone on PyPi (v0.9.2) seems to fix the keystone-related installation errors.
Hence, I'm closing this issue for now - if there still persist problem, please add a comment here.
from avatar2.
Oups, this issue is not only keystone-related -> reopening.
from avatar2.
Related Issues (20)
- PyPanda: disable -monitor HOT 3
- Docker container avatar2 cannot run handbook 0x02 HOT 2
- Unable to modify memory from Peripheral handlers HOT 6
- RemoteMemoryRead failed: Failed to read memory!
- Exception: GDBProtocol was unable to connect HOT 4
- Installer has invalid references to GitHub repos HOT 2
- Is it possible to dynamically analyse the firmware of a ESP32 just with the default avatar2 tools? HOT 4
- avatar2/handbook/0x03_memory.md/Avatar² Peripheral Emulation Ranges HOT 20
- AvatarPeripheral with x86 target HOT 5
- A naive question: what means rcc dump HOT 1
- Stuck when openocd_target try to wait HOT 2
- RecursionError: maximum recursion depth exceeded in comparison HOT 2
- geting to halt state when transfer state from QemuTarget to gdbTarget
- How to deal with interrupt (NVIC) HOT 2
- avatar.CRITICAL | No Memory range specified at 0x400008
- qemu-system-arm, configurable does not work with cpu_model=cortex-m4 HOT 7
- questions regarding gdbstub, SerialICE and avatar[one] HOT 2
- Failure to check for qemu failure at startup HOT 2
- query: per-opcode filters/logging? HOT 2
- AvatarPeripheral: pci/pcie devices
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from avatar2.