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

Alan Cox (alan@redhat.com)
Fri, 15 Nov 2002 08:23:47 -0500 (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 majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/