Open KB8RCO opened 1 year ago
The issue is not strlcpy and strlcat. On the Direwolf groups.io discussion, John WB2OSZ said:
Seeing the strlcpy not found is nothing to be worried about. Dire Wolf supplies its own copy of strlcpy and strlcat for platforms that do not include it.
cmake is supposed to determine whether they are supplied by the operating system. If not, compile of the included copy is enabled.
Still looking for reasons why using both sides of the Nexus DR-X board work on 32-bit, but not on 64-but with these instructions.
Rob KB8RCO
Installed the Nexus D-X script on 64-bit Raspberry Pi OS: Linux version 5.15.76-v8+ (dom@buildbot) (aarch64-linux-gnu-gcc-8 (Ubuntu/Linaro 8.4.0-3ubuntu1) 8.4.0, GNU ld (GNU Binutils for Ubuntu) 2.34) #1597 SMP PREEMPT Fri Nov 4 12:16:41 GMT 2022
cloned WB2OSZ github for direwolf and did a git checkout dev ran cmake and got the following errors: -- Looking for strlcpy -- Looking for strlcpy - not found -- Looking for strlcat -- Looking for strlcat - not found -- Looking for pthread.h -- Looking for pthread.h - found -- Performing Test CMAKE_HAVE_LIBC_PTHREAD -- Performing Test CMAKE_HAVE_LIBC_PTHREAD - Failed
NOTE: This does not happen on the 32-bit version of Rasberry Pi OS.
I tried "apt install libbsd-dev" but that didn't change anything. NOTE: If you run cmake again, you don't get any errors and direwolf build.
Running direwolf with a single channel works fine, but with both left and right audio channels enabled produces errors: Audio input device 0 error code -5: Input/output error Audio input device 1 error code -5: Input/output error
Works fine on the 32-bit OS.