On Wed, 28 Mar 2007, Zhao Shujing wrote:
I try to rebuild hwinfo at RHEL for 64-bit. But there are some errors:
gcc -c -Wall -O2 -pipe -g -fPIC -I../../src/hd cpu.c {standard input}: Assembler messages: {standard input}:368: Error: suffix or operands invalid for `push' {standard input}:373: Error: suffix or operands invalid for `pop'
and I found the reason is:
Instructions that modify the stack (push, pop, call, ret, enter, and leave) are implicitly 64-bit.
I fix the source as the following:
--- hwinfo-8.99.old/src/hd/cpu.c 2007-03-28 10:13:42.000000000 +0800 +++ hwinfo-8.99/src/hd/cpu.c 2007-03-28 10:16:57.000000000 +0800
[...] That's really an old version. You might try the latest from openSUSE instead. The issue you mention has been addressed about 3 years ago! Steffen -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org