Bug 91364

Summary: Compiler error: Missing termios library header
Product: [Retired] eCos Reporter: Luis Benvenutto <lbenvenu>
Component: Serial device driverAssignee: Gary Thomas <gary>
Status: CLOSED NOTABUG QA Contact: Jonathan Larmour <jifl-bugzilla>
Severity: high Docs Contact:
Priority: medium    
Version: 2.0   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2003-05-21 22:36:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Luis Benvenutto 2003-05-21 21:34:06 UTC
Description of problem:

Compilation fails when the user aplication uses <termios.h>

Version-Release number of selected component (if applicable):

ecoscentric-gnutools-i386-elf-1.4-2

How reproducible:

Steps to Reproduce:
1. Build a generic library for i386
2. Put a line in your source like '#include <termios.h>
3. make INSTALL_DIR=<dir>
    
Actual results:
Relevant output from compiler is:
/opt/ecos/gnutools/i386-elf/i386-elf/include/termios.h:4:25: sys/termios.h: No
such file or directory

Expected results:
Succesful compilation

Additional info:

Comment 1 Jonathan Larmour 2003-05-21 22:36:59 UTC
It looks like you haven't added the eCos header directory into the include path
of the compiler. Have a read of the Tutorial document, but in summary you're
meant to do something similar to -I/myecosinstalldir/include

Then it will pick up the eCos termios.h in preference.