|
From: Heiko Z. <he...@zu...> - 2011-01-25 14:58:14
|
Quoting Andrzej Odyniec <an...@ma...>: > Dears, > > Alsa is probably not too often compiled. But I sometimes use ALSA for > Asterisk. Attempt to compile alsa-utils fails: > >> init_sysdeps.c:22: error: static declaration of 'strlcpy' follows >> non-static declaration > > The explanation for this situation I found here: > > http://bugs.gentoo.org/337937 > > They wrote: >> Currently, openrc strictly assumes that glibc won't export strlcpy(). This >> means that if at some point glibc starts to supply this function, or an user >> patches his glibc to do so (yes, I know nobody is going to support >> that), the >> build is going to fail with 'static declaration of 'strlcpy' >> follows non-static >> declaration' error. >> >> In my opinion, the correct programming practice here is to use real >> guessing to >> determine whether a particular C library exports that function. > > Probably the last upgrade of glibc gave this effect. > > What do you think about this? Is there a newer version available which fixes the issue? I didn't see a fix in the bug report. -- Regards Heiko Zuerker http://www.devil-linux.org ---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program. |