Installation errors on FreeBSD 8.1 port

Post Reply
vgoudar
Posts: 19
Joined: Fri Dec 03, 2010 3:41 am

Installation errors on FreeBSD 8.1 port

Post by vgoudar » Mon Jan 24, 2011 7:33 pm

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.

ted
Site Admin
Posts: 5619
Joined: Wed May 18, 2005 4:50 pm
Location: Yale University School of Medicine
Contact:

Re: Installation errors on FreeBSD 8.1 port

Post by ted » Wed Jan 26, 2011 1:06 am

Sounds like your C/C++ software development environment is incomplete. Can you compile anything? Is the ncurses library installed?

Post Reply