While compiling from source, I get the following errors while running make:
Code: Select all
termio.c:100:63: error: sgtty.h: No such file or directory
termio.c:105: error: variable 'ntchars' has initializer but incomplete type
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c:105: warning: excess elements in struct initializer
termio.c:105: warning: (near initialization for 'ntchars')
termio.c: In function 'emacs_ttopen':
termio.c:196: error: 'TIOCGETP' undeclared (first use in this function)
termio.c:196: error: (Each undeclared identifier is reported only once
termio.c:196: error: for each function it appears in.)
termio.c:198: error: invalid use of undefined type 'struct sgttyb'
termio.c:198: error: 'RAW' undeclared (first use in this function)
termio.c:199: error: invalid use of undefined type 'struct sgttyb'
termio.c:199: error: 'ECHO' undeclared (first use in this function)
termio.c:199: error: 'CRMOD' undeclared (first use in this function)
termio.c:200: error: 'TIOCSETP' undeclared (first use in this function)
termio.c:201: error: 'TIOCGETC' undeclared (first use in this function)
termio.c:202: error: 'TIOCSETC' undeclared (first use in this function)
termio.c: In function 'emacs_ttclose':
termio.c:259: error: 'TIOCSETP' undeclared (first use in this function)
termio.c:260: error: 'TIOCSETC' undeclared (first use in this function)
*** Error code 1
Stop in /.amd_mnt/panther/host/intern/vishwa/neuron/nrn/src/memacs.
*** Error code 1
Stop in /.amd_mnt/panther/host/intern/vishwa/neuron/nrn/src.
*** Error code 1
Stop in /.amd_mnt/panther/host/intern/vishwa/neuron/nrn.
*** Error code 1
Stop in /.amd_mnt/panther/host/intern/vishwa/neuron/nrn.
Thanks.