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 ------------------------------------------------------- Sponsored by: ThinkGeek at http://www.ThinkGeek.com/ _______________________________________________ kbuild-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/kbuild-devel