hackrf-spectrum-analyzer icon indicating copy to clipboard operation
hackrf-spectrum-analyzer copied to clipboard

unknown revision or path not in the working tree. after running make

Open sohmee opened this issue 2 years ago • 3 comments

I am trying to install [hackrf-spectrum-analyzer on ubuntu 22.04 sudo apt install build-essential ant git libusb-1.0 libfftw3-bin libfftw3-dev default-jdk mingw-w64 git clone --depth=1 https://github.com/pavsa/hackrf-spectrum-analyzer.git cd hackrf-spectrum-analyzer/src/hackrf-sweep/ make

I get the following

format the src # clang-format --style=file:../../../.clang-format -i hackrf_sweep.c (cd lib/hackrf/ && git reset --hard v2023.01.1 && git apply < ../../src-c/0001-hackrf_sweep-to-library-conversion.patch) fatal: ambiguous argument 'v2023.01.1': unknown revision or path not in the working tree. Use '--' to separate paths from revisions, like this: 'git [...] -- [...]' make: *** [Makefile:105: patch_hackrf] Error 128

Please help.

Thanks

sohmee avatar Jun 11 '23 17:06 sohmee

I think this has something to do with the path but how can I fix it?

sohmee avatar Jun 15 '23 16:06 sohmee

If you use the --recurse-submodules flag when cloning then it should work:

git clone --recurse-submodules --depth=1 https://github.com/pavsa/hackrf-spectrum-analyzer.git

somebody figured it out here: https://github.com/pavsa/hackrf-spectrum-analyzer/pull/51/commits/10000e410d6d35d89e8d9d51aa85284fca5d19f5

hs1white avatar Jul 06 '23 06:07 hs1white

If you use the --recurse-submodules flag when cloning then it should work:

git clone --recurse-submodules --depth=1 https://github.com/pavsa/hackrf-spectrum-analyzer.git

somebody figured it out here: 10000e4

this fixed for me.

All3xJ avatar Aug 05 '23 13:08 All3xJ