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

docker compilation errors #75

Closed
JonaldJohnston opened this issue Jun 12, 2020 · 5 comments
Closed

docker compilation errors #75

JonaldJohnston opened this issue Jun 12, 2020 · 5 comments

Comments

@JonaldJohnston
Copy link

when running docker run -it -v ${PWD}:/havoc portapackccache, i keep getting the following error immediately:

-- Cross-compiling with the gcc-arm-embedded toolchain
-- Toolchain prefix: /opt/build/armbin/arm-none-eabi
CMake Error at CMakeLists.txt:48 (add_subdirectory):
  add_subdirectory given source "hackrf/firmware/hackrf_usb" which is not an
  existing directory.


-- Configuring incomplete, errors occurred!
See also "/havoc/build/CMakeFiles/CMakeOutput.log".

aaaa what do i do?

@eried
Copy link
Member

eried commented Jun 12, 2020

This is super strange, can you detail more how you created it and your environment etc?

@JonaldJohnston
Copy link
Author

compiling on linux mint 19.3, installed docker and docker.io through apt,
followed instructions on the wiki, running docker build -t portapackccache -f dockerfile-nogit ., mkdir build, and docker run -it -v ${PWD}:/havoc portapackccache

@eried
Copy link
Member

eried commented Jun 15, 2020

Ah, probably you fetched the git repo via command line, you should also sync the submodules.

@eried
Copy link
Member

eried commented Jun 15, 2020

Something like: https://stackoverflow.com/questions/1030169/easy-way-to-pull-latest-of-all-git-submodules

Github Desktop does it all automatically

@JonaldJohnston
Copy link
Author

that seems to have worked! thanks

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