Re: kernel


Subject: Re: kernel
From: Roman Jasins (roma@latnet.lv)
Date: Sun Dec 02 2001 - 15:30:38 MST


Thanks D,
I followed your instruction precisely, but it still crashed on me during
'make bzImage'. Gives me the same error:

s/fs.o: In function `cpuinfo_open':
fs/fs.o(.text+0x2479a): undefined reference to `cpuinfo_op'
fs/fs.o(.text+0x2479e): undefined reference to `c
make: *** [vmlinux] Error 1

Any ideas?
Thank you,
-Roma

> From: Cdowns <cdowns@lifeatzero.com>
> Reply-To: yellowdog-general@lists.yellowdoglinux.com
> Date: Sun, 02 Dec 2001 16:07:32 -0500
> To: yellowdog-general@lists.yellowdoglinux.com
> Subject: Re: kernel
>
> Roman,
>
> out of curiostity did you do "make mrproper" ? if you dont you will be in a
> world
> of kernel pain.
>
> 1 tar zxvf kernel-2.4.10.tar.gz
> 2 make mrproper
> 3 vi Makefile ( edit ExtraVersion Line ) < ----- this will make
> /usr/lib/modules/<version you specified>
> 4 make menuconfig
> 5 make dep && make clean && make bzImage && make modules modules_install
>
> Make sure you re symlink your System map and vmlinuz in /boot
>
> well hope this help.
>
> ~>D
>
>
> Roman Jasins wrote:
>
>> Thank Aake,
>>
>> I tried what you've suggested. Still no luck. It might help if you could
>> send you '.config' file, assuming you're on iBook. By the way I'm trying to
>> build the kernel under YDL 1.2.
>>
>> THank you,
>> -Roman
>>
>> Ps. How is the weather in Sverige? It's pretty cold here in Latvia.
>>
>>> From: Åke Svensson <aakesve@algonet.se>
>>> Reply-To: yellowdog-general@lists.yellowdoglinux.com
>>> Date: Sun, 02 Dec 2001 19:25:07 +0200
>>> To: <yellowdog-general@lists.yellowdoglinux.com>
>>> Subject: Re: kernel
>>>
>>>> Dear listers,
>>>> I've been trying to build kernel 2.4 for my iBook, but failed every time I
>>>> tried.
>>>> I've built kernel before on BSD/Intel boxes, but never on Linux/PPC.
>>>>
>>>> Could somebody explain what is going on. Whether I have the wrong kernel
>>>> source or .config file.
>>>>
>>>> I rsync -avz --delete source from source.mvista.com::linuxppc_2_4
>>>> I'm duing usual:
>>>> 1. make menuconfig
>>>> 2. make dep
>>>> 3. make vmlinux
>>>>
>>>> Make vmlinux is where it's crashing. This is what it's telling me:
>>>>
>>>> s/fs.o: In function `cpuinfo_open':
>>>> fs/fs.o(.text+0x2479a): undefined reference to `cpuinfo_op'
>>>> fs/fs.o(.text+0x2479e): undefined reference to `c
>>>> make: *** [vmlinux] Error 1
>>>>
>>>>
>>>> Any help is appreciated, except I don't want to download binary kernel, I
>>>> want to build my own.
>>>>
>>>> Thank you.
>>>>
>>>>
>>> Hi Roman!
>>>
>>> At step 3 I usually just do 'make' not 'make vmlinux' (YDL 2.0). I presume
>>> you were going to do step 4 & 5 - 'make modules' and 'make modules_install'?
>>>
>>> Regards,
>>>
>>> Aake
>>>
>>>
>
>



This archive was generated by hypermail 2a24 : Sun Dec 02 2001 - 15:41:53 MST