Linux mips kernel compilation error [on hold]


HOME ยป Unix

I am student computer science of beginners level, for my university project I am trying to cross compile linux mips kernel on virtual machine. I got some error during compilation but unfortunately I can't find any useful links on that error tag. Please check this error screen short in attachment. I am using amd64, x64_32 architecture Ubuntu vm on azure and compiling latest edition linux mips kernel version 4.0.

 enor@enor:~/linux$ ARCH=mips CROSS_COMPILE=mips-linux-gnu-
make all
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  WRAP    arch/mips/include/generated/asm/cputime.h
  WRAP    arch/mips/include/generated/asm/current.h
  WRAP    arch/mips/include/generated/asm/dma-contiguous.h
  WRAP    arch/mips/include/generated/asm/emergency-restart.h
  WRAP    arch/mips/include/generated/asm/irq_work.h
  WRAP    arch/mips/include/generated/asm/local64.h
  WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
  WRAP    arch/mips/include/generated/asm/mm-arch-hooks.h
  WRAP    arch/mips/include/generated/asm/mutex.h
  WRAP    arch/mips/include/generated/asm/parport.h
  WRAP    arch/mips/include/generated/asm/percpu.h
  WRAP    arch/mips/include/generated/asm/preempt.h
  WRAP    arch/mips/include/generated/asm/sections.h
  WRAP    arch/mips/include/generated/asm/segment.h
  WRAP    arch/mips/include/generated/asm/serial.h
  WRAP    arch/mips/include/generated/asm/trace_clock.h
  WRAP    arch/mips/include/generated/asm/user.h
  WRAP    arch/mips/include/generated/asm/word-at-a-time.h
  WRAP    arch/mips/include/generated/asm/xor.h
  WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/basic/bin2c
  CC      kernel/bounds.s
  CHK     include/generated/bounds.h
  UPD     include/generated/bounds.h
  CHK     include/generated/timeconst.h
/bin/sh: 1: bc: not found
Kbuild:66: recipe for target 'include/generated/timeconst.h' failed
make[1]: *** [include/generated/timeconst.h] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

