From: "Alexey I. Froloff" <raorn@altlinux.org>
To: zsh-workers@zsh.org
Subject: Re: #include problem for generated files included in system.h
Date: Wed, 11 May 2011 01:04:37 +0400 [thread overview]
Message-ID: <20110510210437.GA7827@altlinux.org> (raw)
In-Reply-To: <20110510174510.61172637@pwslap01u.europe.root.pri>
[-- Attachment #1.1: Type: text/plain, Size: 914 bytes --]
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=i586 -mtune=i686 -o builtin.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.
--
Regards, --
Sir Raorn. --- http://thousandsofhate.blogspot.com/
[-- Attachment #1.2: zsh-generated-headers.patch --]
[-- Type: text/plain, Size: 421 bytes --]
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
+zsh_system.h: zshcurses.h zshterm.h
+
bltinmods.list: modules.stamp mkbltnmlst.sh $(dir_top)/config.modules
srcdir='$(sdir)' CFMOD='$(dir_top)/config.modules' \
$(SHELL) $(sdir)/mkbltnmlst.sh $@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 836 bytes --]
next prev parent reply other threads:[~2011-05-10 21:10 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-05-09 10:44 Peter Stephenson
2011-05-09 14:25 ` Bart Schaefer
2011-05-10 16:36 ` Peter Stephenson
2011-05-10 16:45 ` Peter Stephenson
2011-05-10 21:04 ` Alexey I. Froloff [this message]
2011-05-11 8:53 ` Peter Stephenson
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=20110510210437.GA7827@altlinux.org \
--to=raorn@altlinux.org \
--cc=zsh-workers@zsh.org \
/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).