> I recetly started getting this build error, which I have absoluteley > no clue what to do about: > > >[ ] > > > In file included from > /Users/ponost/src/pike-git/devel/src/post_modules/Nettle/cipher.cmod:16: > /Users/ponost/src/pike-git/devel/src/module_support.h:47:1: warning: target > does not support 'protected' visibility; using 'default' > [-Wunsupported-visibility] > PMOD_EXPORT void get_all_args(const char *fname, INT32 args, > ^ > /Users/ponost/src/pike-git/devel/src/global.h:624:42: note: expanded from > macro 'PMOD_EXPORT' > # define PMOD_EXPORT __attribute__ ((visibility("protected"))) > ^ > In file included from > /Users/ponost/src/pike-git/devel/src/post_modules/Nettle/cipher.cmod:16: > /Users/ponost/src/pike-git/devel/src/module_support.h:49:1: warning: target > does not support 'protected' visibility; using 'default' > [-Wunsupported-visibility] > PMOD_EXPORT void pike_module_export_symbol(const char *str, > ^
Nothing to worry about, but I guess we ought to have a configure-test for using the attribute. [...] > /Users/ponost/src/pike-git/devel/src/post_modules/Nettle/cipher.cmod:426:19: > error: use of undeclared identifier > 'f_Nettle_Cipher_name_fun_num' > apply_external(1, f_Nettle_Cipher_name_fun_num, args); > ^ > /Users/ponost/src/pike-git/devel/src/post_modules/Nettle/cipher.cmod:452:19: > error: use of undeclared identifier > 'f_Nettle_Cipher_block_size_fun_num' > apply_external(1, f_Nettle_Cipher_block_size_fun_num, args); > ^ [... and several similar errors ...] Looks like cipher.c may have been generated with an old precompiler. Have you run make depend? /grubba