Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
zsh-4.3.1 build failure on AIX
- X-seq: zsh-workers 22313
- From: "François-Xavier Coudert" <fxcoudert@xxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: zsh-4.3.1 build failure on AIX
- Date: Wed, 1 Mar 2006 11:09:00 +0100
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type:content-transfer-encoding:content-disposition; b=b8B1qTdKYlauWBAIeYRb6zLzfl3e0l79ZN/GINa+1ZRKSTRhMjwyjk2zj4wJTTHXx6kiBbcxtIoPZfOpNv9Jzj/fYXpbrcxn/qhjTIFgK9VNrzoE8sFZkC5wcjG+7FkS2PHJXjy/gPHz/eQRLHxXmb4hOLSv+EfHqJD2+EUYG7k=
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author