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

Error No rule to make target 'faad2-prefix/lib/libfaad_hdc.a', #293

Open
emrecio opened this issue Dec 27, 2022 · 4 comments
Open

Error No rule to make target 'faad2-prefix/lib/libfaad_hdc.a', #293

emrecio opened this issue Dec 27, 2022 · 4 comments
Labels

Comments

@emrecio
Copy link

emrecio commented Dec 27, 2022

I get through most of the compile process but fail at last step...

[OpenSuSE 15.4...]

╭─erecio@moz /usr/local/src/RTL/nrsc5/foo ‹master●›
╰─$ make -k 2 ↵
[ 28%] Built target faad2_external
[ 85%] Built target nrsc5_object
[ 89%] Built target nrsc5_static
make[2]: *** No rule to make target 'faad2-prefix/lib/libfaad_hdc.a', needed by 'src/nrsc5'.
make[2]: Target 'src/CMakeFiles/app.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:133: src/CMakeFiles/app.dir/all] Error 2
make[2]: *** No rule to make target 'faad2-prefix/lib/libfaad_hdc.a', needed by 'src/libnrsc5.so'.
make[2]: Target 'src/CMakeFiles/nrsc5.dir/build' not remade because of errors.
make[1]: *** [CMakeFiles/Makefile2:187: src/CMakeFiles/nrsc5.dir/all] Error 2
make[1]: Target 'all' not remade because of errors.
make: *** [Makefile:136: all] Error 2
make: Target 'default_target' not remade because of errors.

@argilo argilo added the bug label Jul 4, 2023
@Karlomanio
Copy link

Is there any workaround for this issue?

@whelanh
Copy link

whelanh commented Nov 8, 2024

I have the same error trying to compile on Opensuse Tumbleweed. If I compiled with -DUSE_FAAD2=OFF, the program compiles and I can see from the terminal that it is properly decoding a local station, but I get no sound.

@argilo
Copy link
Collaborator

argilo commented Nov 8, 2024

I just built nrsc5 in an opensuse/tumbleweed Docker container and didn't have any issue.

Do you have all the dependencies installed? I needed libao-devel fftw3-devel rtl-sdr-devel libusb-1_0-devel.

@argilo
Copy link
Collaborator

argilo commented Nov 8, 2024

Here are the commands I used to install dependencies:

zypper install -t pattern devel_C_C++
zypper install git cmake libao-devel fftw3-devel rtl-sdr-devel libusb-1_0-devel

After that, following the rest of the build instructions in the readme worked fine.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants