From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <6bf6c3b5fd3f85009dd5aa407d95a1bd.axp-list@archive.invalid> X-Archive-Original-Message-ID: <33DDD6E0.41C67EA6@iis.fhg.de> Date: Tue, 29 Jul 97 15:58:20 MESZ From: Stefan Boresch Subject: Building the latest 2.0.30 / pc164 MILO Hi everyone, I maintain (or rather finally try to fully set up) a 500MHz PC164 system from Quant-X with 128 MB of memory and was stuck with the known problems of memory sizes > 64 MB. The fact that I only have an IDE disk probably compounded the difficulties. The system has RH4.2 installed (by W. Dreyer from Quant-X), and uses the special 2.0.29 MILO that works with this sort of hardware. Yesterday and today I finally had the time to download /pub/DEC/Linux-Alpha/Kernels/alpha-patches-2.0.30-0.1.gz and /pub/DEC/Linux-Alpha/Miniloader/v2.0/src/milo-2.0.30.tar.gz which are supposed to remedy (at least some of) these problems. I got pristine 2.0.30 sources (from a local funet mirror), applied the patch as described in Jay Estabrook's mail and could compile a kernel without problems. However, I fail when trying to compile MILO from the sources listed above. (My answers to 'make KSRC=/usr/src/linux config' were: MINI_SERIAL_ECHO y MINI_DIGITAL_BIOSEMU n MINI_LX164 n MINI_BUILD_PALCODE_FROM_SOURCES n The make process goes on for a while, but dies with (various) undefined references in (among others) ~/drivers/block/loop.c and ~/fs/dos.c. (Detailed Error log as PS) Now, on the one hand I don't have a problem since the precompiled 2.0.30 pc164 Milo from gatekeeper.dec.com works fine (I have replaced the patched 2.0.29 MILO I used so far this morning with it). On the other hand, I would like to understand what's going on, and how to build MILO myself. Some guesses that I have are: * Is setting MINI_DIGITAL_BIOSEMU n the problem -- but if I understand the MILO-Howto correctly, this is what I need for an ELF system? * Am I missing some ELF patches for milo-2.0.30? * Or should I have compiled some add. functionality in the kernel, which now gives undefined refs. as they are not present? Thanks for pointers and help! Stefan PS: The errors I obtain when making milo ('make KSRC=/usr/src/linux') ld -non_shared -N -Ttext 0xfffffc0000500000 \ head.o entry.o boot_main.o hwrpb.o cpu.o milo.o nvram.o zip/misc.o zip/inflate.o zip/unzip.o memory.o env.o 28f008sa.o timer.o devices.o /usr/src/linux/kernel/softirq.o /usr/src/linux/arch/alpha/kernel/irq.o /usr/src/linux/init/version.o /usr/src/linux/drivers/block/block.a /usr/src/linux/kernel/resource.o /usr/src/linux/drivers/scsi/scsi.a video.o biosvga.o x86_sysenv.o tga.o kbd.o printf.o support.o uart.o /usr/src/linux/arch/alpha/kernel/cia.o /usr/src/linux/arch/alpha/kernel/bios32.o /usr/src/linux/drivers/pci/pci.a \ /usr/src/linux/arch/alpha/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/alpha/lib/lib.a x86/libx86-milo.a /usr/src/linux/arch/alpha/lib/lib.a /usr/src/linux/lib/lib.a /usr/src/linux/arch/alpha/lib/lib.a fs/fs-milo.a \ -o milo.full.exe || \ (rm -f milo.full.exe && exit 1) /usr/src/linux/drivers/block/block.a(loop.o): In function `do_lo_request': /usr/src/linux-2.0.30/drivers/block/loop.c:227: undefined reference to `bmap' /usr/src/linux-2.0.30/drivers/block/loop.c:227: undefined reference to `bmap' /usr/src/linux/drivers/block/block.a(loop.o): In function `do_lo_request': /usr/src/linux-2.0.30/include/linux/fs.h:592: undefined reference to `set_writetime' /usr/src/linux-2.0.30/include/linux/fs.h:592: undefined reference to `set_writetime' /usr/src/linux/drivers/block/block.a(loop.o): In function `loop_set_fd': /usr/src/linux-2.0.30/drivers/block/loop.c:306: undefined reference to `invalidate_inode_pages' /usr/src/linux-2.0.30/drivers/block/loop.c:306: undefined reference to `invalidate_inode_pages' /usr/src/linux/drivers/block/block.a(loop.o): In function `loop_clr_fd': /usr/src/linux-2.0.30/drivers/block/loop.c:325: undefined reference to `blkdev_release' /usr/src/linux-2.0.30/drivers/block/loop.c:325: undefined reference to `blkdev_release' /usr/src/linux-2.0.30/drivers/block/loop.c:326: undefined reference to `iput' /usr/src/linux-2.0.30/drivers/block/loop.c:326: undefined reference to `iput' fs/fs-milo.a(dos.o): In function `fill_block_list': /root/sources/milo-2.0.30/fs/dos.c:278: undefined reference to `malloc' /root/sources/milo-2.0.30/fs/dos.c:278: undefined reference to `malloc' /root/sources/milo-2.0.30/fs/dos.c:231: undefined reference to `malloc' /root/sources/milo-2.0.30/fs/dos.c:231: undefined reference to `malloc' fs/fs-milo.a(dos.o): In function `msdos_search_root': /root/sources/milo-2.0.30/fs/dos.c:352: undefined reference to `malloc' fs/fs-milo.a(dos.o):/root/sources/milo-2.0.30/fs/dos.c:352: more undefined references to `malloc' follow make: *** [milo.full.exe] Error 1 -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com