LinuxQuestions.org
Register a domain and help support LQ
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 11-16-2013, 03:50 PM   #1
dracolich
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, 04:03 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 16,511
Blog Entries: 2

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

Rep: Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558Reputation: 558
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, 04:10 PM   #4
number22
Member
 
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 229
Blog Entries: 2

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, 12:27 PM   #5
dracolich
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, 0 views)
 
Old 11-18-2013, 09:47 AM   #6
dracolich
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.
 
  


Reply


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


All times are GMT -5. The time now is 05:35 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration