Gentoo Archives: gentoo-user

From: Jacques Montier <jmontier@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Nvidia-drivers does not compile anymore
Date: Sat, 30 Apr 2016 12:01:30
Message-Id: CAHVEG0BVQvym0FPTkcAT2NA_k0+kFfELtnorFtrjoDdDh2463g@mail.gmail.com
In Reply to: Re: [gentoo-user] Nvidia-drivers does not compile anymore by Alan McKinnon
1 2016-04-30 12:55 GMT+02:00 Alan McKinnon <alan.mckinnon@×××××.com>:
2
3 > On 30/04/2016 12:52, Jacques Montier wrote:
4 > > Hello all,
5 > >
6 > > I need nvidia-drivers-340.76 for my Nvidia GeForce GT240 graphic card.
7 > > I use nvidia-drivers-340.76 from a local overlay with the
8 > > nvidia-drivers-340-76-kernel-4.0.patch which works fine with
9 > > gentoo-sources-4.1.15-r1.
10 > > I would like to upgrade to the 4.4.6 kernel.
11 > > Unfortunately, nvidia-drivers-340.76 does not compile anymore.
12 > > I get the errors :
13 > >
14 > > 3410:make[3]: ***
15 > >
16 > [/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
17 > > Error 1
18 > > 3651:make[2]: ***
19 > > [_module_/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel]
20 > > Error 2
21 > > 3654:make[1]: *** [sub-make] Error 2
22 > > 3659:make: *** [nvidia.ko] Error 1
23 > >
24 > > Any idea ? New patch ?
25 > >
26 > > Thanks a lot,
27 > >
28 > > Regards,
29 > >
30 > > /--/
31 > > /Jacques/
32 >
33 >
34 > The real error is higher up in the output. Please post it.
35 >
36 > --
37 > Alan McKinnon
38 > alan.mckinnon@×××××.com
39 >
40 >
41 >
42 Ok Alan,
43 here are some lines up the first error.
44 You can get the complete log in the attached file
45 x11-drivers:nvidia-drivers-340.76:20160430-104727.log
46
47
48 ......................
49 ^[[01;32m^[[K ^^[[m^[[K
50 ^[[01m^[[K/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.c:556:1:^[[m^[[K
51 ^[[01;35m^[[Kwarning: ^[[m^[[Kcontrol reaches end of non-void function
52 [-Wreturn-type]
53 }
54 ^[[01;32m^[[K ^^[[m^[[K
55 ^[[01m^[[K/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.c:^[[m^[[K
56 In function ‘^[[01m^[[Knv_procfs_read_registry^[[m^[[K’:
57 ^[[01m^[[K/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.c:360:1:^[[m^[[K
58 ^[[01;35m^[[Kwarning: ^[[m^[[Kcontrol reaches end of non-void function
59 [-Wreturn-type]
60 }
61 ^[[01;32m^[[K ^^[[m^[[K
62 /usr/src/linux-4.4.6-gentoo/scripts/Makefile.build:258: recipe for target
63 '/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o'
64 failed
65 make[3]: ***
66 [/var/tmp/portage/x11-drivers/nvidia-drivers-340.76/work/kernel/nv-procfs.o]
67 Error 1
68 .................
69
70
71 Regards,
72
73 *--*
74 *Jacques*

Attachments

File name MIME type
x11-drivers:nvidia-drivers-340.76:20160430-104727.log text/x-log

Replies

Subject Author
Re: [gentoo-user] Nvidia-drivers does not compile anymore Neil Bothwick <neil@××××××××××.uk>