Bug 91364 - Compiler error: Missing termios library header
Summary: Compiler error: Missing termios library header
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: eCos
Classification: Retired
Component: Serial device driver
Version: 2.0
Hardware: All
OS: Linux
medium
high
Target Milestone: ---
Assignee: Gary Thomas
QA Contact: Jonathan Larmour
URL:
Whiteboard:
Depends On:
Blocks:
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:
Clone Of:
Environment:
Last Closed: 2003-05-21 22:36:59 UTC
Embargoed:


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

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.



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