Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: 4.2.0-pre-3



Ibraheem Umaru-Mohammed wrote:
> 	/usr/vac/bin/cc -qlanglvl=ansi  -s -bM:SRE -o datetime.so
> -bI:../../Src/zsh.export -bE:datetime.export -emodentry datetime..o 
> ../../Src/modentry..o  -liconv -ldl -lcurses -ltermcap -lm  -lc 
> ld: 0711-317 ERROR: Undefined symbol: .isident
> ld: 0711-345 Use the -bloadmap or -bnoquiet option to obtain more
> information.

This is the feature of AIX that symbol exports and imports need to
be marked explicitly.  Most systems don't require that, so this gets
missed until someone tries to compile it on AIX.  This should fix
this one...

(I'm not sure if the dependencies of the lists of exports are correct.
You may have to remove zsh.export, for example.  I used to use AIX
but that was 4 1/2 years ago.)

Please keep going, we must be nearly there now.

Index: Src/params.c
===================================================================
RCS file: /cvsroot/zsh/zsh/Src/params.c,v
retrieving revision 1.76
diff -u -r1.76 params.c
--- Src/params.c	15 Jan 2004 11:10:52 -0000	1.76
+++ Src/params.c	8 Mar 2004 10:40:07 -0000
@@ -777,7 +777,7 @@
 /* Return 1 if the string s is a valid identifier, else return 0. */
 
 /**/
-int
+mod_export int
 isident(char *s)
 {
     char *ss;

-- 
Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR Ltd., Science Park, Milton Road,
Cambridge, CB4 0WH, UK                          Tel: +44 (0)1223 692070


**********************************************************************
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.com
**********************************************************************



Messages sorted by: Reverse Date, Date, Thread, Author