Re: 2.4.20-rc1-ac3 compile warnings/errors (test)

From: Alan Cox (
Date: Fri Nov 15 2002 - 08:23:47 EST

> -nostdinc -iwithprefix include -DKBUILD_BASENAME=setup_pci
> -DEXPORT_SYMTAB -c setup-pci.c
> setup-pci.c: In function `ide_setup_pci_device':
> setup-pci.c:704: warning: unused variable `index_list'
> setup-pci.c: In function `ide_setup_pci_devices':
> setup-pci.c:711: warning: unused variable `index_list'
> setup-pci.c:712: warning: unused variable `index_list2'

I should clean that up

> -DEXPORT_SYMTAB -c pnpbios_core.c
> {standard input}: Assembler messages:
> {standard input}:16: Warning: indirect lcall without `*'

These are intended. We have a problem where

        very old binutils accepts lcall with * but misassembles it
        newer binutils assembles both properly
        latest binutils warns about the *

> -nostdinc -iwithprefix include -DKBUILD_BASENAME=rmap -c -o rmap.o rmap.c
> In file included from rmap.c:31:
> /usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:17:1: warning:
> "kernel_locked" redefined

Weird indeed. are you trying to build SMP or non SMP ?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

This archive was generated by hypermail 2b29 : Fri Nov 15 2002 - 22:00:37 EST