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

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

Open
sohmee opened this issue Jun 11, 2023 · 3 comments
Open

Comments

@sohmee
Copy link

sohmee commented Jun 11, 2023

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
Copy link
Author

sohmee commented Jun 15, 2023

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

@hs1white
Copy link

hs1white commented Jul 6, 2023

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

@All3xJ
Copy link

All3xJ commented Aug 5, 2023

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.

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

3 participants