zsh-workers
 help / color / mirror / code / Atom feed
From: "Zvi Har'El" <rl@math.technion.ac.il>
To: Zsh hackers list <zsh-workers@sunsite.dk>
Subject: Re: zsh 4.3.4-dev-6 on Solaris
Date: Mon, 24 Dec 2007 17:32:35 +0200	[thread overview]
Message-ID: <476FD113.10004@math.technion.ac.il> (raw)
In-Reply-To: <476F8B6D.1020408@math.technion.ac.il>

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)


      reply	other threads:[~2007-12-24 15:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-24 10:35 Zvi Har'El
2007-12-24 15:32 ` Zvi Har'El [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=476FD113.10004@math.technion.ac.il \
    --to=rl@math.technion.ac.il \
    --cc=zsh-workers@sunsite.dk \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).