Jeff,
 
    "Undefined reference to..." errors often occurs when you don't have a full-clean linux source codes tree.
just try the following: 
    cd /usr/src/linux
    make mrproper
then
    make menuconfig (or make xconfig)
    make dep;make clean; make bzImage
 
Tell me if it cannot solve your problems.
dony
----- Original Message -----
To: dony
Sent: Wednesday, February 07, 2001 3:49 AM
Subject: almost out of the woods...

Thanks Dony,
that solved my problem exactly.  However, after running "make dep; make clean; make bzImage" I now get a new error.  It runs for a lot longer than it did before though.  Hopefully someone as seen this error also.  After running for a while, it says:
 
init/main.o(.data.init+0x224): undefined reference to 'md_setup'
drivers/block/block.a(genhd.o): In function 'device_setup':
genhd.o(.text.init+0xf7): undefined reference to 'md_setup_drive'
make: *** [vmlinux] Error 1
 
Any ideas?  Thanks again,
 
 
Jeff
----- Original Message -----
From: dony
Sent: Monday, February 05, 2001 9:34 PM
Subject: Re: [rtl] installation troubles

First you should make a symbolink as following:
ln -sf /usr/src/linux /usr/src/rtlinux-2.2/linux
 
then, make sure /usr/src/linux/include/asm is a symbolink to /usr/src/linux/include/asm-i386.
cd /usr/src/linux
make dep ;make clean; make bzImage
Is this OK?
dony
----- Original Message -----
Sent: Tuesday, February 06, 2001 7:36 AM
Subject: [rtl] installation troubles

Hi,
after weeks of work, I am finally in the process of installing RT-Linux v2.2.  I am following the steps from http://www.rtlinux.org/documents/installation_june_2000.html
 
I get to step 3.4. Compile the kernel
and I can run "make dep" and "make clean" just fine.  When I try to run "make bzImage" I get the following problem:
 
gcc -Wall -Wstrict-prototypes -O2 -fomit-frame-pointer -o scripts/split-include
scripts/split-include.c
In file included from /usr/include/errno.h:36,
                     from scripts/split-include.c:26:
/usr/include/bits/errno.h:25: linux/errno.h : No such file or directory
make: *** [scripts/split-include] Error1
 
I am logged in as root, and I am in the directory
/usr/src/rtlinux-2.2/linux
 
 
Any ideas?  Help would be most appreciated.
 
 
Thanks,
 
 
Jeff

Reply via email to