Bug 91364 - Compiler error: Missing termios library header
Summary: Compiler error: Missing termios library header
Alias: None
Product: eCos
Classification: Retired
Component: Serial device driver   
(Show other bugs)
Version: 2.0
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Gary Thomas
QA Contact: Jonathan Larmour
Depends On:
TreeView+ depends on / blocked
Reported: 2003-05-21 21:34 UTC by Luis Benvenutto
Modified: 2007-04-18 16:53 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2003-05-21 22:36:59 UTC
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

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):


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.

Note You need to log in before you can comment on or make changes to this bug.