#2900: UnZip-6.0
----------------------------------------+-----------------------------------
Reporter: ra...@… | Owner: blfs-b...@…
Type: task | Status: new
Priority: normal | Milestone: 6.5
Component: BOOK | Version: SVN
Severity: normal | Keywords:
----------------------------------------+-----------------------------------
Comment(by bdu...@…):
This does not build cleanly on a pure 64-bit LFS 6.5.
make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux
gives errors like:
{{{
crc_i386.S:208: Error: suffix or operands invalid for `push'
crc_i386.S:292: Error: suffix or operands invalid for `pop'
}}}
Using make -f unix/Makefile LOCAL_UNZIP=-D_FILE_OFFSET_BITS=64 linux_noasm
gives:
{{{
ln: creating hard link `./Makefile': File exists
...
gcc -o unzip -Lbzip2 unzip.o crc32.o crypt.o envargs.o explode.o
extract.o fileio.o globals.o inflate.o list.o match.o process.o ttyio.o
ubz2err.o unreduce.o unshrink.o zipinfo.o unix.o -s
unix.o: In function `set_symlnk_attribs':
unix.c:(.text+0x43a): warning: warning: lchmod is not implemented and will
always fail
extract.o: In function `memextract':
extract.c:(.text+0x40a): undefined reference to `crc32'
extract.o: In function `extract_or_test_member':
extract.c:(.text+0x1ce1): undefined reference to `crc32'
fileio.o: In function `flush':
fileio.c:(.text+0xd80): undefined reference to `crc32'
fileio.c:(.text+0xee0): undefined reference to `crc32'
collect2: ld returned 1 exit status
make[1]: *** [unzip] Error 1
make[1]: Leaving directory `/usr/src/unzip/unzip60'
make: *** [linux_noasm] Error 2
}}}
I haven't tried to track down a fix.
--
Ticket URL: <http://wiki.linuxfromscratch.org/blfs/ticket/2900#comment:1>
BLFS Trac <http://wiki.linuxfromscratch.org/blfs>
Beyond Linux From Scratch
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page