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 ?