From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.175]) by ozlabs.org (Postfix) with ESMTP id E19C9DDDF7 for ; Sun, 18 May 2008 15:05:39 +1000 (EST) Received: by wf-out-1314.google.com with SMTP id 24so899945wfg.15 for ; Sat, 17 May 2008 22:05:38 -0700 (PDT) Message-ID: Date: Sun, 18 May 2008 10:35:38 +0530 From: "narendra sisodiya" To: linuxppc-embedded@ozlabs.org Subject: sys/termios.h not found MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_10700_33472498.1211087138279" List-Id: Linux on Embedded PowerPC Developers Mail List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , ------=_Part_10700_33472498.1211087138279 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline First of all sorry for cross posting this question but i am not getting answer anywhere. May you can help me, Dear Sir, I am trying to complie some bluwtooh libraries, my code has a line which says # include which is located at C:\EDK\gnu\microblaze\nt\microblaze\sys-include and its content is #ifdef __cplusplus extern "C" { #endif #include #ifdef __cplusplus } #endif I checked that -- sys directory which is C:\EDK\gnu\microblaze\nt\microblaze\sys-include\sys but this do not contain any file named termios.h due to this i am getting a error in compilation In file included from lwbt-src/uartif.c:15: /cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/sys-include/termios.h:4:25: sys/termios.h: No such file or directory may you help me, I am also getting a error like lwbt-src/uartif.c:30: error: storage size of 'oldtio' isn't known lwbt-src/uartif.c:30: error: storage size of 'newtio' isn't known bacause my uartif.c file has struct termios oldtio, newtio; and it is unable to detect the class termios Thanks n Regards -- Narendra Sisodiya MTech, IIT Delhi ------=_Part_10700_33472498.1211087138279 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline

First of all sorry for cross posting this question but i am not getting answer anywhere. May you can help me,


Dear Sir, I am trying to complie some bluwtooh libraries,

my code has a line which says

# include<termios.h> 

which is located at C:\EDK\gnu\microblaze\nt\microblaze\sys-include and its content is

 

#ifdef __cplusplus
extern "C" {
#endif
#include <sys/termios.h>
#ifdef __cplusplus
}
#endif


I checked that -- sys directory  which is C:\EDK\gnu\microblaze\nt\microblaze\sys-include\sys

but this do not contain any file named  termios.h

due to this  i am getting a error in compilation

In file included from lwbt-src/uartif.c:15:
/cygdrive/c/EDK/gnu/microblaze/nt/bin/../lib/gcc/microblaze/3.4.1/../../../../microblaze/sys-include/termios.h:4:25: sys/termios.h: No such file or directory

 may you help me,

I am also getting a error like

lwbt-src/uartif.c:30: error: storage size of 'oldtio' isn't known
lwbt-src/uartif.c:30: error: storage size of 'newtio' isn't known

 bacause my uartif.c file has

struct termios oldtio, newtio;

 and it is unable to detect the class termios

 

 

Thanks n Regards


--
Narendra Sisodiya MTech, IIT Delhi ------=_Part_10700_33472498.1211087138279--