Linux Kernel Compile 2.4.22-1.2129 (Fedora Core 1)

chorner

Member
Oct 29, 2003
134
0
0
Hi,

I'm having a problem making my custom kernel. For some reason, while making the bzImage I keep getting the following error(s):

----------------------------------------------------------------------

kernel/kernel.o(.text+0x3ef8): In function `panic_blink':
: undefined reference to `kd_mksound'
make[1]: *** [kallsyms] Error 1
make[1]: Leaving directory `/usr/src/linux-2.4.22-1.2129.nptl'
make: *** [vmlinux] Error 2

-----------------------------------------------------------------------

Can anybody help with this? Its a real pain in the arse. I'm trying to make a custom kernel so I can get digital_out on my darn SB Audigy to work. ALways such a pain in the arse with Linux (sigh).

I'll reply with the config file if it'd help!

Thanks!
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
Isn't there more above that?

I would say you either forgot to include something statically you need to or your kernel source is b0rked. You don't mention applying any custom patches so I doubt you b0rked your source.
 

chorner

Member
Oct 29, 2003
134
0
0
Sorry I don't have more, thats all I copied at the time :(

I'll check and re-check my config I guess ... lol
 

cleverhandle

Diamond Member
Dec 17, 2001
3,566
3
81
Some grepping around the source shows that the function is defined in the virtual console code. Maybe you're missing something there like PTY support. But the fact that the error is on kallsyms suggests that maybe a symbol isn't being exported that should be. As Nothinman said, some more context for the error would be helpful.
 

Ynog

Golden Member
Oct 9, 2002
1,782
1
0
I have had problems in the past getting Redhat kernels to build and I wouldn't doubt the problem extends into Fedora.


To get the kernel to build, I always had to take the clean kernel source, (type make clean if you have built)
and copy the config-(kernel version) from the /boot directory to the source directory as .config.

Then I would do make config and modify what needed to be modified inside the config file to customize.
Then I would do the make dep, clean bzImage, modules. And usually that would get it to compile with no errors.
Otherwise I would suggest grabbing the 2.4.22 source from kernel.org and building that.