nV News Forums

 
 

nV News Forums (http://www.nvnews.net/vbulletin/index.php)
-   NVIDIA Linux (http://www.nvnews.net/vbulletin/forumdisplay.php?f=14)
-   -   Mandrake 10 / AMD64 / 2.6.3-16 kernel / 6111 build error (http://www.nvnews.net/vbulletin/showthread.php?t=36659)

ronathome 09-12-04 02:01 AM

Mandrake 10 / AMD64 / 2.6.3-16 kernel / 6111 build error
 
1 Attachment(s)
Mandrake 10.0 for AMD64 (Opteron 146)
kernel 2.6.3-16mdkcustom (removed rivafb module and recompiled kernel)
kernel source installed
NVidia installer - 1.0-6111

Hi folks,

I've been struggling with this for days now. I applied the patch to the Makefile.kbuild file mentioned by zander in this thread - http://www.nvnews.net/vbulletin/showthread.php?t=34772
and it got me past that "make mrproper" bug, but now it seems to fall over trying to find an included header file (syscalls.h). I know the source is complete because I've compiled a kernel and even removed that pesky rivafb module so that I don't see the warning message. Any idea what could be wrong now? See attached nvidia-installer.log file for details.

Thanks in advance,

Ron

zander 09-12-04 02:37 AM

Re: Mandrake 10 / AMD64 / 2.6.3-16 kernel / 6111 build error
 
This Mandrake kernel doesn't have linux/syscalls.h; there are two possible ways to solve this problem: 1) upgrade to a more recent Mandrake Linux/x86-64 kernel (recommended) or 2) remove the #include statement from usr/src/nv/nv-linux.h and replace (void *)sys_ioctl with NULL in usr/src/nv/os-interface.c.

ronathome 09-12-04 03:04 AM

Re: Mandrake 10 / AMD64 / 2.6.3-16 kernel / 6111 build error
 
Thanks heaps! I'm having trouble *finding* a more recent x86_64 kernel package for Mandrake, so what I'll try is your second hack first, and then when I come across a 2.6.4 or above rpm for Mandake I'll upgrade mine.

By the way, there are 3 copies of syscalls.h buried further down the src tree - I'm assuming copying one of those would NOT be a wise thing to do (or I'm sure someone would have suggested it!)

Cheers

Ron

zander 09-12-04 03:25 AM

Re: Mandrake 10 / AMD64 / 2.6.3-16 kernel / 6111 build error
 
No, these aren't good replacements. I believe other 64bit Mandrake users mentioned updated 2.6.7 kernels, but I don't recall the details.


All times are GMT -5. The time now is 07:33 AM.

Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.