* [patch] use ioctl.h instead of ttycom.h on Linux
@ 2009-05-03 10:58 Robert Schwebel
2009-05-04 23:15 ` Mike Frysinger
2009-05-18 15:37 ` Steve Dickson
0 siblings, 2 replies; 4+ messages in thread
From: Robert Schwebel @ 2009-05-03 10:58 UTC (permalink / raw)
To: linux-nfs; +Cc: crossdev-iOHc7L4DgpLFDiOEh+KS6A
When compiling nfs-utils-1.1.6, I get this error:
arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
Use sys/ioctl.h instead.
Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
---
tools/rpcgen/rpc_main.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
Index: nfs-utils-1.1.6/tools/rpcgen/rpc_main.c
===================================================================
--- nfs-utils-1.1.6.orig/tools/rpcgen/rpc_main.c
+++ nfs-utils-1.1.6/tools/rpcgen/rpc_main.c
@@ -550,7 +550,7 @@ s_output(int argc, char **argv, char *in
f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
#else
if( !tirpcflag )
- f_print(fout, "#include <sys/ttycom.h>/* TIOCNOTTY */\n");
+ f_print(fout, "#include <sys/ioctl.h>/* TIOCNOTTY */\n");
#endif
if( Cflag && (inetdflag || pmflag ) ) {
f_print(fout, "#ifdef __cplusplus\n");
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] use ioctl.h instead of ttycom.h on Linux
2009-05-03 10:58 [patch] use ioctl.h instead of ttycom.h on Linux Robert Schwebel
@ 2009-05-04 23:15 ` Mike Frysinger
2009-05-18 15:37 ` Steve Dickson
1 sibling, 0 replies; 4+ messages in thread
From: Mike Frysinger @ 2009-05-04 23:15 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-nfs, crossdev-iOHc7L4DgpLFDiOEh+KS6A
[-- Attachment #1: Type: text/plain, Size: 812 bytes --]
On Sunday 03 May 2009 06:58:29 Robert Schwebel wrote:
> When compiling nfs-utils-1.1.6, I get this error:
>
> arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include
> -isystem
> /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCO
>RE-PXA270.PCM990/sysroot-target/include -isystem
> /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCO
>RE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall
> -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF
> .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
> sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
>
> Use sys/ioctl.h instead.
ive posted a patch or two to fix this, but cant seem to get it merged ...
i.e. your change is of course correct
-mike
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] use ioctl.h instead of ttycom.h on Linux
2009-05-03 10:58 [patch] use ioctl.h instead of ttycom.h on Linux Robert Schwebel
2009-05-04 23:15 ` Mike Frysinger
@ 2009-05-18 15:37 ` Steve Dickson
[not found] ` <4A1180D4.4010305-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
1 sibling, 1 reply; 4+ messages in thread
From: Steve Dickson @ 2009-05-18 15:37 UTC (permalink / raw)
To: Robert Schwebel; +Cc: linux-nfs, crossdev-iOHc7L4DgpLFDiOEh+KS6A
Robert Schwebel wrote:
> When compiling nfs-utils-1.1.6, I get this error:
>
> arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
> sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
>
> Use sys/ioctl.h instead.
>
> Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
>
> ---
Committed...
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] use ioctl.h instead of ttycom.h on Linux
[not found] ` <4A1180D4.4010305-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
@ 2009-05-18 15:53 ` Robert Schwebel
0 siblings, 0 replies; 4+ messages in thread
From: Robert Schwebel @ 2009-05-18 15:53 UTC (permalink / raw)
To: Steve Dickson; +Cc: linux-nfs, crossdev-iOHc7L4DgpLFDiOEh+KS6A
On Mon, May 18, 2009 at 11:37:56AM -0400, Steve Dickson wrote:
> Robert Schwebel wrote:
> > When compiling nfs-utils-1.1.6, I get this error:
> >
> > arm-iwmmx-linux-gnueabi-gcc -DHAVE_CONFIG_H -I. -I../../support/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/include -isystem /home/rsc/svn/oselas/bsp/OSELAS.BSP-Pengutronix-AllYes-trunk/platform-phyCORE-PXA270.PCM990/sysroot-target/usr/include -D_GNU_SOURCE -Wall -Wstrict-prototypes -pipe -g -O2 -MT sm_inter_svc.o -MD -MP -MF .deps/sm_inter_svc.Tpo -c -o sm_inter_svc.o sm_inter_svc.c
> > sm_inter_svc.c:10:39: error: sys/ttycom.h: No such file or directory
> >
> > Use sys/ioctl.h instead.
> >
> > Signed-off-by: Robert Schwebel <r.schwebel@pengutronix.de>
> >
> > ---
> Committed...
Great, thanks!
rsc
--
Pengutronix e.K. | |
Industrial Linux Solutions | http://www.pengutronix.de/ |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 |
Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 |
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-05-18 15:53 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-05-03 10:58 [patch] use ioctl.h instead of ttycom.h on Linux Robert Schwebel
2009-05-04 23:15 ` Mike Frysinger
2009-05-18 15:37 ` Steve Dickson
[not found] ` <4A1180D4.4010305-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-05-18 15:53 ` Robert Schwebel
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.