Received: by oss.sgi.com id ; Fri, 21 Jul 2000 18:40:36 -0700 Received: from deliverator.sgi.com ([204.94.214.10]:43356 "EHLO deliverator.sgi.com") by oss.sgi.com with ESMTP id ; Fri, 21 Jul 2000 18:40:18 -0700 Received: from ledzep.cray.com (ledzep.cray.com [137.38.226.97]) by deliverator.sgi.com (980309.SGI.8.8.8-aspam-6.2/980310.SGI-aspam) via ESMTP id SAA29472 for ; Fri, 21 Jul 2000 18:32:25 -0700 (PDT) mail_from (lord@sgi.com) From: lord@sgi.com Received: from ironwood-e185.americas.sgi.com (ironwood.cray.com [128.162.185.212]) by ledzep.cray.com (SGI-SGI-8.9.3/craymail-smart-nospam1.0) with ESMTP id UAA96246; Fri, 21 Jul 2000 20:38:35 -0500 (CDT) Received: from jen.americas.sgi.com (jen.americas.sgi.com [128.162.184.86]) by ironwood-e185.americas.sgi.com (8.8.4/Cray-ironwood-e1.6) with ESMTP id UAA08918; Fri, 21 Jul 2000 20:38:34 -0500 (CDT) Received: from jen.americas.sgi.com by jen.americas.sgi.com (8.9.3/SGI-client.1.6) via ESMTP id UAA27268; Fri, 21 Jul 2000 20:32:06 -0500 Message-Id: <200007220132.UAA27268@jen.americas.sgi.com> To: Keith Owens cc: rawb@olliance.com, linux-xfs@oss.sgi.com Subject: Re: Problems compiling In-reply-to: Your message of "Sat, 22 Jul 2000 11:00:47 +1000 Date: Fri, 21 Jul 2000 20:32:05 -0500 Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Return-Path: X-Orcpt: rfc822;linux-xfs-outgoing > On Fri, 21 Jul 2000 11:41:27 -0700, > Rawb wrote: > >make -C xfs > >make[2]: Entering directory `/usr.ext/src/linux-2.4-xfs/linux/fs/xfs' > >/usr/src/linux-2.4-xfs/linux/Rules.make:75: warning: overriding commands > >for target `xfs.o' > >Makefile:93: warning: ignoring old commands for target `xfs.o' > > I cannot reproduce your problem with the current 2.4.0-test1-xfs > source. I am running from the SGI p_tools tree, not CVS, I wonder if > CVS is out of sync. It is puzzling that the Rules.make:75 and > fs/xfs/Makefile:93 lines have nothing to do with target xfs.o. > > Rawb, please mail me (not the list) your .config, Rules.make, top level > Makefile, fs/xfs/Makefile and the output from "md5sum fs/xfs/*". The key factor here is that there are no stubs at the start of the list of .o files: ld -m elf_i386 -r -o xfs.o xfs_alloc.o xfs_alloc_btree.o xfs_attr.o xfs_attr_leaf.o xfs_bit.o xfs_bmap.o xfs_bmap_btree.o xfs_btree.o xfs_buf_item.o xfs_da_btree.o xfs_dir.o xfs_dir2.o xfs_dir2_block.o where the source of the makefile says: ifeq ($(CONFIG_XFS_RT),y) XFS_RT_OBJS=xfs_rtalloc.o xfs_rtbit.o else XFS_RT_OBJS=xfsrtstubs.o endif ifeq ($(CONFIG_XFS_GRIO),y) XFS_GRIO_OBJS=xfs_grio.o else XFS_GRIO_OBJS= endif ifeq ($(CONFIG_XFS_DMAPI),y) XFS_DMAPI_OBJS=dmapi/dmapi.o else XFS_DMAPI_OBJS=xfsdmapistubs.o endif XFS_OBJS := $(XFS_RT_OBJS) \ $(XFS_GRIO_OBJS) \ $(XFS_DMAPI_OBJS) \ xfs_alloc.o \ xfs_alloc_btree.o \ This has happened before, when the grio and realtime flags got taken out of the config options. There is some cached state in the tree which gets confused when these flags change I think. Saving the .config filesomewhere, doing a make mrproper, reinstalling the .config and doing a make oldconfig might fix it. It could have something to do with the include/config file state beiong messed up. Steve (temporarily in ottawa) options.