CentOS build issues.

This commit is contained in:
wb2osz 2019-11-23 20:06:57 -05:00
parent c94628f547
commit 690ed3e1d6
2 changed files with 26 additions and 3 deletions

View File

@ -125,7 +125,16 @@ On Debian / Ubuntu / Raspbian:
Or on Red Hat / Fedora / Centos: Or on Red Hat / Fedora / Centos:
sudo yum install cmake CentOS 6 & 7 currently have cmake 2.8 but we need 3.1 or later.
First you need to enable the EPEL repository. Add a symlink if you want to type cmake rather than cmake3.
sudo yum install epel-release
sudo rpm -e cmake
sudo yum install cmake3
sudo ln -s /usr/bin/cmake3 /usr/bin/cmake
Continue with the other required packages:
sudo yum install alsa-lib-devel sudo yum install alsa-lib-devel
sudo yum install libudev-devel sudo yum install libudev-devel

View File

@ -62,8 +62,8 @@
*---------------------------------------------------------------*/ *---------------------------------------------------------------*/
/* /*
A growing number of people have been asking about support for the DMK URI A growing number of people have been asking about support for the DMK URI,
or the similar RB-USB RIM. RB-USB RIM, etc.
These use a C-Media CM108/CM119 with an interesting addition, a GPIO These use a C-Media CM108/CM119 with an interesting addition, a GPIO
pin is used to drive PTT. Here is some related information. pin is used to drive PTT. Here is some related information.
@ -78,6 +78,15 @@
http://www.repeater-builder.com/products/usb-rim-lite.html http://www.repeater-builder.com/products/usb-rim-lite.html
http://www.repeater-builder.com/voip/pdf/cm119-datasheet.pdf http://www.repeater-builder.com/voip/pdf/cm119-datasheet.pdf
RA-35:
http://www.masterscommunications.com/products/radio-adapter/ra35.html
DINAH:
https://hamprojects.info/dinah/
Homebrew versions of the same idea: Homebrew versions of the same idea:
http://images.ohnosec.org/usbfob.pdf http://images.ohnosec.org/usbfob.pdf
@ -147,6 +156,11 @@
#include <unistd.h> #include <unistd.h>
#include <errno.h> #include <errno.h>
#include <grp.h> #include <grp.h>
#ifndef __USE_BSD
#define __USE_BSD // Needed for gcc 4.8.5 to find definitions for scandir
// and alphasort. Newer compilers don't have this issue.
#endif
#include <dirent.h> #include <dirent.h>
#ifdef USE_HAMLIB #ifdef USE_HAMLIB