vBulletin Search Engine Optimization
| |||||||
| Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| G'day all, I've tried building kernel 2.4.21 and it all compiled dandily, until I got to issue make modules_install. I then got a plethora of undefined symbols, despite having done the whole "make clean; make mrproper" sequence and having requested module support when running xconfig. To check whether this was a problem specific to 2.4.21 I tried building a version of 2.4.18 with similar results; one example of the sort of output I get from make modules_install is: depmod: *** Unresolved symbols in /lib/modules/2.4.18test/kernel/arch/i386/kernel/cpuid.o depmod: smp_call_function_Rsmp_0014bfd1 depmod: unregister_chrdev_Rsmp_c192d491 depmod: cpu_online_map_Rsmp_c0aa8a72 depmod: printk_Rsmp_1b7d4074 depmod: register_chrdev_Rsmp_fd911478 depmod: cpu_data_Rsmp_d3b73c3cd Saying that, the kernels that get built into bzImage actually boot up correctly, but unsurprisingly module functionality is lacking. I'm probably doing something silly and I'd be much obliged if anyone can point out to me the error of my ways. Cheers, m ps. I'm compiling with gcc 3.2.2, configured with: --enable-languages=c,c++,f77,java --enable-libgcj --enable-threads=posix --with-system-zlib --enable-nls --enable-interpreter --enable-shared --enable-haifa Thread model: posix -- To reply to me replace nospam@nospam with mcal00@esc in my address |
| |||
| davide@yahoo.com wrote in message news:<bf1bdv$9vips$3@ID-18487.news.uni-berlin.de>... > Mark <nospam@nospam.cam.ac.uk> wrote: > > dandily, until I got to issue make modules_install. I then got a > > plethora of undefined symbols, > > But did you issued the "make modules" before? > > Davide Yes, I'd gone through the process a couple of times, but at the beginning of each one I'd delete the /lib/modules/<relevant build> directory tree. After that I'd always follow the build sequence in strict order, i.e. "make clean; make mrproper; make xconfig; make dep; make bzImage; make modules" and then "make modules_install". I hope this helps you help me :-) Cheers, Mark |
| |||
| On 16 Jul 2003 00:40:54 -0700, Mark <m_c_001@hotmail.com> wrote: > davide@yahoo.com wrote in message news:<bf1bdv$9vips$3@ID-18487.news.uni-berlin.de>... >> Mark <nospam@nospam.cam.ac.uk> wrote: >> > dandily, until I got to issue make modules_install. I then got a >> > plethora of undefined symbols, >> >> But did you issued the "make modules" before? > > Yes, I'd gone through the process a couple of times, but at the > beginning of each one I'd delete the /lib/modules/<relevant build> > directory tree. After that I'd always follow the build sequence in > strict order, i.e. "make clean; make mrproper; make xconfig; make dep; > make bzImage; make modules" and then "make modules_install". > > I hope this helps you help me :-) Me too, because I've been having the same problem. It's very annoying to have no sound and no ethernet, and all these dratted modprobe errors! -Laurel |
| |||
| H Laurel, I solved my problem by upgrading to the latest versions of binutils and modutils (versions 2.14.90.0.4.1 and 2.4.25 respectively). I'm not sure if the binutils was strictly necessary, but it now all builds and links correctly without any gripes from depmod. I hope this helps you! Cheers, Mark Laurel Amberdine wrote: >On 16 Jul 2003 00:40:54 -0700, Mark <m_c_001@hotmail.com> wrote: > > >>davide@yahoo.com wrote in message news:<bf1bdv$9vips$3@ID-18487.news.uni-berlin.de>... >> >> >>>Mark <nospam@nospam.cam.ac.uk> wrote: >>> >>> >>>>dandily, until I got to issue make modules_install. I then got a >>>>plethora of undefined symbols, >>>> >>>> >>>But did you issued the "make modules" before? >>> >>> >>Yes, I'd gone through the process a couple of times, but at the >>beginning of each one I'd delete the /lib/modules/<relevant build> >>directory tree. After that I'd always follow the build sequence in >>strict order, i.e. "make clean; make mrproper; make xconfig; make dep; >>make bzImage; make modules" and then "make modules_install". >> >>I hope this helps you help me :-) >> >> > >Me too, because I've been having the same problem. It's very annoying to >have no sound and no ethernet, and all these dratted modprobe errors! > > >-Laurel > > -- To reply to me replace nospam@nospam with mcal00@esc in my address |
| |||
| H Laurel, I solved my problem by upgrading to the latest versions of binutils and modutils (versions 2.14.90.0.4.1 and 2.4.25 respectively). I'm not sure if the binutils was strictly necessary, but it now all builds and links correctly without any gripes from depmod. I hope this helps you! Cheers, Mark Laurel Amberdine wrote: >On 16 Jul 2003 00:40:54 -0700, Mark <m_c_001@hotmail.com> wrote: > > >>davide@yahoo.com wrote in message news:<bf1bdv$9vips$3@ID-18487.news.uni-berlin.de>... >> >> >>>Mark <nospam@nospam.cam.ac.uk> wrote: >>> >>> >>>>dandily, until I got to issue make modules_install. I then got a >>>>plethora of undefined symbols, >>>> >>>> >>>But did you issued the "make modules" before? >>> >>> >>Yes, I'd gone through the process a couple of times, but at the >>beginning of each one I'd delete the /lib/modules/<relevant build> >>directory tree. After that I'd always follow the build sequence in >>strict order, i.e. "make clean; make mrproper; make xconfig; make dep; >>make bzImage; make modules" and then "make modules_install". >> >>I hope this helps you help me :-) >> >> > >Me too, because I've been having the same problem. It's very annoying to >have no sound and no ethernet, and all these dratted modprobe errors! > > >-Laurel > > -- To reply to me replace nospam@nospam with mcal00@esc in my address |
| |||
| H Laurel, I solved my problem by upgrading to the latest versions of binutils and modutils (versions 2.14.90.0.4.1 and 2.4.25 respectively). I'm not sure if the binutils was strictly necessary, but it now all builds and links correctly without any gripes from depmod. I hope this helps you! Cheers, Mark Laurel Amberdine wrote: >On 16 Jul 2003 00:40:54 -0700, Mark <m_c_001@hotmail.com> wrote: > > >>davide@yahoo.com wrote in message news:<bf1bdv$9vips$3@ID-18487.news.uni-berlin.de>... >> >> >>>Mark <nospam@nospam.cam.ac.uk> wrote: >>> >>> >>>>dandily, until I got to issue make modules_install. I then got a >>>>plethora of undefined symbols, >>>> >>>> >>>But did you issued the "make modules" before? >>> >>> >>Yes, I'd gone through the process a couple of times, but at the >>beginning of each one I'd delete the /lib/modules/<relevant build> >>directory tree. After that I'd always follow the build sequence in >>strict order, i.e. "make clean; make mrproper; make xconfig; make dep; >>make bzImage; make modules" and then "make modules_install". >> >>I hope this helps you help me :-) >> >> > >Me too, because I've been having the same problem. It's very annoying to >have no sound and no ethernet, and all these dratted modprobe errors! > > >-Laurel > > -- To reply to me replace nospam@nospam with mcal00@esc in my address |
| ||||
| Mark wrote: > I solved my problem by upgrading to the latest versions of binutils and > modutils (versions 2.14.90.0.4.1 and 2.4.25 respectively). I'm not sure > if the binutils was strictly necessary, but it now all builds and links > correctly without any gripes from depmod. I agree. I think it's always best to update software according to the advice in /usr/src/linux/Documentation/Changes . At least then you know it's not the cause of your problems. -- Timothy Murphy e-mail: tim@birdsnest.maths.tcd.ie tel: +353-86-233 6090 s-mail: School of Mathematics, Trinity College, Dublin 2, Ireland |
| Thread Tools | |
| Display Modes | |
|
|