Problem building the kernel at the "make modules_install" step

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

 




I am seeking help to resolve a problem building an RTAI kernel on my linux computer. I have included a copy of the error messages at the bottom of the email.

Mainly, I have installed Mandrake 8.1 linux on the computer. Next, I wanted to rebuild the kernel.

So I downloaded the file  linux-2.4.17.tar.bz2. I followed these steps to install and rebuild (my setup had originally taken place in a directory called /home/tools):


1.        decompressed the tar file
                tar --bzip2 -xvf linux-2.4.17.tar.bz2

2.        renamed the original linux directory to linux-2.4.17
                mv linux linux-2.4.17

3.        copied the patch file patch-2.4.17-rthal5g to my new linux directory, and applied the patch
                patch -p0 -i /home/tools/linux-2.4.17/patch-2.4.17-rthal5g

4.        to configure the kernel, I copied and "made" the config file. I went through the configuration, selecting/de-selecting the options as applicable
                cp /boot/config .
                make config

5.        continued the make process, as follows
                make dep
                make clean
                make bzImage
                make modules
                make modules_install
               

The signs of trouble start at the end of the "make modules_install". Here are some the last few lines from the output of that command:
 
make[1]: Entering directory `/home/tools/linux-2.4.17/arch/i386/kernel'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/home/tools/linux-2.4.17/arch/i386/kernel'
make -C  arch/i386/mm modules_install
make[1]: Entering directory `/home/tools/linux-2.4.17/arch/i386/mm'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/home/tools/linux-2.4.17/arch/i386/mm'
make -C  arch/i386/lib modules_install
make[1]: Entering directory `/home/tools/linux-2.4.17/arch/i386/lib'
make[1]: Nothing to be done for `modules_install'.
make[1]: Leaving directory `/home/tools/linux-2.4.17/arch/i386/lib'
cd /lib/modules/2.4.17-rthal5; \
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  2.4.17-rthal5; fi
depmod: *** Unresolved symbols in /lib/modules/2.4.17-rthal5/rtai/leds_lxrt.o
depmod:         set_rt_fun_ext_index
depmod:         reset_rt_fun_ext_index
depmod: *** Unresolved symbols in /lib/modules/2.4.17-rthal5/rtai/rtai_aio.o
depmod:         lxk_task_init
depmod:         lxk_task_delete
depmod:         lxk_resume
make: *** [_modinst_post] Error 1
[root@torpdc linux-2.4.17]#

Are those "Nothing to be done for..." messages normal? But my bigger concern is the error in the rtai. Any clues?

Thanks in advance.

___________________________________________________

Raja Hayek

   Software Analyst
   Alcatel Transport Automation - JNUP

   Raja.Hayek@xxxxxxxxxxxxxx
   416 742 3900 ext. 5861
   1235 Ormont Drive; Weston, Ontario; M9L 2W6

[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux