Results 1 to 3 of 3
I've been having a problem lately when trying to upgrade kernels. For some reason, the compile goes fine until it gets to stage 2, then comes up with a slew ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 09-21-2005 #1Just Joined!
- Join Date
- Sep 2005
- Location
- Poughkeepsie, NY
- Posts
- 2
Problem compiling kernels and modules
I've been having a problem lately when trying to upgrade kernels. For some reason, the compile goes fine until it gets to stage 2, then comes up with a slew of undefined warnings for really essential functions (vmalloc, printk, etc.). It seems that it does this for every function call in every module.
This continues on for pages and pages. I've tried with multiple gentoo kernels, and a couple of vanilla kernels, so it's a confirmed problem with my computer. I've also tried three versions of gcc. Modules I compile outside of the kernel (http://ibm-acpi.sourceforge.net) fail with the same problems.Code:... BUILD arch/i386/boot/bzImage Root device is (3, 2) Boot sector 512 bytes. Setup is 6590 bytes. System is 1150 kB Kernel: arch/i386/boot/bzImage is ready Building modules, stage 2. MODPOST *** Warning: "vmalloc" [sound/soundcore.ko] undefined! *** Warning: "malloc_sizes" [sound/soundcore.ko] undefined! *** Warning: "class_simple_create" [sound/soundcore.ko] undefined! *** Warning: "filp_close" [sound/soundcore.ko] undefined! *** Warning: "vfree" [sound/soundcore.ko] undefined! *** Warning: "sprintf" [sound/soundcore.ko] undefined! *** Warning: "vfs_read" [sound/soundcore.ko] undefined! *** Warning: "printk" [sound/soundcore.ko] undefined! *** Warning: "class_simple_device_remove" [sound/soundcore.ko] undefined! *** Warning: "preempt_schedule" [sound/soundcore.ko] undefined! *** Warning: "kmem_cache_alloc" [sound/soundcore.ko] undefined! *** Warning: "register_chrdev" [sound/soundcore.ko] undefined! *** Warning: "wake_up_process" [sound/soundcore.ko] undefined!
Nobody I've shown understands what's going on. Does anyone have a clue what's going on, or a direction to point me in?
- 09-26-2005 #2
That's quite odd...it seems like a path issue or possible a borked ebuild. Have you tried un-merging and re-merging that kernel? What about different kernels?
"Time is an illusion. Lunchtime, doubly so."
~Douglas Adams, The Hitchhiker's Guide to the Galaxy
- 09-26-2005 #3Just Joined!
- Join Date
- Sep 2005
- Location
- Poughkeepsie, NY
- Posts
- 2
The symlink is fine. The fact that compiling modules outside of the kernel (like ibm-acpi) has the same problem would make me think that the compiler isn't including or linking something right, but I get no errors to help me figure that out.I've tried with multiple gentoo kernels, and a couple of vanilla kernels.


Reply With Quote
