Make sure that CONFIG_PROC_MM is set.  There option appears in General Setup

--Ben Stoutenburgh



Matthias Meyer <Matthias.Meyer@gmx.li>
Sent by: user-mode-linux-user-admin@lists.sourceforge.net

01/21/2004 02:08 PM

       
        To:        user-mode-linux-user@lists.sourceforge.net
        cc:        
        Subject:        [uml-user] compiling linux-2.4.23 with host-skas3.patch fails



Hello,

I get the linux-2.4.23-1 from kernel.org and apply the host-skas3.patch.
Then I build my kernel without changes at .config

 cd /usr/src/linux-2.4.23
 make mrproper
 make clean
 make dep
 make bzImage

But it fails with:

ld -m elf_i386 -T /usr/src/linux-2.4.23/arch/i386/vmlinux.lds -e stext
arch/i386/kernel/head.o arch/i386/kernel/init_task.o init/main.o
init/version.o init/do_mounts.o \
       --start-group \
       arch/i386/kernel/kernel.o arch/i386/mm/mm.o kernel/kernel.o mm/mm.o
fs/fs.o ipc/ipc.o \
        drivers/acpi/acpi.o drivers/char/char.o drivers/block/block.o
drivers/misc/misc.o drivers/net/net.o drivers/char/agp/agp.o
drivers/char/drm/drm.o drivers/ide/idedriver.o drivers/scsi/scsidrv.o
drivers/cdrom/driver.o drivers/sound/sounddrivers.o drivers/pci/driver.o
drivers/pcmcia/pcmcia.o drivers/net/pcmcia/pcmcia_net.o drivers/pnp/pnp.o
drivers/video/video.o drivers/usb/usbdrv.o drivers/media/media.o \
       net/network.o \
       /usr/src/linux-2.4.23/arch/i386/lib/lib.a
/usr/src/linux-2.4.23/lib/lib.a /usr/src/linux-2.4.23/arch/i386/lib/lib.a \
       --end-group \
       -o vmlinux
arch/i386/kernel/kernel.o(.text+0x6aed): In function `sys_ptrace':
: undefined reference to `proc_mm_get_mm'
make: *** [vmlinux] Fehler 1

what going wrong?
--
Don't panic



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
User-mode-linux-user mailing list
User-mode-linux-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/user-mode-linux-user