zsh-workers
 help / color / mirror / code / Atom feed
* zsh 4.3.4-dev-6 on Solaris
@ 2007-12-24 10:35 Zvi Har'El
  2007-12-24 15:32 ` Zvi Har'El
  0 siblings, 1 reply; 2+ messages in thread
From: Zvi Har'El @ 2007-12-24 10:35 UTC (permalink / raw)
  To: Zsh hackers list

Conflict between  /usr/local/include/ncursesw/ncurses.h and
/usr/include/term.h on Solaris 2.8 and 2.9


gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
-DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o terminfo..o terminfo.c

In file included from terminfo.c:75:
/usr/include/term.h:1060: error: syntax error before "SGTTY"
/usr/include/term.h:1078: error: 'timeout' redeclared as different kind
of symbol
/usr/local/include/ncursesw/ncurses.h:748: error: previous declaration
of 'timeout' was here
/usr/include/term.h:1078: error: 'timeout' redeclared as different kind
of symbol
/usr/local/include/ncursesw/ncurses.h:748: error: previous declaration
of 'timeout' was here
/usr/include/term.h:1120: error: syntax error before '}' token
/usr/include/term.h:1197: error: conflicting types for 'tparm'
/usr/include/term.h:1197: note: a parameter list with an ellipsis can't
match an empty parameter name list declaration
/usr/local/include/ncursesw/ncurses.h:828: error: previous declaration
of 'tparm' was here
/usr/include/term.h:1197: error: conflicting types for 'tparm'
/usr/include/term.h:1197: note: a parameter list with an ellipsis can't
match an empty parameter name list declaration
/usr/local/include/ncursesw/ncurses.h:828: error: previous declaration
of 'tparm' was here
/usr/include/term.h:1205: error: conflicting types for 'putp'
/usr/local/include/ncursesw/ncurses.h:825: error: previous declaration
of 'putp' was here
/usr/include/term.h:1205: error: conflicting types for 'putp'
/usr/local/include/ncursesw/ncurses.h:825: error: previous declaration
of 'putp' was here
/usr/include/term.h:1207: error: conflicting types for 'vidputs'
/usr/local/include/ncursesw/ncurses.h:756: error: previous declaration
of 'vidputs' was here
/usr/include/term.h:1207: error: conflicting types for 'vidputs'
/usr/local/include/ncursesw/ncurses.h:756: error: previous declaration
of 'vidputs' was here
In file included from terminfo.c:75:
/usr/include/term.h:1209:26: macro "resetterm" passed 1 arguments, but
takes just 0
/usr/include/term.h:1209:41: macro "fixterm" passed 1 arguments, but
takes just 0
/usr/include/term.h:1209:57: macro "saveterm" passed 1 arguments, but
takes just 0
terminfo.c: In function `boot_':
terminfo.c:362: warning: implicit declaration of function `setupterm'
make[3]: *** [terminfo..o] Error 1
make[3]: Leaving directory `/usr/local/src/build/zsh/Src/Modules'
make[2]: *** [modules] Error 1



-- 
Dr. Zvi Har'El      mailto:rl@math.technion.ac.il    Department of Mathematics
tel:+972-54-4227607                  Technion - Israel Institute of Technology
fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: zsh 4.3.4-dev-6 on Solaris
  2007-12-24 10:35 zsh 4.3.4-dev-6 on Solaris Zvi Har'El
@ 2007-12-24 15:32 ` Zvi Har'El
  0 siblings, 0 replies; 2+ messages in thread
From: Zvi Har'El @ 2007-12-24 15:32 UTC (permalink / raw)
  To: Zsh hackers list

Doing "make CFLAGS=-I/usr/local/include/ncursesw"  (or
"CFLAGS=-I/usr/local/include/ncursesw ./configure") helps, since the
compiler then includes /usr/local/include/ncursesw/term.h instead of
/usr/include/term.h

On 24/12/07 12:35, Zvi Har'El wrote:
> Conflict between  /usr/local/include/ncursesw/ncurses.h and
> /usr/include/term.h on Solaris 2.8 and 2.9
>
>
> gcc -c -I. -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -DHAVE_CONFIG_H
> -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o terminfo..o terminfo.c
>
> In file included from terminfo.c:75:
> /usr/include/term.h:1060: error: syntax error before "SGTTY"
> /usr/include/term.h:1078: error: 'timeout' redeclared as different kind
> of symbol
> /usr/local/include/ncursesw/ncurses.h:748: error: previous declaration
> of 'timeout' was here
> /usr/include/term.h:1078: error: 'timeout' redeclared as different kind
> of symbol
> /usr/local/include/ncursesw/ncurses.h:748: error: previous declaration
> of 'timeout' was here
> /usr/include/term.h:1120: error: syntax error before '}' token
> /usr/include/term.h:1197: error: conflicting types for 'tparm'
> /usr/include/term.h:1197: note: a parameter list with an ellipsis can't
> match an empty parameter name list declaration
> /usr/local/include/ncursesw/ncurses.h:828: error: previous declaration
> of 'tparm' was here
> /usr/include/term.h:1197: error: conflicting types for 'tparm'
> /usr/include/term.h:1197: note: a parameter list with an ellipsis can't
> match an empty parameter name list declaration
> /usr/local/include/ncursesw/ncurses.h:828: error: previous declaration
> of 'tparm' was here
> /usr/include/term.h:1205: error: conflicting types for 'putp'
> /usr/local/include/ncursesw/ncurses.h:825: error: previous declaration
> of 'putp' was here
> /usr/include/term.h:1205: error: conflicting types for 'putp'
> /usr/local/include/ncursesw/ncurses.h:825: error: previous declaration
> of 'putp' was here
> /usr/include/term.h:1207: error: conflicting types for 'vidputs'
> /usr/local/include/ncursesw/ncurses.h:756: error: previous declaration
> of 'vidputs' was here
> /usr/include/term.h:1207: error: conflicting types for 'vidputs'
> /usr/local/include/ncursesw/ncurses.h:756: error: previous declaration
> of 'vidputs' was here
> In file included from terminfo.c:75:
> /usr/include/term.h:1209:26: macro "resetterm" passed 1 arguments, but
> takes just 0
> /usr/include/term.h:1209:41: macro "fixterm" passed 1 arguments, but
> takes just 0
> /usr/include/term.h:1209:57: macro "saveterm" passed 1 arguments, but
> takes just 0
> terminfo.c: In function `boot_':
> terminfo.c:362: warning: implicit declaration of function `setupterm'
> make[3]: *** [terminfo..o] Error 1
> make[3]: Leaving directory `/usr/local/src/build/zsh/Src/Modules'
> make[2]: *** [modules] Error 1
>
>
>
>   

-- 
Dr. Zvi Har'El      mailto:rl@math.technion.ac.il    Department of Mathematics
tel:+972-54-4227607                  Technion - Israel Institute of Technology
fax:+972-4-8293388  http://www.math.technion.ac.il/~rl/    Haifa 32000, ISRAEL
"If you can't say somethin' nice, don't say nothin' at all." -- Thumper (1942)


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2007-12-24 15:33 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-12-24 10:35 zsh 4.3.4-dev-6 on Solaris Zvi Har'El
2007-12-24 15:32 ` Zvi Har'El

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).