LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Multilib does not work after kernel update (http://www.linuxquestions.org/questions/slackware-14/multilib-does-not-work-after-kernel-update-885465/)

David93 06-09-2011 02:36 PM

Multilib does not work after kernel update
 
Hi Guys.

I have a Slackware64-Multilib 13.1 (from the Alien's wiki page) and decided to upgrade the kernel 33.4 to the 37.6 (also using the Alien's wiki page).

But now Adobe, Wine and other related packages with Multilib does not work. So I upgrade the gcc and glibc packages but the problem remains. What did I mess? Thanks for your help.

piratesmack 06-09-2011 03:04 PM

Check if 'CONFIG_IA32_EMULATION' is enabled in your kernel
Code:

zgrep CONFIG_IA32_EMULATION /proc/config.gz

David93 06-09-2011 03:19 PM

Thanks for your reply, and no, CONFIG_IA32_EMULATION is not set. It means I should enable it during the kernel configuration?

piratesmack 06-09-2011 03:43 PM

Yes, I think it's required for multilib to work.

It should be in menuconfig under Executable file formats / Emulations >> IA32 Emulation

David93 06-09-2011 04:23 PM

Thanks again. I'll reconfigure the kernel and fix that.

David93 07-13-2011 03:14 PM

Hi again piratesmack. Now I have a doubt. I was trying to install the nvidia driver using the slackbuild but as it has no option for the 32bit layer now I'm trying to install the driver usign the nvidia-intaller. But the installation fails because it can not determine the version of the kernel source. The symlinks /lib/modules/uname -r/build and source are fine. So my this is my doubt: is the file /usr/src/linux/include/linux/version.h right?:

Code:

$ cat /usr/src/linux/include/linux/version.h
#define LINUX_VERSION_CODE 132645
#define KERNEL_VERSION(a,b,c) (((a) << 16) + ((b) << 8) + (c))


David93 07-13-2011 07:35 PM

I realiced there is no problem with the file version.h. My problem was to upgrate to the gcc-4.5 series while using a custom kernel compiled with the gcc-4.4 series (slap). There is no problem now and the nvidia driver installation works.


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