Ubuntu 8.10 RC and NVIDIA 96.43.05
adam
jiang.adam at gmail.com
Fri Oct 24 17:20:13 UTC 2008
Then copy the file to /usr/include/linux/ and try again.
Or, if you can assign the KERNEL_DIR to Makefile of your module,
point it to /usr/src/linux-headers-2.6.27-7/.
On Fri, Oct 24, 2008 at 08:05:41PM +0300, Nicolae Ghimbovschi wrote:
> # find /usr/src | grep semaphore
> /usr/src/linux-headers-2.6.27-7/include/linux/semaphore.h
> /usr/src/linux-headers-2.6.27-7-generic/include/linux/semaphore.h
>
>
> On Fri, Oct 24, 2008 at 19:59, adam <jiang.adam at gmail.com> wrote:
> > Okay, I see.
> > Please try,
> > % find /usr/src | grep semaphore
> >
> > If nothing is there, you'd better install the kernel source.
> > It is about 65M. Get it by following lines:
> > % sudo apt-get build-dep linux-image-$(uname -r)
> > % apt-get source linux-image-$(uname -r)
> >
> > See also:
> > https://help.ubuntu.com/community/Kernel/Compile
> >
> > You should have to compile the source to make sure have it configred right.
> > % AUTOBUILD=1 fakeroot debian/rules binary-debs
> > And then copy $(KERNEL_SRC)/linux/include directory to /usr/include/,
> > and link asm-i386 to asm.
> >
> > On Fri, Oct 24, 2008 at 07:43:29PM +0300, Nicolae Ghimbovschi wrote:
> >> I checked the linux-headers package for the current kernel version, it
> >> is installed.
> >>
> >> root at saturn:~# apt-get install linux-headers-`uname -r`
> >> Reading package lists... Done
> >> Building dependency tree
> >> Reading state information... Done
> >> linux-headers-2.6.27-7-generic is already the newest version.
> >> 0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
> >>
> >> On Fri, Oct 24, 2008 at 19:32, adam <jiang.adam at gmail.com> wrote:
> >> > You need the kernel headers.
> >> > Obviously, asm/xxx.h is missing in your side.
> >> > Please do it following Mario's instructions.
> >> >
> >> > On Fri, Oct 24, 2008 at 06:22:57PM +0200, Mario Guenterberg wrote:
> >> >> On Fri, Oct 24, 2008 at 07:16:33PM +0300, Nicolae Ghimbovschi wrote:
> >> >> > Hello,
> >> >> >
> >> >> > Today I installed Ubuntu 8.10 RC.
> >> >> > Everything looks gorges.
> >> >> >
> >> >> > The kernel version is 2.6.27-7-generic.
> >> >> >
> >> >> > Linux saturn 2.6.27-7-generic #1 SMP Fri Oct 24 06:42:44 UTC 2008 i686 GNU/Linux
> >> >> >
> >> >> > But the nvidia driver failed to build using the source from the ubuntu
> >> >> > repositories.
> >> >> > I have nvidia GeForce2 MX/MX 400.
> >> >> >
> >> >> > I have installed:
> >> >> > nvidia-96-kernel-source
> >> >> > nvidia-96-modaliases
> >> >> > nvidia-glx-96
> >> >> > nvidia-glx-96-dev
> >> >> > nvidia-kernel-common
> >> >> > nvidia-settings
> >> >> >
> >> >> > When I was installing them, the following error ocurred:
> >> >> > ...
> >> >> > Setting up nvidia-96-kernel-source (96.43.05-0ubuntu10) ...
> >> >> > Removing all DKMS Modules
> >> >> > Done.
> >> >> > Adding Module to DKMS build system
> >> >> > driver version= 96.43.05
> >> >> > Doing initial module build
> >> >> >
> >> >> > Error! Bad return status for module build on kernel: 2.6.27-7-generic (i686)
> >> >> > Consult the make.log in the build directory
> >> >> > /var/lib/dkms/nvidia/96.43.05/build/ for more information.
> >> >> > Installing initial module
> >> >> >
> >> >> > I have attached make.log to this email.
> >> >> >
> >> >> > Is this ok ?
> >> >> See the view lines with the ERROR in your make.log!
> >> >> You must install linux-headers-$(uname -r)!
> >> >>
> >> >> Greetings
> >> >> Mario
> >> >>
> >> >> --
> >> >> -----BEGIN GEEK CODE BLOCK-----
> >> >> Version: 3.12
> >> >> GCS/CM d- s++: a+ C++++>$ UBL*++++$ P++ L+++ E--- W+++ N+ o-- K- w O- M-
> >> >> V-- PS++ PE++ Y PGP+++ t--- 5 X++++ R++ tv- b+++ DI D++++ G++ e* h----
> >> >> r+++ y++++
> >> >> ------END GEEK CODE BLOCK------
> >> >
> >> >
> >> >
> >> >> --
> >> >> ubuntu-users mailing list
> >> >> ubuntu-users at lists.ubuntu.com
> >> >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >> >
> >> >
> >> > --
> >> > ubuntu-users mailing list
> >> > ubuntu-users at lists.ubuntu.com
> >> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >> >
> >>
> >> --
> >> ubuntu-users mailing list
> >> ubuntu-users at lists.ubuntu.com
> >> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
> > --
> > ubuntu-users mailing list
> > ubuntu-users at lists.ubuntu.com
> > Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
> >
>
> --
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
> Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
More information about the ubuntu-users
mailing list