* 2.4.20-rc1-ac3 compile warnings/errors (test)
@ 2002-11-15 7:24 Brian Davids
2002-11-15 13:23 ` Alan Cox
0 siblings, 1 reply; 4+ messages in thread
From: Brian Davids @ 2002-11-15 7:24 UTC (permalink / raw)
To: linux-kernel; +Cc: Alan Cox
A couple of warnings and then a compile-ending error... config can be
found at http://dlister.net/config-2.4.20-rc1-ac3
make[1]: Circular /usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h <-
/usr/src/linux-2.4.20-rc1-ac3/include/linux/interrupt.h dependency dropped.
make[1]: Circular
/usr/src/linux-2.4.20-rc1-ac3/include/linux/netfilter_ipv4/ip_conntrack_helper.h
<-
/usr/src/linux-2.4.20-rc1-ac3/include/linux/netfilter_ipv4/ip_conntrack.h
dependency dropped.
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-I../ -nostdinc -iwithprefix include -DKBUILD_BASENAME=generic -c -o
generic.o generic.c
generic.h:138: warning: `unknown_chipset' defined but not used
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-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'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-nostdinc -iwithprefix include -DKBUILD_BASENAME=pnpbios_core
-DEXPORT_SYMTAB -c pnpbios_core.c
{standard input}: Assembler messages:
{standard input}:16: Warning: indirect lcall without `*'
gcc -D__KERNEL__ -I/usr/src/linux-2.4.20-rc1-ac3/include -Wall
-Wstrict-prototypes -Wno-trigraphs -O2 -fno-strict-aliasing -fno-common
-fomit-frame-pointer -pipe -mpreferred-stack-boundary=2 -march=athlon
-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
In file included from /usr/src/linux-2.4.20-rc1-ac3/include/asm/hw_irq.h:16,
from /usr/src/linux-2.4.20-rc1-ac3/include/linux/irq.h:69,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/hardirq.h:6,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/interrupt.h:46,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/highmem.h:25,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/highmem.h:11,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/pagemap.h:16,
from rmap.c:24:
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:12:1: warning:
this is the location of the previous definition
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:22:1: warning:
"release_kernel_lock" redefined
In file included from /usr/src/linux-2.4.20-rc1-ac3/include/asm/hw_irq.h:16,
from /usr/src/linux-2.4.20-rc1-ac3/include/linux/irq.h:69,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/hardirq.h:6,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/interrupt.h:46,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/highmem.h:25,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/highmem.h:11,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/pagemap.h:16,
from rmap.c:24:
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:10:1: warning:
this is the location of the previous definition
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:33:1: warning:
"reacquire_kernel_lock" redefined
In file included from /usr/src/linux-2.4.20-rc1-ac3/include/asm/hw_irq.h:16,
from /usr/src/linux-2.4.20-rc1-ac3/include/linux/irq.h:69,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/hardirq.h:6,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/interrupt.h:46,
from
/usr/src/linux-2.4.20-rc1-ac3/include/asm/highmem.h:25,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/highmem.h:11,
from
/usr/src/linux-2.4.20-rc1-ac3/include/linux/pagemap.h:16,
from rmap.c:24:
/usr/src/linux-2.4.20-rc1-ac3/include/linux/smp_lock.h:11:1: warning:
this is the location of the previous definition
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:47:40: macro
"lock_kernel" passed 1 arguments, but takes just 0
In file included from rmap.c:31:
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:48: syntax error
before '{' token
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:63:42: macro
"unlock_kernel" passed 1 arguments, but takes just 0
/usr/src/linux-2.4.20-rc1-ac3/include/asm/smplock.h:64: syntax error
before '{' token
make[2]: *** [rmap.o] Error 1
make[1]: *** [first_rule] Error 2
make: *** [_dir_mm] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20-rc1-ac3 compile warnings/errors (test)
2002-11-15 7:24 2.4.20-rc1-ac3 compile warnings/errors (test) Brian Davids
@ 2002-11-15 13:23 ` Alan Cox
2002-11-15 16:06 ` Scott Henson
2002-11-15 22:37 ` Brian Davids
0 siblings, 2 replies; 4+ messages in thread
From: Alan Cox @ 2002-11-15 13:23 UTC (permalink / raw)
To: Brian Davids; +Cc: linux-kernel, Alan Cox
> -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 ?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20-rc1-ac3 compile warnings/errors (test)
2002-11-15 13:23 ` Alan Cox
@ 2002-11-15 16:06 ` Scott Henson
2002-11-15 22:37 ` Brian Davids
1 sibling, 0 replies; 4+ messages in thread
From: Scott Henson @ 2002-11-15 16:06 UTC (permalink / raw)
To: linux-kernel
On Fri, 2002-11-15 at 08:23, Alan Cox wrote:
<snip>
> > -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 ?
I got this error building non SMP.
--
Scott Henson <debian-list@silvercoin.dyndns.org>
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: 2.4.20-rc1-ac3 compile warnings/errors (test)
2002-11-15 13:23 ` Alan Cox
2002-11-15 16:06 ` Scott Henson
@ 2002-11-15 22:37 ` Brian Davids
1 sibling, 0 replies; 4+ messages in thread
From: Brian Davids @ 2002-11-15 22:37 UTC (permalink / raw)
To: Alan Cox; +Cc: linux-kernel
Alan Cox wrote:
>> -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 ?
I was trying to build non-SMP. I have only UP boards at the moment.
Brian Davids
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2002-11-15 22:31 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-11-15 7:24 2.4.20-rc1-ac3 compile warnings/errors (test) Brian Davids
2002-11-15 13:23 ` Alan Cox
2002-11-15 16:06 ` Scott Henson
2002-11-15 22:37 ` Brian Davids
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox