From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29652 invoked by alias); 10 May 2011 21:10:57 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 29216 Received: (qmail 19507 invoked from network); 10 May 2011 21:10:55 -0000 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-1.4 required=5.0 tests=BAYES_00,URI_NOVOWEL autolearn=ham version=3.3.1 Received-SPF: none (ns1.primenet.com.au: domain at altlinux.org does not designate permitted sender hosts) Date: Wed, 11 May 2011 01:04:37 +0400 From: "Alexey I. Froloff" To: zsh-workers@zsh.org Subject: Re: #include problem for generated files included in system.h Message-ID: <20110510210437.GA7827@altlinux.org> References: <20110509114402.38f33fd3@pwslap01u.europe.root.pri> <110509072517.ZM19256@torch.brasslantern.com> <20110510173629.21735f0a@pwslap01u.europe.root.pri> <20110510174510.61172637@pwslap01u.europe.root.pri> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="K8nIJk4ghYZn606h" Content-Disposition: inline In-Reply-To: <20110510174510.61172637@pwslap01u.europe.root.pri> User-Agent: Mutt/1.5.21 (2010-09-15) --K8nIJk4ghYZn606h Content-Type: multipart/mixed; boundary="17pEHd4RhPHOinZp" Content-Disposition: inline --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Tue, May 10, 2011 at 05:45:10PM +0100, Peter Stephenson wrote: > > > While we're at it the name "system.h" has always seemed a bit > > > generic to me, and therefore likely to clash with something. > > I'll see if I can do that separately. > Seems trivial, so I've renamed it to zsh_system.h. Have you tried to build a fresh cvs/git checkout? I am getting: make[2]: Entering directory `/usr/src/RPM/BUILD/zsh-4.3.11/Src' i586-alt-linux-gcc -c -I. -I../Src -I../Src -I../Src/Zle -I. -I/usr/include= /pcre -DHAVE_CONFIG_H -pipe -Wall -g -O2 -march=3Di586 -mtune=3Di686 -o bu= iltin.o builtin.c In file included from zsh.mdh:17:0, from builtin.c:33: zsh_system.h:868:26: fatal error: zshcurses.h: No such file or directory compilation terminated. make[2]: *** [builtin.o] Error 1 Attached patch fixes this. --=20 Regards, -- Sir Raorn. --- http://thousandsofhate.blogspot.com/ --17pEHd4RhPHOinZp Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename="zsh-generated-headers.patch" Content-Transfer-Encoding: quoted-printable diff --git a/Src/zsh.mdd b/Src/zsh.mdd index a1c0edc..1dc017b 100644 --- a/Src/zsh.mdd +++ b/Src/zsh.mdd @@ -98,6 +98,8 @@ zshpaths.h: Makemod $(CONFIG_INCS) echo "Updated \`zshpaths.h'." ; \ fi =20 +zsh_system.h: zshcurses.h zshterm.h + bltinmods.list: modules.stamp mkbltnmlst.sh $(dir_top)/config.modules srcdir=3D'$(sdir)' CFMOD=3D'$(dir_top)/config.modules' \ $(SHELL) $(sdir)/mkbltnmlst.sh $@ --17pEHd4RhPHOinZp-- --K8nIJk4ghYZn606h Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) iQIcBAEBAgAGBQJNyaheAAoJEErPkC6vOrpJAcMP/iUPJo3orLwkS+8yCF745jsG K759g4ZeLl7ALBkMS9l9vln19iNYal2We8DPH8OQK8th1qAIKIWqaj9N/lq0Bhfp e57zima6fGPZXIMr5Whk9hHpEVGS6G+BrIQTpQaqNjkRJTzOJrmJM5C4f/2ZDr4t 4OGo+ta7KKnbeFUDKPugmjie19cn294/bVR3Fc2htYM8+Q3I+2FD4/7azKd6bVta t+S8oGYiPJPLUkXJLocv9QwjCmkrTHm/8KocZREnpMzT5WJRWGsntJyMq0ofR3if z5htSnjnTzN6qkcF7xzt93G8ZxYPEwokiY7QTNmScjfCc3HUKTEMNDqGLUTftMZ7 mlLsGoGVTyEf8Bx5DMOF5Fg1CycWI5j6j4nb5A95HYzz1oKDMlULYuaiw+f+PiTT DURKpEaYSv8NEHtFJZjr3JE1IZ4ljm+nnKgqOhb30yWJXV2u6CmHyLryBhiaueRe 4qjeBHeAXE6Dl+Mc42DMG9nxbeYY4pMEiK0316y7fmWAeIxCPm1QHKVGsWLILY0t ybnaGFwHIQfiHjAPKh0aeLMDwah7A8IR67QnyS/Di4izjDwuOC2AsrxaWgdKsg/K Dp2r6M3e/MrB34p7x4tD+XmTRsSCMnkWvYZoDHKpGBhNv5n5y/Qbw8zPpBxKZVPf HDOxnAXjuSOJAukkfWbz =1CYt -----END PGP SIGNATURE----- --K8nIJk4ghYZn606h--