[linux-users: 108861] Re: GNU screenのmakeについて

dezawa dezawa @ aliadne.net
2012年 1月 3日 (火) 18:31:35 JST


(2012年01月03日 16:25), satoake wrote:

> gcc -c -I. -I.    -g -O2 pty.c
> pty.c:38:26: error: sys/stropts.h: そのようなファイルやディレクトリはありません
> make: *** [pty.o] エラー 1

> 
> # find / | grep stropts.h
> /usr/lib/x86_64-redhat-linux5E/include/bits/stropts.h
> /usr/lib/x86_64-redhat-linux5E/include/sys/stropts.h
> /usr/lib/x86_64-redhat-linux5E/include/stropts.h
> /usr/share/man/man0p/stropts.h.0p.gz
> 

ということですと

gcc -c -I. -I/usr/lib/x86_64-redhat-linux5E/include -g -O2 pty.c

でどうでしょう

ここにある sys/stropts.h が pty.cがお望みのものであるのなら。

                    出沢

みつから無いのに configure が通ってしまうのは、configure の出来が
いまいち?


linux-users メーリングリストの案内