[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: tcgetattr

They are supported and used in for example apps/hwtest/serial/
You have probably done something wrong during linking or compiling.
Look at the existing Makefile for info on how to do it,
you must use -nostdinc, -nostdlib etc.

Best regards

-----Original Message-----
From: Nikolaus H. Krug <goethe@xxxxxxx.at>
To: AXIS Developer <dev-etrax@xxxxxxx.com>
Date: Thursday, September 28, 2000 17:15
Subject: tcgetattr

>It seems that the functions 
> tcgetattr(...)
> tcsetattr(...)
> cfgetispeet(...)
> etc.
>defined in <termios.h> are not supported by uC-linux. 
>(undefined reference to `_tcgetattr__FiP7termios)
>How is it possible to set the baudrate e.g. of /dev/ttyS0 without these
>functions? Or is it necessary to include another headerfile?
> NKrug