LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 07-10-2013, 06:54 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Rep: Reputation: 37
cannot compile nvidia-driver from slackbuilds.org on Slackware64-14.0


Hello, I am running Slackware64-14.0 with kernel-generic-3.2.45,
uname -a:
Code:
#1 SMP Fri May 31 20:05:26 CDT 2013 x86_64 Pentium(R) Dual-Core  CPU      E5200  @ 2.50GHz GenuineIntel GNU/Linux
I am trying to compile the nvidia-driver package from slackbuilds.org, but it fails with the following error message:

Code:
Creating directory NVIDIA-Linux-x86_64-319.17
Verifying archive integrity... OK
Uncompressing NVIDIA Accelerated Graphics Driver for Linux-x86_64 319.17.....................................................................................................................................................................
/tmp/SBo/NVIDIA-Linux-x86_64-319.17
   CC           backup.c
backup.c: In function 'do_backup':
backup.c:228:14: error: 'ENOENT' undeclared (first use in this function)
backup.c:228:14: note: each undeclared identifier is reported only once for each function it appears in
make: *** [_out/Linux_x86_64/backup.o] Error 1

Any ideas?

Best regards,
Martin
 
Old 07-10-2013, 08:42 AM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Pittsburgh, PA
Distribution: Slackware
Posts: 230

Rep: Reputation: 55
Do you have the 'kernel-source' installed? And is this a full slackware install or a custom package list?

Hmm... also wondering if this is a custom kernel now... the 14.0 x64 is 3.2.29 on the mirror.

Last edited by WhiteWolf1776; 07-10-2013 at 08:46 AM.
 
Old 07-10-2013, 10:44 AM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37
Quote:
Originally Posted by WhiteWolf1776 View Post
Do you have the 'kernel-source' installed? And is this a full slackware install or a custom package list?

Hmm... also wondering if this is a custom kernel now... the 14.0 x64 is 3.2.29 on the mirror.
Yes, I have the kernel-source, it is the latest upgrade to stock Slackware64-14.0. It is a full slackware install.
 
Old 07-10-2013, 11:25 AM   #4
ponce
Senior Member
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 2,495

Rep: Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912Reputation: 912
maybe you're missing the kernel-headers-3.2.45 package (containing /usr/include/linux/errno.h).
 
Old 07-10-2013, 11:33 AM   #5
tramni1980
Member
 
Registered: Jul 2006
Location: Tübingen, Germany
Distribution: Slackware64-13.37
Posts: 737

Original Poster
Rep: Reputation: 37
I had messed the kernel headers after the kernel upgrade. There was an internet interruption during the upgrade. Now I upgraded everything again, and all compiles ok.
Thank you for your reply.
 
Old 07-10-2013, 10:33 PM   #6
ReaperX7
Senior Member
 
Registered: Jul 2011
Location: California
Distribution: LFS-7.6, Slackware 14.1, FreeBSD 10.1
Posts: 3,823
Blog Entries: 15

Rep: Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184Reputation: 1184
The kernel headers aren't actually part of the kernel. They're a part of glibc.
 
  


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] Slackware64 14, problems with compiling packages from slackbuilds.org Chelyuk Slackware 33 10-05-2012 01:21 AM
[SOLVED] NVidia Card: Driver from slackbuilds.org or NVidia installer? andrew.46 Slackware 14 03-04-2012 03:28 AM
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 7 08-22-2008 10:39 PM
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 2 08-22-2008 09:26 AM


All times are GMT -5. The time now is 01:34 AM.

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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration