-
Notifications
You must be signed in to change notification settings - Fork 14
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
Fails to build - missing Golay.c, other issues #3
Comments
I fixed the code (modulo that one header), Zach said he'd fix the I'll take another look and see if anything else is broken. -Peter On Tue, 12 Jan 2016, Phil Pemberton wrote:
|
That explains a lot. Replacing "golay.c" with "fec.c" allows the build to proceed a little further, then it craps out. Replacing the first make rule with a pattern rule (instead of asking gcc to compile all the files in one go) makes it behave a little better. It looks like there's some Reed Solomon stuff missing from fec.c, I guessed at that and got the thing to build but it segfaults on startup. Anyway, what I've done is on my fork, on the "make-it-build" branch: |
Oh, the segfault is because it doesn't know what to do if given no sources I don't enable ReedSolomon for just DMR since the RS code there is Should probably add -DNO_REEDSOLOMON=1 to the Makefile. Fixing docs currently. On Wed, 13 Jan 2016, Phil Pemberton wrote:
|
Yeah, I noticed that and patched it so it doesn't segfault any more (see 63f746a...), instead politely telling you to use -i. Sadly it doesn't seem to hear anything: while "padsp ./dsd -xr" seems to work for the 'main' DSD (or at least Szechyjs's fork), all this one does (with "padsp ./dsd -i /dev/audio -xr") is pick up a few random NXDN packets in the noise. I suspect I'm using the wrong DSP device or something, or it needs a sample format conversion. I'll wait on the updated documentation and see if I can make any sense of it -- it's getting pretty late here anyway. |
Yeah I believe it's failing to autodetect between s16 and float, and On Wed, 13 Jan 2016, Phil Pemberton wrote:
|
The current dsd-dmr master (7bf1bcb...) appears to be unbuildable as committed.
Initially I received an error from make regarding line 16 of the Makefile beginning with four spaces instead of a tab. This was easily fixed.
Secondly, the prototype for dsd_gen_root_raised_cosine does not match: the header dsd.h specifies that it returns void, while the function actually returns a float.
After correcting the prototype in dsd.h, the build process stopped with:
So it appears this file is missing from the committed source.
The text was updated successfully, but these errors were encountered: