您的位置:首页 > 大数据 > 人工智能

Unzip 6.0 fails to compile under 64-bit systems with the instructions in the book

2014-03-08 18:04 423 查看

Unzip
6.0 fails to compile under 64-bit systems with the instructions in the book

William
Immendorf Fri, 19 Feb 2010 14:26:55
-0800

Trying the instructions in the book (with a LFS 6.6-rc1 base system),
using make -f unix/Makefile linux, on a 64bit Core 2 Duo 2.4ghz
system, I get stopped at the near beginning with these errors:


gcc -Di386   -x assembler-with-cpp -c -o crc_gcc.o crc_i386.S
crc_i386.S: Assembler messages:
crc_i386.S:203: Error: suffix or operands invalid for `push'
crc_i386.S:204: Error: suffix or operands invalid for `push'
crc_i386.S:205: Error: suffix or operands invalid for `push'
crc_i386.S:206: Error: suffix or operands invalid for `push'
crc_i386.S:207: Error: suffix or operands invalid for `push'
crc_i386.S:208: Error: suffix or operands invalid for `push'
crc_i386.S:292: Error: suffix or operands invalid for `pop'
crc_i386.S:293: Error: suffix or operands invalid for `pop'
crc_i386.S:294: Error: suffix or operands invalid for `pop'
crc_i386.S:295: Error: suffix or operands invalid for `pop'
crc_i386.S:296: Error: suffix or operands invalid for `pop'
crc_i386.S:297: Error: suffix or operands invalid for `pop'

Well, you can't assemble 32-bit code on Pure64 bit systems, as you can
see here. Replace linux with linux_noasm, and I got Unzip to compile.
So  that Unzip builds on Pure64 systems, I think you should replace
linux with linux_noasm, which will make Unzip compile under 64-bit
systems.

--
William Immendorf
The ultimate in free computing.
Messages in plain text, please, no HTML.

--------------

"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman
--
http://linuxfromscratch.org/mailman/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page


Previous
message

View
by thread

View
by date

Next
message

Unzip 6.0 fails to compile under 64-bit systems with the...William Immendorf

Re: Unzip 6.0 fails to compile
under 64-bit systems... Randy McMurchy

Re: Unzip 6.0 fails to compile
under 64-bit sys... Bruce Dubbs
Re: Unzip 6.0 fails to compile
under 64-bit sys... Dan Nicholson

Re: Unzip 6.0 fails to compile
under 64-bit... Randy McMurchy
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: