lightful / DVBdirect

DVB easy handling tools for Linux
GNU General Public License v3.0
12 stars 6 forks source link

Unable to install on Ubuntu 20.04.1 #4

Open YoshiWalsh opened 3 years ago

YoshiWalsh commented 3 years ago

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 commented 3 years ago

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