SUGGEST: Patch for compiling unzip using hardened CFLAGS

Jaap Struyk japie at deserver.nl
Mon Oct 10 10:26:50 PDT 2005


Op ma 10-10-2005, om 15:48 schreef Aki Tuomi:

> Attached, patch for compiling unzip under HLFS. Removes compilation of ASM
> components and uses proper CFLAGS.

When trying I got the following:

gcc -o unzip unzip.o crc32.o crctab.o crypt.o envargs.o explode.o extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o unreduce.o unshrink.o zipinfo.o unix.o -s
extract.o: In function `memextract':
extract.c:(.text+0x7b9): undefined reference to `crc32'
extract.o: In function `.L109':
extract.c:(.text+0x19b3): undefined reference to `crc32'
fileio.o: In function `flush':
fileio.c:(.text+0x950): undefined reference to `crc32'
fileio.o: In function `.L132':
fileio.c:(.text+0xf90): undefined reference to `crc32'
collect2: ld returned 1 exit status
make[1]: *** [unzip] Error 1
make[1]: Leaving directory `/root/unzip-5.52'
make: *** [linux_shlibz] Error 2
-- 
Groetjes Japie




More information about the hlfs-dev mailing list