Menu

compilation error version 8.0

2006-11-30
2012-12-11
  • Nobody/Anonymous

    eggregex.c: In function `expand_escape':
    eggregex.c:1617: syntax error before "G_GSSIZE_FORMAT"
    make[6]: *** [eggregex.lo] Error 1
    make[6]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0/moo/mooutils'
    make[5]: *** [all-recursive] Error 1
    make[5]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0/moo/mooutils'
    make[4]: *** [all] Error 2
    make[4]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0/moo/mooutils'
    make[3]: *** [all-recursive] Error 1
    make[3]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0/moo'
    make[2]: *** [all] Error 2
    make[2]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0/moo'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/hosts/linuxhome/falcon/boris2/programs/src/medit-0.8.0'
    make: *** [all] Error 2

    from eggrerg.c:

    error:
      tmp_error = g_error_new (EGG_REGEX_ERROR,
                   EGG_REGEX_ERROR_REPLACE,
                   _("Error while parsing replacement "
                     "text \"%s\" at char %" G_GSSIZE_FORMAT ": %s"),
                   replacement,
                   p - replacement,
                   error_detail);
      g_propagate_error (error, tmp_error);

      return NULL;
    }

     
    • Yevgen Muntyan

      Yevgen Muntyan - 2006-11-30

      Looks like you can fix it by replacing
      "G_GSSIZE_FORMAT"
      with
      %d
      Note the quotes around G_GSSIZE_FORMAT, you need to remove them
      from the code.

      But, what's your OS/distribution, any details you can provide about
      your system? E.g. output of
      uname -a
      pkg-config --modversion gtk+-2.0
      pkg-config --modversion glib-2.0

       
    • Yevgen Muntyan

      Yevgen Muntyan - 2006-11-30

      Oops, I made a mistake: you need to replace
      " G_GSSIZE_FORMAT "
      with
      d

      so that the line
      "text \"%s\" at char %" G_GSSIZE_FORMAT ": %s"),
      becomes
      "text \"%s\" at char %d: %s"),

      Still, I need more information to at least know if this thing
      is indeed the cause of error.

       

Log in to post a comment.

MongoDB Logo MongoDB