[Gluster-devel] Re: Gluster code compilation problem

Harshavardhana harsha at zresearch.com
Mon Mar 17 13:09:23 UTC 2008


Hi Mahesh,

   i am not able to reproduce your problem. Have you changed anything in the
   CPPFLAGS, CFLAGS ? inside the external/pdsh.mk file?

   Let me know.

Regards
> linux-2.6.23.9.tar.gz is not present of the FTP site, i would request
>    if you have all the updated tarballs please upload them.
>
> And srinivas
>
>    "make iso" should not be used directly, you should use "make all" or
>    "make build-all" && "make iso" . INSTALL file gives info about
>    "make iso" which is wrong at the moment we need to fix it.
>
>    Let me know if you have any issues.
>
> Regards
> HarshavardhanHi,
>
> With some modifications to the package names in the
> external/<package_name>.mk files I am able to solve the initial problem.
> But now I am getting another error in slurm package.
>
> ===========================================================
> In file included from slurm.c:39:
> .../../src/common/hostlist.h:57: error: redefinition of typedef
> 'hostlist_t'
> /scratch/maheshk/gluster--mainline--1.1/destdir_pkg_x86_64/opt/gluster/include/slurm/slurm.h:1800:
> error: previous declaration of 'hostlist_t' was here
> In file included from ../../src/pdsh/opt.h:36,
>                  from ../../src/pdsh/mod.h:33,
>                  from slurm.c:46:
> .../../src/common/macros.h:59: error: expected identifier before numeric
> constant
> .../../src/common/macros.h:59: error: two or more data types in
> declaration specifiers
> .../../src/common/macros.h:59: warning: useless storage class specifier in
> empty declaration
> make[6]: *** [slurm.lo] Error 1
> make[6]: Leaving directory
> `/scratch/maheshk/gluster--mainline--1.1/build_pkg_x86_64/pdsh-2.10/src/modules'
> make[5]: *** [all] Error 2
> make[5]: Leaving directory
> `/scratch/maheshk/gluster--mainline--1.1/build_pkg_x86_64/pdsh-2.10/src/modules'
> make[4]: *** [all-recursive] Error 1
> make[4]: Leaving directory
> `/scratch/maheshk/gluster--mainline--1.1/build_pkg_x86_64/pdsh-2.10/src'
> make[3]: *** [all-recursive] Error 1
> make[3]: Leaving directory
> `/scratch/maheshk/gluster--mainline--1.1/build_pkg_x86_64/pdsh-2.10'
> make[2]: *** [all] Error 2
> make[2]: Leaving directory
> `/scratch/maheshk/gluster--mainline--1.1/build_pkg_x86_64/pdsh-2.10'
> make[1]: *** [pdsh.pkg] Error 2
> make[1]: Leaving directory `/scratch/maheshk/gluster--mainline--1.1'
> make: *** [all] Error 2
> ===========================================================
>
> Is there any patch to solve this problem?
>
> -Mahesh
>
>
> ---------------------------------
>  Get the freedom to save as many mails as you wish. Click here to know
> how.


-- 
Harshavardhana
"Software gets slower faster as Hardware gets faster"






More information about the Gluster-devel mailing list