Page 1 of 1

Installation errors on FreeBSD 8.1 port

Posted: Mon Jan 24, 2011 7:33 pm
by vgoudar
Hi,

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.
Can you please let me know how to fix it?

Thanks.

Re: Installation errors on FreeBSD 8.1 port

Posted: Wed Jan 26, 2011 1:06 am
by ted
Sounds like your C/C++ software development environment is incomplete. Can you compile anything? Is the ncurses library installed?