[syslinux] memdisk troubles while compiling with gcc 4.01
stappers at stappers.nl
Tue Jul 26 01:53:41 PDT 2005
-----BEGIN PGP SIGNED MESSAGE-----
On Fri, Jul 22, 2005 at 10:07:05AM -0400, H. Peter Anvin wrote:
> 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
I got those errors also.
> >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.
Doing that didn't get me a clean compile. :-(
How should line 73 in memdisk/unzip.c look like?
> gcc 4 seems to like to throw errors for things where warnings would do
> just fine. Sigh.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
-----END PGP SIGNATURE-----
More information about the Syslinux