Received: from oss.sgi.com (localhost [127.0.0.1]) by oss.sgi.com (8.12.3/8.12.3) with ESMTP id g5NM9BnC011740 for ; Sun, 23 Jun 2002 15:09:11 -0700 Received: (from majordomo@localhost) by oss.sgi.com (8.12.3/8.12.3/Submit) id g5NM9BOp011739 for linux-xfs-outgoing; Sun, 23 Jun 2002 15:09:11 -0700 X-Authentication-Warning: oss.sgi.com: majordomo set sender to owner-linux-xfs@oss.sgi.com using -f Received: from netmail.netcologne.de (netmail.netcologne.de [194.8.194.109]) by oss.sgi.com (8.12.3/8.12.3) with SMTP id g5NM92nC011707 for ; Sun, 23 Jun 2002 15:09:03 -0700 Received: from jungle (xdsl-213-168-111-13.netcologne.de [213.168.111.13]) by netmail.netcologne.de (Mirapoint Messaging Server MOS 2.9.3.2) with ESMTP id AXF60736; Mon, 24 Jun 2002 00:12:01 +0200 (CEST) Content-Type: text/plain; charset="iso-8859-15" From: =?iso-8859-15?q?J=F6rg=20Prante?= Reply-To: joergprante@netcologne.de Organization: Linux Kernel To: kbuild-devel@lists.sourceforge.net, linux-xfs@oss.sgi.com Subject: XFS 2.4.19-pre10 and kbuild 2.5 Date: Mon, 24 Jun 2002 00:10:47 +0200 X-Mailer: KMail [version 1.4] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Message-Id: <200206240010.47152.joergprante@netcologne.de> X-Spam-Status: No, hits=0.0 required=5.0 tests= version=2.20 X-Spam-Level: Sender: owner-linux-xfs@oss.sgi.com Precedence: bulk Hi, I am trying to build XFS from CVS (2.4.19-pre10) with the backport of kbuild 2.5 by Paul P Komkoff Jr http://www.uwsg.iu.edu/hypermail/linux/kernel/0206.0/0044.html Unfortunately, the build structure in XFS CVS for the 2.4 kernel is giving me headache. It looks like these are simply the files copied from the XFS 2.5 kernel tree. E.g. the fs/xfs_support subdirectory is not addressed. I played around with the existing files in XFS CVS (Makefile.in/Makefile.in.append), added "link_subdirs(xfs xfs_dmapi xfs_support)" to fs/Makefile.in, and it compiles, but got linker errors when linking vmlinux (multiple definitions). --------------snip 'make -f Makefile-2.5'--------------------- [...] USER include/linux/compile.h CC init/version.o USER vmlinux fs/xfs_dmapi/xfs_dmapi.o: In function `dm_send_destroy_event': fs/xfs_dmapi/xfs_dmapi.o(.text+0x18c8): multiple definition of `dm_send_destroy_event' fs/xfs/xfs.o(.text+0x61358): first defined here ld: Warning: size of symbol `dm_send_destroy_event' changed from 6 to 514 in fs/xfs_dmapi/xfs_dmapi.o fs/xfs_dmapi/xfs_dmapi.o: In function `dm_send_unmount_event': fs/xfs_dmapi/xfs_dmapi.o(.text+0x1e94): multiple definition of `dm_send_unmount_event' fs/xfs/xfs.o(.text+0x61368): first defined here ld: Warning: size of symbol `dm_send_unmount_event' changed from 1 to 358 in fs/xfs_dmapi/xfs_dmapi.o [...very long error list deleted...] --------------snap--------------------- I think I didn't set up kbuild 2.5 correctly. I am not a kbuild expert so please forgive me if this is a newbie question: Can somebody help me out with working Makefile.in's for 2.4 XFS CVS tree and kbuild 2.5 Version 3.0? It would be great to supply the 2.4 XFS kernel tree in the SGI CVS ready for kbuild 2.5. Many thanks, and keep up the good work, I enjoy XFS very much! Jörg