Also I have tried on linux kernel- mti [https://github.com/MIPS/kernel-linux-mti][1]

 enor@enor:~/linux-mti$ ARCH=mips
CROSS_COMPILE=mips-linux-gnu- make all
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
/bin/sh: 1: bc: not found
Kbuild:66: recipe for target 'include/generated/timeconst.h' failed
make[1]: *** [include/generated/timeconst.h] Error 127
Makefile:984: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
enor@enor:~/linux-mti$ 

Related to : Linux mips kernel compilation error [on hold]
[other] Kernel compilation error
Unix
Okay, I'm trying to compile the new 2.6.29 kernel for my servers but whenever I run
Code:
cp /boot/config-$(uname -r) .config && yes "" | make oldconfig
I get the following error:
Code:
orcaria:/usr/src/linux# cp /boot/config-$(uname -r) .config && yes "" | make oldconfig
  HOSTCC  scripts/basic/fixdep
/bin/sh: scripts/basic/fixdep: Permission denied
make[1]: *** [scripts/basic/fixdep] Er
Kernel compilation error, 2.6.30-rc3
Unix
I'm trying to compile myown 2.6.30-rc3 kernel to shave off stuff I don't need, make it preemptible and 1000hz (just for the heck of it), and enable intel kernel mode-setting by default. Upon compiling, however, I get the following error and the process stops.
Code:
drivers/built-in.o: In function `intel_opregion_init':
(.text+0xaefaa): undefined reference to `acpi_video_register'
make[1]: *** [.tmp_vmlinux1] Error 1
make[1]: Leaving directory `/usr/src/linux-2.6.29'
make: *** [debian/stamp/build/kernel] Error 2
acpi_video_register is defined in d
[ubuntu] Kernel compilation error
Unix
Hi,
I tried to compile an kernel. version no.2.6.29. When i unzip that tar ball i am the following error.i dont know why i am getting like this.
Code:
linux-2.6.29/drivers/block/swim3.c
linux-2.6.29/drivers/block/sx8.c
linux-2.6.29/drivers/block/ub.c
tar: Skipping to next header
gzip: stdin: invalid compressed data--format violated
tar: Child returned status 1
tar: Error exit delayed from previous errors
sharief@sharief-desktop:~/Desktop/kernelroot$
This is the error message i am getting..why it is like
Kernel compilation error !! $ !!
Unix
Hi,
I have been trying to compile a custom kernel for Ubuntu 10.04.2 LTS. I am trying to compile Kernel v2.6.39 but I keep getting the same error.
Error is this.
Quote:
dpkg-gencontrol: error: package linux-image-2.6.39-custom not in control info
make[2]: *** [debian/stamp/binary/linux-image-2.6.39-custom] Error 255
make[2]: Leaving directory `/usr/src/linux-2.6.39'
make[1]: *** [debian/stamp/binary/pre-linux-image-2.6.39-custom] Error 2
make[1]: Leaving directory `/usr/src/linux-2.6.39'
make: *** [kernel_ima
Usb to Ethernet driver compilation on linux kernel 3.0 and above
Unix

I cross compiled USB to Ethernet driver in the kernel source tree at drivers/net/usb/smsc75xx.c for android kernel 3.0.8. Cross compilation worked fine as well as inserting the kernel module using insmod. But the ethernet interface does not show up nor Dmesg detects module's insertion (using insmod) or removal (using rmmod). Since Dmesg is silent about its insertion or removal, something seems not right?

How to debug this non-working driver in a non-verbose environment?


Linux mips kernel compilation error [on hold]
Unix

I am student computer science of beginners level, for my university project I am trying to cross compile linux mips kernel on virtual machine. I got some error during compilation but unfortunately I can't find any useful links on that error tag. Please check this error screen short in attachment. I am using amd64, x64_32 architecture Ubuntu vm on azure and compiling latest edition linux mips kernel version 4.0.

 enor@enor:~/linux$ ARCH=mips CROSS_COMPILE=mips-linux-gnu-
make all
scripts/kconfig/conf  --silentoldconfig Kconfig
  CHK     include/config/kernel.release
  UPD     include/config/kernel.release
  WRAP    arch/mips/include/generated/asm/cputime.h
  WRAP    arch/mips/include/generated/asm/current.h
  WRAP    arch/mips/include/generated/asm/dma-contiguous.h
  WRAP    arch/mips/include/generated/asm/emergency-restart.h
  WRAP    arch/mips/include/generated/asm/irq_work.h
  WRAP    arch/mips/include/generated/asm/local64.h
  WRAP    arch/mips/include/generated/asm/mcs_spinlock.h
  WRAP    arch/mips/include/generated/asm/mm-arch-hooks.h
  WRAP    arch/mips/include/generated/asm/mutex.h
  WRAP    arch/mips/include/generated/asm/parport.h
  WRAP    arch/mips/include/generated/asm/percpu.h
  WRAP    arch/mips/include/generated/asm/preempt.h
  WRAP    arch/mips/include/generated/asm/sections.h
  WRAP    arch/mips/include/generated/asm/segment.h
  WRAP    arch/mips/include/generated/asm/serial.h
  WRAP    arch/mips/include/generated/asm/trace_clock.h
  WRAP    arch/mips/include/generated/asm/user.h
  WRAP    arch/mips/include/generated/asm/word-at-a-time.h
  WRAP    arch/mips/include/generated/asm/xor.h
  WRAP    arch/mips/include/generated/uapi/asm/ipcbuf.h
  CHK     include/generated/uapi/linux/version.h
  UPD     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  UPD     include/generated/utsrelease.h
  HOSTCC  scripts/basic/bin2c
  CC      kernel/bounds.s
  CHK     include/generated/bounds.h
  UPD     include/generated/bounds.h
  CHK     include/generated/timeconst.h
/bin/sh: 1: bc: not found
Kbuild:66: recipe for target 'include/generated/timeconst.h' failed
make[1]: *** [include/generated/timeconst.h] Error 127
Makefile:986: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2

Also I have tried on linux kernel- mti [https://github.com/MIPS/kernel-linux-mti][1]

 enor@enor:~/linux-mti$ ARCH=mips
CROSS_COMPILE=mips-linux-gnu- make all
  CHK     include/config/kernel.release
  CHK     include/generated/uapi/linux/version.h
  CHK     include/generated/utsrelease.h
  CHK     include/generated/bounds.h
  CHK     include/generated/timeconst.h
/bin/sh: 1: bc: not found
Kbuild:66: recipe for target 'include/generated/timeconst.h' failed
make[1]: *** [include/generated/timeconst.h] Error 127
Makefile:984: recipe for target 'prepare0' failed
make: *** [prepare0] Error 2
enor@enor:~/linux-mti$ 


Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2017 © bighow.org All Rights Reserved .