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

Compile error if DYNAMIC_NAME_CLASH_OK not set



I tried to compile the latest sources on cygwin and got this error:

/usr/local/src/zsh-2007-07-16/Src/module.c: In function `module_func':
/usr/local/src/zsh-2007-07-16/Src/module.c:1747: error: structure has
no member named `nam'
/usr/local/src/zsh-2007-07-16/Src/module.c:1752: error: structure has
no member named `nam'
make[2]: *** [module.o] Error 1
make[2]: Leaving directory `/usr/local/build/zsh-2007-07-16/Src'
make[1]: *** [modobjs] Error 2
make[1]: Leaving directory `/usr/local/build/zsh-2007-07-16/Src'
make: *** [all] Error 1

Verily, there is no longer a member 'nam' in 'struct module'.  Since
my linux builds have been working all along, I guess that this is the
first time recently I've tried building on a machine where
DYNAMIC_NAME_CLASH_OK is not defined.  Peter - my guess is that your
module autoloading patch didn't take the '#undef
DYNAMIC_NAME_CLASH_OK' case into account.

Regards,
 Vin

--
The Journey by Mary Oliver
http://www.poemhunter.com/p/m/poem.asp?poet=6771&poem=30506



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