[syslinux] memdisk troubles while compiling with gcc 4.01
H. Peter Anvin
hpa at zytor.com
Fri Jul 22 07:07:05 PDT 2005
Velu Erwan wrote:
> inflate.c:1001: error: static declaration of 'crc_32_tab' follows
> non-static declaration
> unzip.c:73: error: previous declaration of 'crc_32_tab' was here
>
>
> Sounds like gcc didn't like the extern in one side and static in the
> other side.
>
> What do you recommend for fixing this ?
>
Add "static" to the declaration in unzip.c, line 73.
gcc 4 seems to like to throw errors for things where warnings would do
just fine. Sigh.
-hpa
More information about the Syslinux
mailing list