[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Kernel compilation woes



On Sat, Feb 07, 2004 at 12:09:10PM -0600, Joel Konkle-Parker wrote:
> I'm trying to compile my own 2.4.24 kernel using the sources from 
> kernel.org and the .config from Sarge, and I'm getting some errors:
> 
> # make-kpkg kernel_image
> 
> <compiling...>
> 
> if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b 
> /usr/src/linux-2.4.
> 24/debian/tmp-image -r 2.4.24; fi
> depmod: *** Unresolved symbols in 
> /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
> ules/2.4.24/kernel/drivers/ide/ide-core.o
> depmod: 	init_cmd640_vlb
> depmod: *** Unresolved symbols in 
> /usr/src/linux-2.4.24/debian/tmp-image/lib/mod
> ules/2.4.24/kernel/drivers/net/wan/comx.o
> depmod: 	proc_get_inode
> make[2]: *** [_modinst_post] Error 1
> make[2]: Leaving directory `/usr/src/linux-2.4.24'
> make[1]: *** [real_stamp_image] Error 2
> make[1]: Leaving directory `/usr/src/linux-2.4.24'
> #
> 
> Anyone have any idea what could cause something like this?

Just went through something similar as I was building kernels
today.  You are missing some sort of dependency in the config.

For example, I pulled out a bunch of stuff like pcmcia, irda,
wireless, scsi, isdn, etc... from a kernel config today and got the
same kind of error.  I tracked it down to "sound" and once I put
oss and aci(something) back into the config, it worked fine.

So go to http://groups.google.com/ and type in:

/drivers/ide/ide-core.o    or     /drivers/net/wan/comx.o

and you will get some ideas of what you need.


-Andy



Reply to: