LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Kernel Compile and Slackware64 (https://www.linuxquestions.org/questions/slackware-14/kernel-compile-and-slackware64-728728/)

forum1793 05-26-2009 08:48 PM

Kernel Compile and Slackware64
 
First, do you have to do anything special to make a custom 64 bit kernel.

I made one but used ARCH=x86_64 (make ARCH=x86_64 oldconfig...) and this worked but I'm not sure it's needed or proper.

Second, in both 32 and 64-current, make xconfig doesn't work. There might be some qt error.

disturbed1 05-26-2009 09:24 PM

Quote:

Originally Posted by forum1793 (Post 3553802)
Second, in both 32 and 64-current, make xconfig doesn't work. There might be some qt error.

make xconfig still uses qt-3 libs. extra/kde3-compat is what you need.

niels.horn 05-26-2009 09:49 PM

I have already compiled some kernels in Slackware64 without problems (running my own custom kernel as I write).

I never fancied make xconfig, just used "make menuconfig".

forum1793 05-27-2009 07:36 PM

Disturbed: thanks, I'll try this weekend.
Niels: I did menuconfig. That's how it worked.

Is the ARCH=x86-64 required?

niels.horn 05-27-2009 08:04 PM

Quote:

Originally Posted by forum1793 (Post 3554867)
Is the ARCH=x86-64 required?

I never used it, so I guess it is not required :)

grissiom 05-27-2009 08:04 PM

No ARCH=x86-64 is required. The configure will chose proper default settings automatically.(You may need to tune up other configurations, but at least the architecture is correct)

For "make xconfig", after install the qt3 package from extra/kde3-compat, run "QTDIR=/opt/kde3/lib64/qt3 make xconfig". The lovely window will show up~;) No need to specify QTDIR next time you rum "make xconfig" unless you have run "make mrproper"(this will clean out everything just like "make distclean" in normal package)

Good Luck~

H_TeXMeX_H 05-28-2009 07:16 AM

Quote:

Originally Posted by forum1793 (Post 3554867)
Disturbed: thanks, I'll try this weekend.
Niels: I did menuconfig. That's how it worked.

Is the ARCH=x86-64 required?

No it is not, I've never used it and it works fine without it. Just make sure to take all steps needed to compile the kernel.

forum1793 05-28-2009 03:25 PM

Is the ARCH=X86_64 used then to build 64 bit kernel from a 32 bit system?

forum1793 05-30-2009 07:27 AM

Quote:

Originally Posted by disturbed1 (Post 3553817)
make xconfig still uses qt-3 libs. extra/kde3-compat is what you need.

Yep, that did it. Thanks


All times are GMT -5. The time now is 04:38 AM.