Menu

#42 Compilation under QNX

Fixed
nobody
None
Medium
Defect
2013-12-09
2013-08-26
Anonymous
No

Originally created by: Alexey.B...@gmail.com

There is one small issue when compiling this project under QNX 6.3.
QNX does not have non-posix CRTSCTS flag for setting hardware flow control. It has 2 flags "IHFLOW" and "OHFLOW" (input & output hardware control acordingly) instead.
To fix the issue you need to replace line 134 in file serial_posix.c
from

h->newtio.c_cflag &= ~(CSIZE | CRTSCTS);

to

#ifdef __QNXNTO__
    h->newtio.c_cflag &= ~(CSIZE | IHFLOW | OHFLOW);
#else
    h->newtio.c_cflag &= ~(CSIZE | CRTSCTS);
#endif

Hope this helps someone.

Discussion

  • Anonymous

    Anonymous - 2013-09-15

    Originally posted by: lists.to...@gmail.com

    Thanks for the patch, I have applied it to the "merging" git branch.

     
  • Anonymous

    Anonymous - 2013-12-09

    Originally posted by: lists.to...@gmail.com

    This has now been fixed in the official repository and is included in version 0.3beta2.

    Status: Fixed

     

Anonymous
Anonymous

Add attachments
Cancel





Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.