The attached patch file allows cross compilation & installation of
1.5.95 using a 2.6.18 vanilla kernel. Ultimately very few changes were
required. 
Configure line to cross compile and install in the target Linux
directory.
    sh configure --host=armv5l-linux --target=armv5l-linux
--with-linux=/home/tsnider/linux-2.6.18.3 --disable-liblustre
--prefix=/home/tsnider/linux-2.6.18.3
--exec-prefix=/home/tsnider/linux-2.6.18.3
 
Synopsis of changes in patch file:
 
lustre-1.5.95/configure:                                
    pay attention to the --prefix and --exec-prefix specifications.
This is the change that allows cross compiles / installs to occur
correctly.
 
lustre-1.5.95/lustre/utils/llverfs.c &&
lustre-1.5.95/lustre/utils/mkfs_lustre.c 
        change return value of getopt_long call from long to char.
Enables correct parameter scanning.  These have already been
incorporated.
 
There were a few compiler complaints. I don't know if they were due to
my unique build environment / kernel version or if these are 'real'
problems. They're included for reference.
 
        lustre-1.5.95/home/tsnider/super.cPatch:      
            Create a super.cPatch file that adds include of utsname.h.
 
        lustre-1.5.95/lustre/include/linux/lustre_types.h  &
lustre-1.5.95/lustre/include/lustre/lustre_idl.h    
            Comment out include <linux/lustre_types.h> 
 
 
lustre-1.5.95/lustre/kernel_patches/patches/ext3-utsname-2.6.18-vanilla.
patch
        add patch for super.c 
 
        linux-2.6.18/fs/ext3/super.c
            add include of utsName.h    

Take them (or not) as you desire.

Timothy Snider 
Storage Architect
Strategic Planning, Technology and Architecture

LSI Logic Corporation
3718 North Rock Road
Wichita, KS 67226
(316) 636-8736 
[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>  

Attachment: embedded.1.5.95.patch
Description: embedded.1.5.95.patch

_______________________________________________
Lustre-devel mailing list
[email protected]
https://mail.clusterfs.com/mailman/listinfo/lustre-devel

Reply via email to