Re: ./configure, make , make install problem on gentoo linux with a 2.6.11 kernel

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

 



David:

I tried cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout -r FC4 cluster/gfs AND cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout -r FC4 cluster/gfs-kernel respectively.  When I did this if did NOT get all the same stuff as when I did the cvs commands as listed at http://sources.redhat.com/cluster/gfs/.  When I cd into the cluster directory now I see:

oragrid5 cluster # pwd
/root/cluster
oragrid5 cluster # ls -la
total 20
drwxrwxr-x   5  500  500 4096 May 23 10:12 .
drwx------  22 root root 4096 May 23 10:17 ..
drwxrwxr-x   2  500  500 4096 May 23 10:12 CVS
drwxrwxr-x  19  500  500 4096 May 23 10:12 gfs
drwxrwxr-x   7  500  500 4096 May 23 10:12 gfs-kernel
oragrid5 cluster #

When I do the .configure in the gfs directory I see:

oragrid5 gfs # ./configure --kernel_src=/usr/src/linux-2.6.11-gentoo-r6

Configuring Makefiles for your system...
Completed Makefile configuration

oragrid5 gfs #

So, of course I think that i mught just have success.  However, when I do a make I see:

oragrid5 gfs # make
cd gfs_edit && make all
make[1]: Entering directory `/root/cluster/gfs/gfs_edit'
gcc -Wall -I../include -I../config -I//usr/include -DHELPER_PROGRAM -D_FILE_OFFSET_BITS=64 -DGFS_RELEASE_NAME=\"DEVEL.1116861794\" -I../include -I../config -I//usr/include  gfshex.c hexedit.c ondisk.c   -o gfs_edit
gfshex.c:24:30: linux/gfs_ondisk.h: No such file or directory
gfshex.c:50: warning: `struct gfs_dinode' declared inside parameter list
gfshex.c:50: warning: its scope is only this definition or declaration, which is probably not what you want
gfshex.c: In function `do_dinode_extended':
gfshex.c:53: error: storage size of `de' isn't known
gfshex.c:57: error: dereferencing pointer to incomplete type
gfshex.c:61: error: invalid application of `sizeof' to an incomplete type
gfshex.c:65: warning: implicit declaration of function `gfs64_to_cpu'
gfshex.c:73: error: dereferencing pointer to incomplete type
gfshex.c:73: error: `GFS_FILE_DIR' undeclared (first use in this function)
gfshex.c:73: error: (Each undeclared identifier is reported only once
gfshex.c:73: error: for each function it appears in.)
gfshex.c:74: error: dereferencing pointer to incomplete type
gfshex.c:74: error: `GFS_DIF_EXHASH' undeclared (first use in this function)
gfshex.c:78: error: invalid application of `sizeof' to an incomplete type
gfshex.c:81: warning: implicit declaration of function `gfs_dirent_in'
gfshex.c:83: warning: implicit declaration of function `gfs_dirent_print'
gfshex.c:83: error: invalid application of `sizeof' to an incomplete type
gfshex.c:88: error: dereferencing pointer to incomplete type
gfshex.c:89: error: dereferencing pointer to incomplete type
gfshex.c:90: error: dereferencing pointer to incomplete type
gfshex.c:94: error: invalid application of `sizeof' to an incomplete type
gfshex.c:97: error: invalid application of `sizeof' to an incomplete type
gfshex.c:98: error: dereferencing pointer to incomplete type
gfshex.c:112: error: dereferencing pointer to incomplete type
gfshex.c:53: warning: unused variable `de'
gfshex.c: In function `do_indirect_extended':
gfshex.c:142: error: invalid application of `sizeof' to an incomplete type
gfshex.c: In function `do_leaf_extended':
gfshex.c:170: error: storage size of `de' isn't known
gfshex.c:176: error: invalid application of `sizeof' to an incomplete type
gfshex.c:181: error: invalid application of `sizeof' to an incomplete type
gfshex.c:170: warning: unused variable `de'
gfshex.c: In function `do_eattr_extended':
gfshex.c:204: error: storage size of `ea' isn't known
gfshex.c:210: error: invalid application of `sizeof' to an incomplete type
gfshex.c:213: warning: implicit declaration of function `gfs_ea_header_in'
gfshex.c:214: warning: implicit declaration of function `gfs_ea_header_print'
gfshex.c:214: error: invalid application of `sizeof' to an incomplete type
gfshex.c:204: warning: unused variable `ea'
gfshex.c: In function `display_gfs':
gfshex.c:239: error: storage size of `mh' isn't known
gfshex.c:240: error: storage size of `sb' isn't known
gfshex.c:241: error: storage size of `rg' isn't known
gfshex.c:242: error: storage size of `di' isn't known
gfshex.c:243: error: storage size of `lf' isn't known
gfshex.c:244: error: storage size of `lh' isn't known
gfshex.c:245: error: storage size of `ld' isn't known
gfshex.c:257: warning: implicit declaration of function `gfs32_to_cpu'
gfshex.c:262: error: `GFS_MAGIC' undeclared (first use in this function)
gfshex.c:263: warning: implicit declaration of function `gfs_meta_header_in'
gfshex.c:267: error: `GFS_METATYPE_SB' undeclared (first use in this function)
gfshex.c:269: warning: implicit declaration of function `gfs_sb_in'
gfshex.c:270: warning: implicit declaration of function `gfs_sb_print'
gfshex.c:278: error: `GFS_METATYPE_RG' undeclared (first use in this function)
gfshex.c:280: warning: implicit declaration of function `gfs_rgrp_in'
gfshex.c:281: warning: implicit declaration of function `gfs_rgrp_print'
gfshex.c:289: error: `GFS_METATYPE_RB' undeclared (first use in this function)
gfshex.c:291: warning: implicit declaration of function `gfs_meta_header_print'
gfshex.c:299: error: `GFS_METATYPE_DI' undeclared (first use in this function)
gfshex.c:301: warning: implicit declaration of function `gfs_dinode_in'
gfshex.c:302: warning: implicit declaration of function `gfs_dinode_print'
gfshex.c:310: error: `GFS_METATYPE_LF' undeclared (first use in this function)
gfshex.c:312: warning: implicit declaration of function `gfs_leaf_in'
gfshex.c:313: warning: implicit declaration of function `gfs_leaf_print'
gfshex.c:321: error: `GFS_METATYPE_IN' undeclared (first use in this function)
gfshex.c:331: error: `GFS_METATYPE_JD' undeclared (first use in this function)
gfshex.c:341: error: `GFS_METATYPE_LH' undeclared (first use in this function)
gfshex.c:343: warning: implicit declaration of function `gfs_log_header_in'
gfshex.c:344: warning: implicit declaration of function `gfs_log_header_print'
gfshex.c:352: error: `GFS_METATYPE_LD' undeclared (first use in this function)
gfshex.c:354: warning: implicit declaration of function `gfs_desc_in'
gfshex.c:355: warning: implicit declaration of function `gfs_desc_print'
gfshex.c:363: error: `GFS_METATYPE_EA' undeclared (first use in this function)
gfshex.c:373: error: `GFS_METATYPE_ED' undeclared (first use in this function)
gfshex.c:239: warning: unused variable `mh'
gfshex.c:240: warning: unused variable `sb'
gfshex.c:241: warning: unused variable `rg'
gfshex.c:242: warning: unused variable `di'
gfshex.c:243: warning: unused variable `lf'
gfshex.c:244: warning: unused variable `lh'
gfshex.c:245: warning: unused variable `ld'
hexedit.c:25:30: linux/gfs_ondisk.h: No such file or directory
In file included from hexedit.c:29:
hexedit.h:33: error: `GFS_BASIC_BLOCK' undeclared here (not in a function)
hexedit.c: In function `run_command':
hexedit.c:181: error: `GFS_BASIC_BLOCK' undeclared (first use in this function)
hexedit.c:181: error: (Each undeclared identifier is reported only once
hexedit.c:181: error: for each function it appears in.)
ondisk.c:19:30: linux/gfs_ondisk.h: No such file or directory
ondisk.c:25:30: linux/gfs_ondisk.h: No such file or directory
make[1]: *** [gfs_edit] Error 1
make[1]: Leaving directory `/root/cluster/gfs/gfs_edit'
make: *** [all] Error 2
oragrid5 gfs #

As well, if I do a ./configure then a make in the gfs-kernel directory I see:

oragrid5 gfs-kernel # make
cd src && make all
make[1]: Entering directory `/root/cluster/gfs-kernel/src'
cd harness && make all
make[2]: Entering directory `/root/cluster/gfs-kernel/src/harness'
rm -f linux
ln -s . linux
make -C /usr/src/linux-2.6.11-gentoo-r6 M=/root/cluster/gfs-kernel/src/harness symverfile=/usr/src/linux-2.6.11-gentoo-r6/../kernel/cluster/dlm.symvers modules USING_KBUILD=yes
make[3]: Entering directory `/usr/src/linux-2.6.11-gentoo-r6'
make[3]: *** No rule to make target `modules'.  Stop.
make[3]: Leaving directory `/usr/src/linux-2.6.11-gentoo-r6'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/root/cluster/gfs-kernel/src/harness'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/root/cluster/gfs-kernel/src'
make: *** [all] Error 2
oragrid5 gfs-kernel #

What gives?  Thanks in advance for all of your help.

-- 
James

"You know you've achieved perfection in design and development, not when you have nothing more to add, but when you have nothing more to take away." -- Antione de Saint-Exupery




David Teigland wrote:
On Sun, May 22, 2005 at 10:22:58PM -0500, James Eastman wrote:

  
As you can see I'm running a 2.6.11 kernel.  So I decide to get the latest 
CVS snapshot and began my compiling adventure.  Here're the CVS comands I 
ran to get the latest source code:

cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster login cvs
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout cluster/gfs
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout 
cluster/gfs-kernel
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout cluster/gfs2
cvs -d :pserver:cvs@xxxxxxxxxxxxxxxxxx:/cvs/cluster checkout 
cluster/gfs2-kernel
    

Code on the cvs head is in the middle of an overhaul; it doesn't all work,
and the pieces that do work don't all work together yet.  So, you need to
use the FC4 cvs branch which will come closest to matching 2.6.11.

Dave
  
--

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