[Clfs-support] unzip compile issue

Koornstra, Reinoud koornstra at hp.com
Mon Apr 13 13:07:07 PDT 2009


Hi,

I wished to build unzip as described here:

http://cblfs.cross-lfs.org/index.php/Unzip

I applied the patch: patch -Np1 -i ../unzip-5.50-alt-iconv-v1.1.patch
patching file unix/unix.c
Hunk #1 succeeded at 30 (offset 1 line).
Hunk #2 succeeded at 1669 (offset 142 lines).
patching file unix/unxcfg.h
Hunk #1 succeeded at 141 (offset 18 lines).
patching file unzip.c
Hunk #1 succeeded at 309 (offset 5 lines).
Hunk #2 succeeded at 609 (offset 10 lines).
Hunk #3 succeeded at 617 (offset 10 lines).
Hunk #4 succeeded at 690 (offset 12 lines).
Hunk #5 succeeded at 1115 (offset 19 lines).
Hunk #6 succeeded at 1283 (offset 19 lines).
Hunk #7 succeeded at 1387 (offset 28 lines).
patching file unzpriv.h
Hunk #1 succeeded at 1193 (offset 90 lines).
Hunk #2 succeeded at 2565 (offset 139 lines).
patching file zipinfo.c
Hunk #1 succeeded at 447 (offset 7 lines).
Hunk #2 succeeded at 495 (offset 7 lines).
Hunk #3 succeeded at 544 (offset 7 lines).

Upon compiling I get this message: (for non multilib)

NOTE:  use linux_noasm target for non-Intel Linux compiles.
make unzips CC=gcc LD=gcc AS=gcc\
         CF="-O3 -Wall -I. -DASM_CRC -D_FILE_OFFSET_BITS=64"\
         AF="-Di386 -D_FILE_OFFSET_BITS=64" CRC32=crc_gcc
make[1]: Entering directory `/sources/cblfs/unzip-5.52'
gcc -c -O3 -Wall -I. -DASM_CRC -D_FILE_OFFSET_BITS=64 unzip.c
gcc -Di386 -D_FILE_OFFSET_BITS=64 -x assembler-with-cpp -c -o crc_gcc.o crc_i386.S
crc_i386.S: Assembler messages:
crc_i386.S:146: Error: suffix or operands invalid for `push'
crc_i386.S:147: Error: suffix or operands invalid for `push'
crc_i386.S:148: Error: suffix or operands invalid for `push'
crc_i386.S:149: Error: suffix or operands invalid for `push'
crc_i386.S:150: Error: suffix or operands invalid for `push'
crc_i386.S:151: Error: suffix or operands invalid for `push'
crc_i386.S:228: Error: suffix or operands invalid for `pop'
crc_i386.S:229: Error: suffix or operands invalid for `pop'
crc_i386.S:230: Error: suffix or operands invalid for `pop'
crc_i386.S:231: Error: suffix or operands invalid for `pop'
crc_i386.S:232: Error: suffix or operands invalid for `pop'
crc_i386.S:233: Error: suffix or operands invalid for `pop'
make[1]: *** [crc_gcc.o] Error 1
make[1]: Leaving directory `/sources/cblfs/unzip-5.52'
make: *** [linux] Error 2

Any hints how to resolve this?
Kind Regards,

Reinoud.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.clfs.org/pipermail/clfs-support-clfs.org/attachments/20090413/8b682e87/attachment.html>


More information about the Clfs-support mailing list