From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 22120 invoked from network); 24 Dec 2007 15:33:09 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.3 (2007-08-08) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.5 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.3 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Dec 2007 15:33:09 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 9915 invoked from network); 24 Dec 2007 15:33:03 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Dec 2007 15:33:03 -0000 Received: (qmail 2959 invoked by alias); 24 Dec 2007 15:32:56 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 24314 Received: (qmail 2943 invoked from network); 24 Dec 2007 15:32:56 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 24 Dec 2007 15:32:56 -0000 Received: from virusfilter.dotsrc.org (bifrost [127.0.0.1]) by spamfilter.dotsrc.org (Postfix) with ESMTP id 4A5988058F9B for ; Mon, 24 Dec 2007 16:29:17 +0100 (CET) Received: from mailgw10.technion.ac.il (mailgw10.technion.ac.il [132.68.225.10]) by bifrost.dotsrc.org (Postfix) with ESMTP for ; Mon, 24 Dec 2007 16:29:15 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ao8CAINfb0eERHMC/2dsb2JhbACoRg X-IronPort-AV: E=Sophos;i="4.24,204,1196632800"; d="scan'208";a="75125481" Received: from leeor.math.technion.ac.il ([132.68.115.2]) by mailgw10.technion.ac.il with ESMTP; 24 Dec 2007 17:32:48 +0200 Received: from [127.0.0.1] (localhost [127.0.0.1]) by leeor.math.technion.ac.il (8.12.11/8.12.11) with ESMTP id lBOFWZPK021271 for ; Mon, 24 Dec 2007 17:32:37 +0200 (IST) Message-ID: <476FD113.10004@math.technion.ac.il> Date: Mon, 24 Dec 2007 17:32:35 +0200 From: "Zvi Har'El" Organization: Technion--Israel Institute of Technology User-Agent: Thunderbird 2.0.0.9 (X11/20071031) MIME-Version: 1.0 To: Zsh hackers list Subject: Re: zsh 4.3.4-dev-6 on Solaris References: <476F8B6D.1020408@math.technion.ac.il> In-Reply-To: <476F8B6D.1020408@math.technion.ac.il> X-Enigmail-Version: 0.95.5 OpenPGP: id=AF1F5245; url=http://www.math.technion.ac.il/~rl/etc/pubkey.html Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV using ClamSMTP 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)