From: "François-Xavier Coudert" <fxcoudert@gmail.com>
To: zsh-workers@sunsite.dk
Subject: zsh-4.3.1 build failure on AIX
Date: Wed, 1 Mar 2006 11:09:00 +0100 [thread overview]
Message-ID: <19c433eb0603010209t17047996qc29b623e6ff2e490@mail.gmail.com> (raw)
Trying to build zsh-4.3.1 on AIX 5.3, with either gcc (3.2.3) or xlc,
leads to a build failure:
gcc -s -shared -o zle.so -Wl,-bI:../../Src/zsh.export
-Wl,-bE:zle.export -emodentry zle_bindings..o zle_hist..o
zle_keymap..o zle_main..o zle_misc..o zle_move..o zle_params..o
zle_refresh..o zle_thingy..o zle_tricky..o zle_utils..o zle_vi..o
zle_word..o ../../Src/modentry..o -liconv -ldl -lcurses -lm -lc
ld: 0711-317 ERROR: Undefined symbol: .makecommaspecial
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
collect2: ld returned 8 exit status
gmake[3]: *** [zle.so] Error 1
gmake[3]: Leaving directory `/tmp/zsh-4.3.1-gcc/Src/Zle'
gmake[2]: *** [modules] Error 1
gmake[2]: Leaving directory `/tmp/zsh-4.3.1-gcc/Src'
gmake[1]: *** [modules] Error 2
gmake[1]: Leaving directory `/tmp/zsh-4.3.1-gcc/Src'
gmake: *** [all] Error 1
or
xlc -s -bM:SRE -o zle.so -bI:../../Src/zsh.export -bE:zle.export
-emodentry zle_bindings..o zle_hist..o zle_keymap..o zle_main..o
zle_misc..o zle_move..o zle_params..o zle_refresh..o zle_thingy..o
zle_tricky..o zle_utils..o zle_vi..o zle_word..o
../../Src/modentry..o -liconv -ldl -lcurses -lm -lc
ld: 0711-317 ERROR: Undefined symbol: .makecommaspecial
ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more information.
gmake[3]: *** [zle.so] Error 8
gmake[3]: Leaving directory `/tmp/zsh-4.3.1-xlc/Src/Zle'
gmake[2]: *** [modules] Error 1
gmake[2]: Leaving directory `/tmp/zsh-4.3.1-xlc/Src'
gmake[1]: *** [modules] Error 2
gmake[1]: Leaving directory `/tmp/zsh-4.3.1-xlc/Src'
gmake: *** [all] Error 1
Both are configured with "./configure
--prefix=/regatt/lcp/coudert/local --enable-multibyte", the first one
with CC=gcc and the second one with CC=xlc.
Adding a line with "makecommaspecial" in Src/zsh.export makes the
compilation work again. I think the correct patch would be to change
(in Src/utils.c):
*** ../zsh-4.3.1-xlc/Src/utils.c Tue Feb 14 11:39:00 2006
--- Src/utils.c Wed Mar 1 11:09:10 2006
***************
*** 2623,2629 ****
}
/**/
! void
makecommaspecial(int yesno)
{
if ((specialcomma = yesno) != 0)
--- 2623,2629 ----
}
/**/
! mod_export void
makecommaspecial(int yesno)
{
if ((specialcomma = yesno) != 0)
Once compiled with that patch applied, zsh-4.3.1 seems to work fine
(for both compilers).
FX
next reply other threads:[~2006-03-01 10:09 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-01 10:09 François-Xavier Coudert [this message]
2006-03-01 11:00 ` 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=19c433eb0603010209t17047996qc29b623e6ff2e490@mail.gmail.com \
--to=fxcoudert@gmail.com \
--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).