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

ZSH 4.3.6 fails to compile (module.c: 1453) on AIX 5300-08-01 (AIX 5.3 TL 8), ZSH 4.2.7 compiles



Hi. I'm trying to build zsh 4.3.6 on AIX 5300-08-01 using gcc 4.2.4
and Autoconf 2.61. Configure works fine, but the build fails after
some time with:

        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o
linklist.o linklist.c
        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o
loop.o loop.c
        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o
math.o math.c
        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o
mem.o mem.c
        gcc -c -I.  -DHAVE_CONFIG_H -Wall -Wmissing-prototypes -O2  -o
module.o module.c
module.c: In function 'load_and_bind':
module.c:1453: warning: assignment from incompatible pointer type
module.c:1454: error: 'struct module' has no member named 'flags'
module.c:1455: error: 'struct module' has no member named 'flags'
make: 1254-004 The error code from the last command is 1.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.
make: 1254-004 The error code from the last command is 2.


Stop.


That line in module.c looks like:

 if (!(m->flags & MOD_ALIAS) && m->u.handle && !(m->flags &
         MOD_LINKED)) err |= loadbind(0, m->u.handle, ret);



Like I've said, I'm happily running ZSH 4.2.7 so this is probably some
newly introduced issue.

-- 
Criveti Mihai
http://unixsadm.blogspot.com



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