2.4.21-rc2 syntax error in toplevel Makefile

2.4.21-rc2 syntax error in toplevel Makefile

Post by Olaf Herin » Mon, 19 May 2003 15:10:09

The used syntax is obsolete since a while.
Update two places to the correct syntax.

Please apply for 2.4.21.

nectarine:/ # tail -1
tail: `-1' option is obsolete; use `-n 1'
Try `tail --help' for more information.
nectarine:/ # tail --version
tail (coreutils) 5.0
Written by Paul Rubin, David MacKenzie, Ian Lance Taylor, and Jim Meyering.

Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO

diff -purN linux-2.4.21-rc2/Makefile linux-2.4.21-rc2.tail/Makefile
--- linux-2.4.21-rc2/Makefile   2003-05-18 12:39:41.000000000 +0200

         ([ -x /bin/domainname ] && /bin/domainname > .ver1) || \
         echo > .ver1

diff -purN linux-2.4.21-rc2/arch/ppc64/boot/Makefile linux-2.4.21-rc2.tail/arch/ppc64/boot/Makefile
--- linux-2.4.21-rc2/arch/ppc64/boot/Makefile   2003-05-18 12:39:42.000000000 +0200

 imagesize.c: $(TOPDIR)/vmlinux
        ls -l $(TOPDIR)/vmlinux | awk '{printf "/* generated -- do not edit! */\nunsigned long vmlinux_filesize = %d;\n", $$5}' > imagesize.c
-       $(CROSS_COMPILE)nm -n $(TOPDIR)/vmlinux | tail -1 | awk '{printf "unsigned long vmlinux_memsize = 0x%s;\n", substr($$1,8)}' >> imagesize.c
+       $(CROSS_COMPILE)nm -n $(TOPDIR)/vmlinux | awk '{i=$$1}END{printf "unsigned long vmlinux_memsize = 0x%s;\n", substr(i,8)}' >> imagesize.c

 zImage.o: $(TOPDIR)/vmlinux

USB is for mice, FireWire is for men!
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/


1. Linux 2.4.21-rc2-ac1: build error

 > Linux 2.4.21rc2-ac1

ld -m elf_i386 -T /usr/src/linux-2.4.21-rc2-ac1/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/parport/driver.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/pnp/pnp.o drivers/video/video.o drivers/usb/usbdrv.o
drivers/media/media.o \
        net/network.o \
/usr/src/linux-2.4.21-rc2-ac1/arch/i386/lib/lib.a \
        --end-group \
        -o vmlinux
drivers/sound/sounddrivers.o(.data+0xb0): undefined reference to
drivers/sound/sounddrivers.o(.data+0xbc): undefined reference to
make: *** [vmlinux] Error 1

Config is attached.

Udo Hoerhold

20K Download

2. Input Events to Xvfb

3. Oops in firewire (2.4.21-pre5 with 2.4.21-pre4 firewire driver)

4. Sendmail

5. 2.4.21-pre3aa1 and RAID0 issue (was: 2.4.21-pre2aa1 - RAID0 issue.)

6. Ann: BspSolid v1.1

7. 2.4.21-pre7 & 2.4.21-pre5-ac3 IDE resets

8. What could be the appropiate answer to this question ?

9. Can't boot since 2.4.21-rc2-ac3 with dvb-kernel

10. 2.4.21-rc2 Radeon 9000 fb update

11. Revised patch for 2.4.21-rc2: typo in drivers/net/Config.in

12. 2.4.21-RC2 nforce2 agp patch

13. 2.4.21-rc2 and rc1 compile problem in fs/exec.c + PATCH