Re: Compile Issues

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 8/2/05, Patrick Caulfield <pcaulfie@xxxxxxxxxx> wrote:
> Q.L wrote:
> > On 8/2/05, Patrick Caulfield <pcaulfie@xxxxxxxxxx> wrote:
> >
> >>Q.L wrote:
> >>
> >>>Hi, Patrick,
> >>>
> >>>Could you share me the instructions to build against kernel 2.6.12.2?
> >>>
> >>
> >>
> >>Certainly:
> >>
> >>./configure --kernel_src=<path-to-kernel-src>
> >>make
> >>
> >>
> >
> > Yes, I know that option, but to me, output just like this, it then make error.
> >
> > [root@buckupy cluster-1.00.00]# ./configure --kernel_src=/usr/src/linux-2.6.9
> > configure cman-kernel
> >
> > Configuring Makefiles for your system...
> > Can't open /usr/src/linux-2.6.9/include/linux/version.h at ./configure line 95.
> > configure dlm-kernel
> >
> 
> 
> Have you configured the kernel source using make menuconfig ?
> 
> 
Thanks! and this time I ran:
# cd /usr/src/linux-2.6.9
# find /path/to/cluster -name '*.patch' | xargs cat | patch -t -p1
it seems ok, but no following options in .config
# GFS-specific
CONFIG_LOCK_HARNESS=m
CONFIG_GFS_FS=m
CONFIG_LOCK_NOLOCK=m
CONFIG_LOCK_DLM=m
CONFIG_LOCK_GULM=m

further more, when I run above instructions in linux-2.6.12 source
tree, it reports many conflicts... see following:
[root@buckupy linux-2.6.12]# find /home/share/cluster-1.00.00 -name
'*.patch' | xargs cat | patch -t -p1
patching file arch/alpha/Kconfig
Hunk #1 succeeded at 608 (offset 8 lines).
patching file arch/arm/Kconfig
Hunk #1 succeeded at 744 (offset 54 lines).
patching file arch/arm26/Kconfig
Hunk #1 FAILED at 222.
1 out of 1 hunk FAILED -- saving rejects to file arch/arm26/Kconfig.rej
patching file arch/cris/Kconfig
Hunk #1 succeeded at 178 (offset 4 lines).
patching file arch/i386/Kconfig
Hunk #1 succeeded at 1263 with fuzz 2 (offset 69 lines).
patching file arch/ia64/Kconfig
Hunk #1 succeeded at 441 (offset 51 lines).
patching file arch/m68k/Kconfig
Hunk #1 succeeded at 668 (offset 13 lines).
patching file arch/mips/Kconfig
Hunk #1 FAILED at 1563.

Thanks!!

Q.L

> --
> 
> patrick
> 
> --
> 
> Linux-cluster@xxxxxxxxxx
> http://www.redhat.com/mailman/listinfo/linux-cluster
>

--

Linux-cluster@xxxxxxxxxx
http://www.redhat.com/mailman/listinfo/linux-cluster

[Index of Archives]     [Corosync Cluster Engine]     [GFS]     [Linux Virtualization]     [Centos Virtualization]     [Centos]     [Linux RAID]     [Fedora Users]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite Camping]

  Powered by Linux