Gentoo Archives: gentoo-amd64

From: Francesco Talamona <ti.liame@×××××.it>
To: gentoo-amd64@l.g.o
Subject: [gentoo-amd64] Re: Can't build kernel
Date: Sun, 20 May 2007 05:07:10
Message-Id: 200705200705.16018.ti.liame@email.it
In Reply to: Re: [gentoo-amd64] Re: Can't build kernel by "Hemmann
1 On Sunday 20 May 2007, Hemmann, Volker Armin wrote:
2 > On Samstag, 19. Mai 2007, Francesco Talamona wrote:
3 > > On Saturday 19 May 2007, Hemmann, Volker Armin wrote:
4 > > > On Samstag, 19. Mai 2007, Peter Hoff wrote:
5 > > > > I haven't been able to build 2.6.21. I was hoping it was maybe
6 > > > > just a "-0" release problem, but I'm getting the same error
7 > > > > with -r1. Here it is:
8 > > > >
9 > > > > drivers/built-in.o: In function `acpi_bus_generate_event':
10 > > > > (.text+0x4325d): undefined reference to `event_is_open'
11 > > > > drivers/built-in.o: In function `acpi_bus_get_power':
12 > > > > (.text+0x43515): undefined reference to
13 > > > > `acpi_power_get_inferred_state' drivers/built-in.o: In function
14 > > > > `acpi_bus_set_power':
15 > > > > (.text+0x4362b): undefined reference to `acpi_power_transition'
16 > > > > drivers/built-in.o: In function `acpi_bus_set_power':
17 > > > > (.text+0x4369d): undefined reference to `acpi_power_transition'
18 > > > > make: *** [.tmp_vmlinux1] Error 1
19 > > >
20 > > > did you use genkernel?
21 > > > If yes. Don't.
22 > >
23 > > Why not? I used it, and works as usual...
24 >
25 > because there is no good reason to use it? Besides the horrible
26 > kernels I have seen built by that 'tool'?
27
28 I think it's very convenient, I use it from within another script that
29 mounts /boot, takes the current config, issues make oldconfig, calls
30 genkernel, and in the end it rebuilds those packages that would break.
31 It also add a bunch of lines in /etc/lilo.conf, call "lilo -v" and
32 reports the exit error code.
33
34 Even if I still think you assertions are quite vague (also speaking of
35 the other post, the one about nvidia drivers), I guess the point
36 is: "if you let genkernel do all the work it makes a lot of choices a
37 user would never take, so for a Linux user it's better to know what
38 kind of hardware is handling than rely blindly on a script".
39
40 In this case I fully agree, having spent a couple of hours the first
41 time(s) I configured the 2.6 kernel.
42
43 Ciao
44 Francesco
45
46 --
47 Linux Version 2.6.21-gentoo-r1, Compiled #1 PREEMPT Sat May 19 22:07:17
48 CEST 2007
49 One 2.2GHz AMD Athlon 64 Processor, 2GB RAM, 4408.87 Bogomips Total
50 aemaeth
51 --
52 gentoo-amd64@g.o mailing list