LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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, 05:54 AM   #1
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Rep: Reputation: 55
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, 07:42 AM   #2
WhiteWolf1776
Member
 
Registered: Oct 2010
Location: Bowling Green, KY
Distribution: Slackware
Posts: 288

Rep: Reputation: 95
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 07:46 AM.
 
Old 07-10-2013, 09:44 AM   #3
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
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, 10:25 AM   #4
ponce
LQ Guru
 
Registered: Aug 2004
Location: Pisa, Italy
Distribution: Slackware
Posts: 7,096

Rep: Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173Reputation: 4173
maybe you're missing the kernel-headers-3.2.45 package (containing /usr/include/linux/errno.h).
 
Old 07-10-2013, 10:33 AM   #5
tramni1980
Member
 
Registered: Jul 2006
Location: Köln, Germany
Distribution: Slackware64-14.2 & -current, DragonFly BSD, OpenBSD
Posts: 819

Original Poster
Rep: Reputation: 55
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, 09:33 PM   #6
ReaperX7
LQ Guru
 
Registered: Jul 2011
Location: California
Distribution: Slackware64-15.0 Multilib
Posts: 6,558
Blog Entries: 15

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


Reply



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 12:21 AM
[SOLVED] NVidia Card: Driver from slackbuilds.org or NVidia installer? andrew.46 Slackware 14 03-04-2012 02:28 AM
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 7 08-22-2008 09:39 PM
Can't Compile SlackBuilds.org TightVNC Woodsman Slackware 2 08-22-2008 08:26 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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