There should be an
#include <termios.h>
At the top of the file where this is used.
Thanks
Bruce
On 03/23/2014 12:32 PM, Richard Shaw wrote:
Ok, started testing, the patch applies cleanly of course but ran into
an issue on Linux:
/home/build/rpmbuild/freedv/BUILD/fdmdv2-0.96.5.svn1329/src/fdmdv2_main.cpp:
In member function 'void MainFrame::raiseDTR()':
/home/build/rpmbuild/freedv/BUILD/fdmdv2-0.96.5.svn1329/src/fdmdv2_main.cpp:670:15:
error: 'TIOCM_DTR' was not declared in this scope
int flags = TIOCM_DTR;
I can see where you added an include for termios.h in fdmdv2_main.h:
@@ -52,10 +52,11 @@
#include <samplerate.h>
#include <hamlib.h>
-#include "ctb-0.16/ctb.h"
-#include "ctb-0.16/portscan.h"
-#include "ctb-0.16/serportx.h"
-#include "ctb-0.16/serport.h"
+#ifdef _WIN32
+#include <windows.h>
+#else
+#include <termios.h>
+#endif
Where termios.h includes bits/termios.h which has TIOCM_DTR defined
so I don't know what the problem is...
Any ideas?
Thanks,
Richard
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2
------------------------------------------------------------------------------
Learn Graph Databases - Download FREE O'Reilly Book
"Graph Databases" is the definitive new guide to graph databases and their
applications. Written by three acclaimed leaders in the field,
this first edition is now available. Download your free book today!
http://p.sf.net/sfu/13534_NeoTech
_______________________________________________
Freetel-codec2 mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freetel-codec2