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

Unable to install on Ubuntu 20.04.1 #4

Open
YoshiWalsh opened this issue Dec 14, 2020 · 1 comment
Open

Unable to install on Ubuntu 20.04.1 #4

YoshiWalsh opened this issue Dec 14, 2020 · 1 comment

Comments

@YoshiWalsh
Copy link

I'm trying to install this software on a system running Ubuntu 20.04.1. I ran the recommended commands:

$ git clone --recursive https://github.com/lightful/DVBdirect
$ cd DVBdirect
$ make

Unfortunately the make command fails:

-e g++ -O2 -std=c++11 -march=native -Wall -Wextra -pedantic -Wconversion -Wsign-conversion -Wsign-promo -Wcast-qual -Wfloat-equal -Wpointer-arith -Wnon-virtual-dtor -Woverloaded-virtual -Wshadow -Wundef -Wmissing-include-dirs -Isyscpp/include -MMD -c src/Application.cpp -o release/Application.o
-e g++ -O2 -std=c++11 -march=native -Wall -Wextra -pedantic -Wconversion -Wsign-conversion -Wsign-promo -Wcast-qual -Wfloat-equal -Wpointer-arith -Wnon-virtual-dtor -Woverloaded-virtual -Wshadow -Wundef -Wmissing-include-dirs -Isyscpp/include -MMD -c src/DVBReceptor.cpp -o release/DVBReceptor.o
src/DVBReceptor.cpp:25:10: fatal error: stropts.h: No such file or directory
   25 | #include <stropts.h>
      |          ^~~~~~~~~~~
compilation terminated.
make: *** [syscpp/posix.mk:124: release/DVBReceptor.o] Error 1

I am using gcc version 9.3.0. What should I do?

@YoshiWalsh
Copy link
Author

Replacing <stropts.h> with <sys/ioctl.h> fixed the issue.

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

1 participant