Occasionally I have run into compile/linking trouble like this. It may be the case that the kernel build scripts aren't perfect. Sometimes it's possible to define a configuration state that is inconsistent and/or impossible, so that you build and link .o files that shouldn't be there, or certain required .o files are left out. Also, whenever you do a partial build (namely you changed 1 config option then tried to do a partial build based on what .o files got changed as a result of the option) sometimes things don't work well. Add to that hte possibility of clock skews due to NFS, and, well.. you can see that a lot of different things can cause you trouble!
But, before I go on: It's very important to use a VANILLA kernel. I know the kernel that comes with Redhat is often patched to include things such as backported USB support, supermount, etc... DO NOT USE THE KERNEL FROM REDHAT FOR RTLINUX! Too many people don't know this! :) Go to http://www.kernel.org and pick up the exact kernel version that rt-linux 3.0 recommends! After you are certain that the above paragraph has been read carefully, understood, and its advice adhered to, I would suggest the following: After having made absolutely sure that you have the right compiler, make, and other tools (look in Documentation/Changes.txt, I think) and that you got the exactly correct version of the linux kernel and patched it correctly: 1) back up your .config file (just in case) 2) do make mrproper to remove absolutely any old compiled files or stuff you don't need in the kernel directory 3) make config/menuconfig/xconfig to config your kernel again from scratch 4) make dep 5) make bzImage (check for errors) 6) make modules; make modules_install; (check for errors) cp arch/i386/boot/bzImage /boot/yourkernerlimagehere; vi /etc/lilo.conf; lilo -v :) If the above doesn't work.. then really i would suggest you double-check how you patched the linux kernel and also that you don't have any clock skews (perhaps because of NFS) that could throw off make and cause strange things during the compile.. although if you build from scratch that shouldn't matter anyway.. Good luck! -Calin On Tue, 30 Oct 2001, Megha jindal , Gurgaon wrote: > Hello Sir, > We are installing rtlinux-3.0, on redhat-> linux7.0 having > kernel_patch2.2 . All the steps we have done > 1. Installed redhat linux7.0 on Pentium. > 2. Followed all the steps given in the installation guide available on the > site (rtlinux.org). > while creating an image (make bzImage), there is an error > > init/main.o: In function `check_cx686_cpuid': > init/main.o(.text.init+0x2dc): undefined reference to `irq_control' > init/main.o(.text.init+0x32d): undefined reference to `irq_control' > init/main.o: In function `check_cx686_slop': > init/main.o(.text.init+0x393): undefined reference to `irq_control' > init/main.o(.text.init+0x3d5): undefined reference to `irq_control' > init/main.o: In function `start_kernel': > init/main.o(.text.init+0xc63): undefined reference to `irq_control' > arch/i386/kernel/kernel.o(.text+0x6): more undefined references to > `irq_control' > follow > > Kindly suggest us how to proceed . > > Thanking you, > megha > > -- [rtl] --- > To unsubscribe: > echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR > echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] > -- > For more information on Real-Time Linux see: > http://www.rtlinux.org/ > -- [rtl] --- To unsubscribe: echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED] -- For more information on Real-Time Linux see: http://www.rtlinux.org/
