----- Original Message ----- From: "Esben Laursen" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 12, 2003 1:08 PM Subject: Re: Kernel compile error with make-kpkg
----- Original Message ----- From: "Chris Metzler" <[EMAIL PROTECTED]> To: "Esben Laursen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Saturday, July 12, 2003 12:43 AM Subject: Re: Kernel compile error with make-kpkg > On Fri, 11 Jul 2003 23:50:06 +0200 > "Esben Laursen" <[EMAIL PROTECTED]> wrote: > > > > When I try to compile a 2.4.21 kernel with Debians make-kpkg tool, I get > > this error no matter what I try!! The command im useing is: make-kpkg > > --append_to_version -test kernel-image > > > > I think it's when the package is being build there is an error, or am I > > wrong? > > > > Here is the error I get: > > > > cd /usr/src/linux/debian/tmp-image/lib/modules/2.4.21-test; \ > > mkdir -p pcmcia; \ > > find kernel -path '*/pcmcia/*' -name '*.o' | xargs -i -r ln -sf ../{} > > pcmcia if [ -r System.map ]; then /sbin/depmod -ae -F System.map -b > > /usr/src/linux/debian/tmp-image -r 2.4.21-test; fi depmod: *** > > Unresolved symbols in > > /usr/src/linux/debian/tmp-image/lib/modules/2.4.21-test/kernel/drivers/ > > media/radio/miropcm20.o depmod: aci_rw_cmd_Rsmp_cc7c4cd8 > > depmod: aci_port_Rsmp_0d82adb6 > > depmod: aci_version_Rsmp_93350c87 > > depmod: *** Unresolved symbols in > > /usr/src/linux/debian/tmp-image/lib/modules/2.4.21-test/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.21' > > make[1]: *** [real_stamp_image] Error 2 > > make[1]: Leaving directory `/usr/src/linux-2.4.21' > > > > Can anyone help me with what's wrong?? > > You need to provide more information than you've given. Specifically, > what version of gcc did you use (the output of linux/scripts/ver_linux > would provide lots of info, but the gcc version you're using is probably > enough). Also, and especially, what architecture are you on, and did > you specify that architecture in your kernel config? > > -c > > -- > Chris Metzler [EMAIL PROTECTED] > >Here is the output from a gcc -v >Reading specs from /usr/lib/gcc-lib/i386-linux/2.95.4/specs >gcc version 2.95.4 20011002 (Debian prerelease) > >Im trying to compile a kernel with support for the PII CPU, and my kernel >now is a standart >Debain kernel-image-2.4.18-bf2.4 with the 386 >architecture. >Im also importing the /boot/config-2.4.18-bf2.4 from the "make menuconfig" >so that I get all the >things I need and only have to change a few things >like the architecture. >I've attached the /usr/src/linux/scripts/var_linux file so you can see it. Isn't the correct syntax something like: make-kpkg --append-to-version=.something kernel_image (note the = and .)? -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]