Kernel 6.6.16 compile error
by Daedra from LinuxQuestions.org on (#6JGDS)
This is not a big deal, but I was testing something today in a virtual machine and I pulled down the K source directory to build a 6.6.16 kernel and ran into this error...
Code: CC [M] drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.o
CC [M] drivers/platform/x86/toshiba_bluetooth.o
CC [M] drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.o
CC [M] drivers/platform/x86/toshiba_haps.o
AR drivers/hid/built-in.a
LD [M] drivers/hid/intel-ish-hid/intel-ishtp.o
LD [M] drivers/hid/intel-ish-hid/intel-ish-ipc.o
CC [M] drivers/platform/x86/toshiba-wmi.o
LD [M] drivers/hid/intel-ish-hid/intel-ishtp-hid.o
LD [M] drivers/hid/intel-ish-hid/intel-ishtp-loader.o
LD [M] drivers/hid/hid.o
CC [M] drivers/platform/x86/toshiba_acpi.o
LD [M] drivers/hid/hid-logitech.o
LD [M] drivers/hid/hid-picolcd.o
CC [M] drivers/platform/x86/classmate-laptop.o
LD [M] drivers/hid/hid-uclogic.o
CC [M] drivers/platform/x86/compal-laptop.o
LD [M] drivers/hid/amd-sfh-hid/amd_sfh.o
CC [M] drivers/platform/x86/lg-laptop.o
LD [M] drivers/hid/wacom.o
LD [M] drivers/hid/hid-wiimote.o
CC [M] drivers/platform/x86/panasonic-laptop.o
CC [M] drivers/platform/x86/sony-laptop.o
CC [M] drivers/platform/x86/system76_acpi.o
CC [M] drivers/platform/x86/topstar-laptop.o
CC [M] drivers/platform/x86/firmware_attributes_class.o
CC [M] drivers/platform/x86/serial-multi-instantiate.o
CC [M] drivers/platform/x86/mlx-platform.o
CC [M] drivers/platform/x86/wireless-hotkey.o
CC [M] drivers/platform/x86/intel_ips.o
CC [M] drivers/platform/x86/intel_scu_pltdrv.o
CC [M] drivers/platform/x86/intel_scu_ipcutil.o
CC [M] drivers/platform/x86/winmate-fm07-keys.o
CC [M] drivers/platform/x86/sel3350-platform.o
AR drivers/platform/x86/built-in.a
CC [M] drivers/platform/x86/x86-android-tablets/core.o
CC [M] drivers/platform/x86/siemens/simatic-ipc.o
CC [M] drivers/platform/x86/x86-android-tablets/shared-psy-info.o
CC [M] drivers/platform/x86/x86-android-tablets/dmi.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-apollolake.o
CC [M] drivers/platform/x86/x86-android-tablets/asus.o
CC [M] drivers/platform/x86/x86-android-tablets/lenovo.o
CC [M] drivers/platform/x86/x86-android-tablets/other.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-elkhartlake.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-f7188x.o
LD [M] drivers/platform/x86/x86-android-tablets/x86-android-tablets.o
AR drivers/platform/built-in.a
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[1]: *** [/tmp/package-kernel-source/usr/src/linux-6.6.16/Makefile:1913: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
mv: cannot stat '/tmp/kernel-source-6.6.16-noarch-1.txz': No such file or directory
root@current:/tmp/k#I think this is the most relevant portion. I will try testing on bare metal tomorrow, but its getting late here and I am done for the night. but if anyone has any ideas please let me know thanks.
Code: CC [M] drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_interface.o
CC [M] drivers/platform/x86/toshiba_bluetooth.o
CC [M] drivers/hid/amd-sfh-hid/sfh1_1/amd_sfh_desc.o
CC [M] drivers/platform/x86/toshiba_haps.o
AR drivers/hid/built-in.a
LD [M] drivers/hid/intel-ish-hid/intel-ishtp.o
LD [M] drivers/hid/intel-ish-hid/intel-ish-ipc.o
CC [M] drivers/platform/x86/toshiba-wmi.o
LD [M] drivers/hid/intel-ish-hid/intel-ishtp-hid.o
LD [M] drivers/hid/intel-ish-hid/intel-ishtp-loader.o
LD [M] drivers/hid/hid.o
CC [M] drivers/platform/x86/toshiba_acpi.o
LD [M] drivers/hid/hid-logitech.o
LD [M] drivers/hid/hid-picolcd.o
CC [M] drivers/platform/x86/classmate-laptop.o
LD [M] drivers/hid/hid-uclogic.o
CC [M] drivers/platform/x86/compal-laptop.o
LD [M] drivers/hid/amd-sfh-hid/amd_sfh.o
CC [M] drivers/platform/x86/lg-laptop.o
LD [M] drivers/hid/wacom.o
LD [M] drivers/hid/hid-wiimote.o
CC [M] drivers/platform/x86/panasonic-laptop.o
CC [M] drivers/platform/x86/sony-laptop.o
CC [M] drivers/platform/x86/system76_acpi.o
CC [M] drivers/platform/x86/topstar-laptop.o
CC [M] drivers/platform/x86/firmware_attributes_class.o
CC [M] drivers/platform/x86/serial-multi-instantiate.o
CC [M] drivers/platform/x86/mlx-platform.o
CC [M] drivers/platform/x86/wireless-hotkey.o
CC [M] drivers/platform/x86/intel_ips.o
CC [M] drivers/platform/x86/intel_scu_pltdrv.o
CC [M] drivers/platform/x86/intel_scu_ipcutil.o
CC [M] drivers/platform/x86/winmate-fm07-keys.o
CC [M] drivers/platform/x86/sel3350-platform.o
AR drivers/platform/x86/built-in.a
CC [M] drivers/platform/x86/x86-android-tablets/core.o
CC [M] drivers/platform/x86/siemens/simatic-ipc.o
CC [M] drivers/platform/x86/x86-android-tablets/shared-psy-info.o
CC [M] drivers/platform/x86/x86-android-tablets/dmi.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-apollolake.o
CC [M] drivers/platform/x86/x86-android-tablets/asus.o
CC [M] drivers/platform/x86/x86-android-tablets/lenovo.o
CC [M] drivers/platform/x86/x86-android-tablets/other.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-elkhartlake.o
CC [M] drivers/platform/x86/siemens/simatic-ipc-batt-f7188x.o
LD [M] drivers/platform/x86/x86-android-tablets/x86-android-tablets.o
AR drivers/platform/built-in.a
make[2]: *** [scripts/Makefile.build:480: drivers] Error 2
make[1]: *** [/tmp/package-kernel-source/usr/src/linux-6.6.16/Makefile:1913: .] Error 2
make: *** [Makefile:234: __sub-make] Error 2
mv: cannot stat '/tmp/kernel-source-6.6.16-noarch-1.txz': No such file or directory
root@current:/tmp/k#I think this is the most relevant portion. I will try testing on bare metal tomorrow, but its getting late here and I am done for the night. but if anyone has any ideas please let me know thanks.