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

Compilation error #52

Open
or-dos opened this issue Apr 12, 2023 · 2 comments
Open

Compilation error #52

or-dos opened this issue Apr 12, 2023 · 2 comments

Comments

@or-dos
Copy link

or-dos commented Apr 12, 2023

Kali GNU/Linux Rolling
Got this error:
~/hackrf-spectrum-analyzer/src/hackrf-sweep]
└─$ make

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

@muaddib1984
Copy link

I had the same issue. git clone --recurse-submodules worked for me.

@copeland3300
Copy link

specifically doing the initial clone is there you do the --recurse-submodules, for example git clone --recurse-submodules --depth=1 https://github.com/pavsa/hackrf-spectrum-analyzer.git

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