Slackware This Forum is for the discussion of Slackware Linux.
|
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
11-16-2013, 04:50 PM
|
#1
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Rep:
|
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.
|
|
|
11-16-2013, 05:03 PM
|
#2
|
Moderator
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
|
You need a newer version of the driver to make it work with 3.10 (and newer) kernels.
|
|
|
11-16-2013, 05:04 PM
|
#3
|
Senior Member
Registered: Jul 2004
Location: Jogja, Indonesia
Distribution: Slackware-Current
Posts: 4,796
|
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.
|
11-16-2013, 05:10 PM
|
#4
|
Member
Registered: Sep 2006
Location: Earth
Distribution: Slackware 14.1 Slackware64-current multilib
Posts: 278
Rep:
|
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.
|
11-17-2013, 01:27 PM
|
#5
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Original Poster
Rep:
|
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.
|
|
|
11-18-2013, 10:47 AM
|
#6
|
Senior Member
Registered: Jul 2005
Distribution: Slackware
Posts: 1,274
Original Poster
Rep:
|
Driver 331.20 built successfully with kernel 3.12. All is well now. Thanks, guys, for the helpful tips along the way.
|
|
|
All times are GMT -5. The time now is 07:53 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|