Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Compilation errors on OpenSolaris snv 77
- X-seq: zsh-users 12790
- From: "Johann \"Myrkraverk\" Oskarsson" <johann@xxxxxxxxxxxxxx>
- To: "ZSH Users" <zsh-users@xxxxxxxxxx>
- Subject: Compilation errors on OpenSolaris snv 77
- Date: Thu, 17 Apr 2008 21:53:23 +0000
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
Hi all,
Trying to compile zsh, both 4.2.7 and 4.3.6 I ran into the following error:
Undefined first referenced
symbol in file
libiconv_close utils.o
libiconv_open utils.o
libiconv utils.o
My ./configure line is: CC=cc CXX=CC ./configure --enable-pcre
uname -a: SunOS asuka 5.11 snv_77 i86pc i386 i86pc
A "workaround" was to add the following into Src/utils.c:
#ifdef iconv_open
#undef iconv_open
#endif
#ifdef iconv_close
#undef iconv_close
#endif
#ifdef iconv
#undef iconv
#endif
I have no idea where the macros are defined.
Is this generally known? If anyone has a clue as to how I can find
the macros and/or tell me how I should patch the shell, I just might
submit one.
Johann
Messages sorted by:
Reverse Date,
Date,
Thread,
Author