gluster-devel
[Top][All Lists]
Advanced

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

Re: [Gluster-devel] GlusterFS make - Problem


From: Samuel Hassine
Subject: Re: [Gluster-devel] GlusterFS make - Problem
Date: Tue, 27 Oct 2009 00:32:40 +0100
User-agent: Thunderbird 2.0.0.23 (Windows/20090812)

Hi,

I put the grep results in the attached file.
But I think its not a GlusterFS problem, but a Solaris one.
Do you have any idea about the missing header files ?

Thanks.

Regards.
Sam

Harshavardhana wrote:
Hi Samuel,

We have tested the server side with version from Solaris 10u5. It must be really related to header files missing. can you ggrep for "va_list" in /usr/include?.

Regards
--
Harshavardhana
Gluster - http://www.gluster.com


On Mon, Oct 26, 2009 at 5:03 AM, Samuel Hassine <address@hidden <mailto:address@hidden>> wrote:

    Hi,

    Thanks for your prompt answer.

    Im using the version :
    address@hidden:~# uname -a
    SunOS xxxx 5.11 snv_111b i86pc i386 i86pc

    Any idea ?

    Regards.

    Harshavardhana wrote:

        Hi Samuel,

           May i know the solaris version you are running?

        Regards
        --
        Harshavardhana
        Gluster - http://www.gluster.com


        On Mon, Oct 26, 2009 at 2:47 AM, Samuel Hassine
        <address@hidden <mailto:address@hidden>
        <mailto:address@hidden
        <mailto:address@hidden>>> wrote:

           I found something here: http://patches.gluster.com/patch/720/
           But I dont know if it is the right solution and I didnt
        find any
           other information about the va_list bug.
           Anyone know something about this?

           Thanks again.
           Sam

           Samuel Hassine wrote:

               Hello all,

               I followed this guide:
http://www.gluster.com/community/documentation/index.php/GlusterFS_on_Solaris
               in order to install glusterFS on Solaris platform.

               I used these commands:
               # pkg install SUNWarc SUNWhea SUNWbinutils
               # pkg uninstall SUNWgccruntime
               # pkg install SUNWgcc

               # pkgadd -d http://www.opencsw.org/pkg_get.pkg
               # export PATH="/opt/csw/bin:/usr/sfw/bin:$PATH"
               # pkg-get -U

               # pkg-get install automake autoconf bison flex libtool git
               gsed gmake
               # cd /opt/csw/bin
               # ln -s gmake make

               # cd /usr/src
               # git clone git://git.sv.gnu.org/gluster.git
        <http://git.sv.gnu.org/gluster.git>
               <http://git.sv.gnu.org/gluster.git> glusterfs

               # cd glusterfs
               # git checkout -b release-2.0 origin/release-2.0
               # git pull
               # ./autogen.sh
               # LDFLAGS="-L/opt/csw/lib" ./configure
        --disable-fuse-client
               --disable-ibverbs --prefix=/opt/glusterfs
               # gmake CFLAGS="-g -O0" LDFLAGS="-L/opt/csw/lib"

               But I had a problem during the execution of make command :

               In file included from dict.c:35:
               compat.h:222: error: syntax error before "va_list"
               gmake[3]: *** [libglusterfs_la-dict.lo] Error 1

               Im looking for a solution to avoid this error.

               Anybody could help me ? Did you try to install glusterFS
               (server side) on this platform ?

               Thanks for your answers.

               Kind regards.
               Sam





               _______________________________________________
               Gluster-devel mailing list
               address@hidden
        <mailto:address@hidden>
        <mailto:address@hidden
        <mailto:address@hidden>>

               http://lists.nongnu.org/mailman/listinfo/gluster-devel



           _______________________________________________
           Gluster-devel mailing list
           address@hidden <mailto:address@hidden>
        <mailto:address@hidden
        <mailto:address@hidden>>

           http://lists.nongnu.org/mailman/listinfo/gluster-devel




address@hidden:/usr/include# ggrep va_list *
apptrace.h:extern int (*ABI_VFPRINTF)(FILE *, const char *, va_list);
apptrace.h:extern int (*ABI_VFWPRINTF)(FILE *, const wchar_t *, va_list);
apptrace.h:extern int (*ABI_VPRINTF)(const char *, va_list);
apptrace.h:extern int (*ABI_VSNPRINTF)(char *, size_t, const char *, va_list);
apptrace.h:extern int (*ABI_VSPRINTF)(char *, const char *, va_list);
apptrace.h:extern int (*ABI_VSWPRINTF)(wchar_t *, size_t, const wchar_t *, 
va_list);
apptrace.h:extern int (*ABI_VWPRINTF)(const wchar_t *, va_list);
curses.h:               /* __va_list is the ANSI-C safe definition of the       
*/
curses.h:               /* va_list type as allowed to be defined in stdlib.h.   
*/
curses.h:               /* <stdio.h> provides the nested include of <va_list.h> 
*/
curses.h:extern int vwprintw(WINDOW *, char *, __va_list);
curses.h:extern int vwscanw(WINDOW *, char *, __va_list);
err.h:void verr(int, const char *, va_list);
err.h:void verrx(int, const char *, va_list);
err.h:void vwarn(const char *, va_list);
err.h:void vwarnx(const char *, va_list);
pfmt.h:int vpfmt(FILE *, long, const char *, va_list);
pfmt.h:int vlfmt(FILE *, long, const char *, va_list);
stdarg.h: * in <sys/va_list.h>.  This organization enables protected use of
stdarg.h:using std::va_list;
stdio.h: * XPG4 requires that va_list be defined in <stdio.h> "as described in
stdio.h:typedef __va_list va_list;
stdio.h:extern int vasprintf(char **, const char *, __va_list);
syslog.h:#include <sys/va_list.h>
syslog.h:void vsyslog(int, const char *, __va_list);
tcl.h: * initializes the va_list data structure and returns the first argument.
tclDecls.h:                             va_list argList));
tclDecls.h:                             Tcl_Obj * objPtr, va_list argList));
tclDecls.h:                             va_list argList));
tclDecls.h:                             va_list argList));
tclDecls.h:                             va_list argList));
tclDecls.h:    void (*tcl_AppendResultVA) _ANSI_ARGS_((Tcl_Interp * interp, 
va_list argList)); /* 267 */
tclDecls.h:    void (*tcl_AppendStringsToObjVA) _ANSI_ARGS_((Tcl_Obj * objPtr, 
va_list argList)); /* 268 */
tclDecls.h:    void (*tcl_SetErrorCodeVA) _ANSI_ARGS_((Tcl_Interp * interp, 
va_list argList)); /* 275 */
tclDecls.h:    int (*tcl_VarEvalVA) _ANSI_ARGS_((Tcl_Interp * interp, va_list 
argList)); /* 276 */
tclDecls.h:    void (*tcl_PanicVA) _ANSI_ARGS_((CONST char * format, va_list 
argList)); /* 278 */
utility.h:extern char * _makearg(FIELDTYPE *, va_list *, int *);
varargs.h:typedef __va_list va_list;
wchar.h: * XPG6 requires that va_list be defined as defined in <stdarg.h>,
wchar.h:typedef __va_list va_list;
address@hidden:/usr/include#

reply via email to

[Prev in Thread] Current Thread [Next in Thread]