Register a domain and help support LQ
Go Back > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Slackware This Forum is for the discussion of Slackware Linux.


  Search this Thread
Old 11-16-2013, 04:50 PM   #1
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Rep: Reputation: 47
compile problems after upgrading to 14.1

I have been searching for two days and haven't found an answer yet. First My 14.0 was running 3.0.69. My first attempt to upgrade from 14.0->14.1 failed on the first package because my kernel was too old. I upgraded my kernel to 3.12 then was able to upgrade slackware.
While booted with 3.12, attempting to install the nvidia driver 319.49 warns me about the kernel gcc version not matching the installed version. I thought, ok I'll just recompile and reinstall 3.12. Every attempt to compile fails quickly. I don't have the exact error messages but most refer errorno.h and string.h in several include paths. I even tried copying the generic config from 3.10.17.
Next I thought, ok I'll tackle this later and install nvidia driver with 3.10.17 for now. It fails also with errors referring to nv-drm.c, "'drm_fasync' undeclared" and "void valve not ignored".
Have I missed or forgotten something? I have been upgrading slackware versions since 9.1 and compiling my own kernels almost as long and never had this happen.
Old 11-16-2013, 05:03 PM   #2
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,014
Blog Entries: 2

Rep: Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764Reputation: 4764
You need a newer version of the driver to make it work with 3.10 (and newer) kernels.
Old 11-16-2013, 05:04 PM   #3
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 3,039

Rep: Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658Reputation: 658
You need the latest 331.20 or 325.15 in order to get with 3.12 kernel
even better, stay with Slackware 14.1's default kernel and you will be fine with older version of NVidia drivers
1 members found this post helpful.
Old 11-16-2013, 05:10 PM   #4
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 248
Blog Entries: 4

Rep: Reputation: Disabled
the culprit will likely be mismatching glibc, gcc, and kernel headers files, just speculations without seeing any Error messages.

follow my blog, and you have good working lftp, wget, mkinitrd, and lilo, you will upgrade to current.

you also need empty /lib/udev/rules.d, and upgrade new udev package.

good luck.
1 members found this post helpful.
Old 11-17-2013, 01:27 PM   #5
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Original Poster
Rep: Reputation: 47
Thank you for the replies. Sorry for not providing actual error messages. At the time, I wasn't prepared to take a screenshot or save a copy of the logs.
This morning I reinstalled the kernel-source and kernel-headers packages and was able to successfully compile the 3.12 kernel. However, both 319.49 and 325.15 drivers fail to build under the default huge-3.10.17 kernel. I didn't try yet with my new 3.12 kernel. I just downloaded the 331.20 driver and will try it when I get home from work.
Attached is the log file from attempting to install the 325.15 driver from the default huge-3.10.17 kernel.
Attached Files
File Type: log nvidia-installer.log (19.2 KB, 1 views)
Old 11-18-2013, 10:47 AM   #6
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,173

Original Poster
Rep: Reputation: 47
Driver 331.20 built successfully with kernel 3.12. All is well now. Thanks, guys, for the helpful tips along the way.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
[SOLVED] Compile whole system when upgrading with emerde? yooy Slackware 3 10-23-2013 07:57 PM
[SOLVED] unable to compile kernel after upgrading to 14.0 dracolich Slackware 4 10-23-2012 09:29 AM
Kernel compile error when upgrading IPTables Paulsuk Linux - Software 2 01-14-2006 04:56 PM
Glib compile problems after upgrading to 10.0 jrdioko Slackware 2 08-10-2005 10:07 PM
Problems upgrading to 2.6 mcgiv Debian 4 10-17-2003 02:44 AM

All times are GMT -5. The time now is 12:37 PM.

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