LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 02-08-2024, 10:58 PM   #1
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,731

Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
Kernel 6.6.16 compile error


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.

Last edited by Daedra; 02-08-2024 at 11:57 PM.
 
Old 02-09-2024, 08:31 AM   #2
marav
LQ Sage
 
Registered: Sep 2018
Location: Gironde
Distribution: Slackware
Posts: 5,448

Rep: Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208Reputation: 4208
Is your /tmp full ?

Anyway, I suggest you to place the k/ directory elsewhere than in /tmp

Last edited by marav; 02-09-2024 at 08:41 AM.
 
1 members found this post helpful.
Old 02-09-2024, 10:34 AM   #3
someusername
LQ Newbie
 
Registered: Oct 2011
Distribution: Slackware
Posts: 10

Rep: Reputation: Disabled
Quote:
Originally Posted by Daedra View Post
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.
check your .config for this

# CONFIG_VIDEO_SOLO6X10 is not set

then the build completes for me. the build fails here, like yours, if it is build as module.
 
Old 02-09-2024, 10:49 AM   #4
Daedra
Senior Member
 
Registered: Dec 2005
Location: Springfield, MO
Distribution: Slackware64-15.0
Posts: 2,731

Original Poster
Rep: Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394Reputation: 1394
I think I got it, like marav said above, all the signs pointed to a disc space or memory issue. I increased the VM ram to 16gb and it is now compiling fine. It is still compiling but if all finishes I will mark this thread solved.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Am I obliged to compile the kernel to compile a module? abd_bela Linux - Kernel 1 08-20-2011 12:17 PM
The error compile C/C++ in linux (but it does compile on Win) hikaru1505 Programming 2 12-30-2010 09:11 AM
[Compile kernel] How to compile/install the modules ? frenchn00b Linux - General 1 09-06-2009 03:18 PM
Trying to patch kernel + compile, compile is looping. kripz Linux - Kernel 1 06-16-2009 06:51 AM
Compile madwifi, ... compile error , how can i do. ERBRMN Linux - Networking 3 03-08-2006 07:56 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration