bugGNU Screen - Bugs: bug #36693, pty.c:38:26: fatal error:...

 
 

bug #36693: pty.c:38:26: fatal error: sys/stropts.h: No such file or directory

Submitted by:  None
Submitted on:  Wed 20 Jun 2012 10:03:09 AM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Privacy: PublicAssigned to: None
Open/Closed: OpenRelease: 4.0.3
Fixed Release: NonePlanned Release: None
Work Required: None

Add a New Comment (Rich MarkupRich Markup):
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sun 09 Sep 2012 03:25:13 PM UTC, comment #1:

problem on Linux 6u3 system:

Linux xxxx 2.6.39-200.29.1.el6uek.x86_64 #1 SMP Fri Jul 6 08:46:18 EDT 2012 x86_64 x86_64 x86_64 GNU/Linux
(Oracle Linux 6u3; Redhat derivative)

-

reading link:
http://lists.freebsd.org/pipermail/freebsd-ports-bugs/2006-April/084975.html

-

This is a similar problem, so I updated, as a workaround:

process.c
// # include <sys/stropts.h>

pty.c
// # include <sys/stropts.h>

screen.c
// # include <sys/stropts.h>

tty.sh -> which generates tty.c
// #include <sys/stropts.h> /* for I_POP */

-

Compiles, and runs fine after edit

MarkD <virtuosity>
Wed 20 Jun 2012 10:03:09 AM UTC, original submission:

On typing make:

CPP="gcc -E " srcdir=. sh ./osdef.sh
AWK=gawk CC="gcc -g -O2" srcdir=. sh ./comm.sh
AWK=gawk srcdir=. sh ./term.sh
gcc -c -I. -I. -g -O2 screen.c
gcc -c -I. -I. -g -O2 ansi.c
gcc -c -I. -I. -g -O2 fileio.c
gcc -c -I. -I. -g -O2 mark.c
gcc -c -I. -I. -g -O2 misc.c
gcc -c -I. -I. -g -O2 resize.c
gcc -c -I. -I. -g -O2 socket.c
gcc -c -I. -I. -g -O2 search.c
sh ./tty.sh tty.c
gcc -c -I. -I. -g -O2 tty.c
gcc -c -I. -I. -g -O2 term.c
gcc -c -I. -I. -g -O2 window.c
gcc -c -I. -I. -g -O2 utmp.c
gcc -c -I. -I. -g -O2 loadav.c
gcc -c -I. -I. -g -O2 putenv.c
gcc -c -I. -I. -g -O2 help.c
gcc -c -I. -I. -g -O2 termcap.c
gcc -c -I. -I. -g -O2 input.c
gcc -c -I. -I. -g -O2 attacher.c
gcc -c -I. -I. -g -O2 pty.c
pty.c:38:26: fatal error: sys/stropts.h: No such file or directory
compilation terminated.
make: *** [pty.o] Error 1

On typing 'uname -a':
Linux xxxxx.xxx.xx.xx.xx 3.2.6-3.fc16.x86_64 #1 SMP Mon Feb 13 20:35:42 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

I note that this missing file has come up before in MacOS but I can't find a similar bug related to Fedora 16.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by virtuosity (Posted a comment)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    No Changes Have Been Made to This Item

    Back to the top


    Powered by Savane 3.1-cleanup