mirror of https://github.com/wb2osz/direwolf.git
CentOS build issues.
This commit is contained in:
parent
c94628f547
commit
690ed3e1d6
11
README.md
11
README.md
|
@ -125,7 +125,16 @@ On Debian / Ubuntu / Raspbian:
|
|||
|
||||
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 libudev-devel
|
||||
|
||||
|
|
18
src/ptt.c
18
src/ptt.c
|
@ -62,8 +62,8 @@
|
|||
*---------------------------------------------------------------*/
|
||||
|
||||
/*
|
||||
A growing number of people have been asking about support for the DMK URI
|
||||
or the similar RB-USB RIM.
|
||||
A growing number of people have been asking about support for the DMK URI,
|
||||
RB-USB RIM, etc.
|
||||
|
||||
These use a C-Media CM108/CM119 with an interesting addition, a GPIO
|
||||
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/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:
|
||||
|
||||
http://images.ohnosec.org/usbfob.pdf
|
||||
|
@ -147,6 +156,11 @@
|
|||
#include <unistd.h>
|
||||
#include <errno.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>
|
||||
|
||||
#ifdef USE_HAMLIB
|
||||
|
|
Loading…
Reference in New Issue