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

Submitter:  None
Submitted:  Wed 20 Jun 2012 10:03:09 AM UTC
   
 
Category:  Build/Install Severity:  3 - Normal
Priority:  * 5 - Normal Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Release:  4.0.3
Fixed Release:  None Planned Release:  None
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

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 Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    No changes have been made to this item

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code