LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Debian (https://www.linuxquestions.org/questions/debian-26/)
-   -   Compiling Kernel (https://www.linuxquestions.org/questions/debian-26/compiling-kernel-361578/)

daniel.piper 09-08-2005 07:54 PM

Compiling Kernel
 
I am compiling kernel 2.6.11-1-386 and came accross an error that termincated the compile. I am upgrading form 2.4.27-2-386. this is not the full image since it is a couple pages in length, but just the part where it teminates.
Code:

crespec:/usr/src/linux# time make-kpkg --initrd --append-to-version=-crespec kernel_image
Please ignore the warning about overriding and ignoring targets above.
These are harmless. They are only invoked in a part of the process
that tries to snarf variable values for the conf.vars file.
echo done >  stamp-configure
test -f stamp-configure || /usr/bin/make -f /usr/share/kernel-package/rules configure
/usr/bin/make  EXTRAVERSION=-20050908-crespec  ARCH=i386 \
                    bzImage
make[1]: Entering directory `/usr/src/kernel-source-2.6.11'
  CHK    include/linux/version.h
make[2]: `arch/i386/kernel/asm-offsets.s' is up to date.
  CHK    include/linux/compile.h
  CHK    usr/initramfs_list
  CC      arch/i386/kernel/process.o
{standard input}: Assembler messages:
{standard input}:725: Error: suffix or operands invalid for `mov'
{standard input}:726: Error: suffix or operands invalid for `mov'
{standard input}:926: Error: suffix or operands invalid for `mov'
{standard input}:927: Error: suffix or operands invalid for `mov'
{standard input}:1006: Error: suffix or operands invalid for `mov'
{standard input}:1007: Error: suffix or operands invalid for `mov'
{standard input}:1090: Error: suffix or operands invalid for `mov'
{standard input}:1091: Error: suffix or operands invalid for `mov'
{standard input}:1100: Error: suffix or operands invalid for `mov'
{standard input}:1112: Error: suffix or operands invalid for `mov'
make[2]: *** [arch/i386/kernel/process.o] Error 1
make[1]: *** [arch/i386/kernel] Error 2
make[1]: Leaving directory `/usr/src/kernel-source-2.6.11'
make: *** [stamp-build] Error 2

real    0m2.657s
user    0m1.963s
sys    0m0.450s


comprookie2000 09-08-2005 08:44 PM

See if this helps;
http://www.linuxquestions.org/questi...hreadid=343910

daniel.piper 09-08-2005 10:14 PM

Thanks for the fix. I also had to install gcc-3.4, but it compiled without a hitch.


All times are GMT -5. The time now is 08:41 PM.