Dear GNU make developers,

when I try to make gnu make under IRIX 6.2, configure stops at this point:

    checking for stpcpy... no
    Argument expected

When I try to make it under IRIX 6.5, it gets beyound that point,
but still prints an error message:

    checking for stpcpy... no
    ./configure[2781]: test: argument expected

This happens with make-3.79.1.tar.gz from ftp://ftp.gnu.org/gnu/make/.

Did you really mean 'stpcpy', not 'strcpy' ??
I just tried it and replaced 'stpcpy' by 'strcpy'.
I still get the same err msg as above,
but 'make check' says that all tests are ok.


In addition, I get several compiler err msg:

1.

cc-1020 cc: ERROR File = main.c, Line = 818
  The identifier "LC_ALL" is undefined.

    setlocale (LC_ALL, "");
               ^
which can be solved by manually defining HAVE_LOCALE_H in config.h
I have no idea why configure didn't detect locale.h, because it's
in  /usr/include/locale.h alright.


2.

cc-1029 cc: ERROR File = gettext.h, Line = 29
  An expression is expected at this point.

  #if HAVE_LOCALE_H
                   ^

which can be solved by changing the line to 

    #ifdef HAVE_LOCALE_H



3.

cc-1047 cc: WARNING File = gettext.h, Line = 57
  Macro "LC_MESSAGES" (declared at line 58 of "/usr/include/locale.h") has
an
          incompatible redefinition.

  # define LC_MESSAGES (-1)
           ^

which can be solved by manually defining HAVE_LC_MESSAGES in config.h


4.

cc-1029 cc: ERROR File = gettext.h, Line = 53
  An expression is expected at this point.

  #if !HAVE_LC_MESSAGES
                       ^

which can be solved by changing that line to

    #ifndef HAVE_LC_MESSAGES



You might also be interested in some warnings of the SGI compiler,
which might indicate potential problems:

cc-1177 cc: WARNING File = glob.c, Line = 814
  The indicated argument is incompatible with the corresponding formal
parameter
.

            = (char **) realloc (pglob->gl_pathv,
                                 ^

cc-1177 cc: WARNING File = glob.c, Line = 933
  The indicated argument is incompatible with the corresponding formal
parameter
.

                = (char **) realloc (pglob->gl_pathv,
                                     ^

cc-1177 cc: WARNING File = glob.c, Line = 988
  The indicated argument is incompatible with the corresponding formal
parameter
.

              new_pathv = (char **) realloc (pglob->gl_pathv,
                                             ^

cc-1188 cc: WARNING File = glob.c, Line = 1086
  The indicated type qualifier is meaningless on cast type.

    const char *const s1 = *(const char *const * const) a;
                             ^

cc-1188 cc: WARNING File = glob.c, Line = 1087
  The indicated type qualifier is meaningless on cast type.

    const char *const s2 = *(const char *const * const) b;
                             ^

cc-1177 cc: WARNING File = glob.c, Line = 1379
  The indicated argument is incompatible with the corresponding formal
parameter
.

        = (char **) realloc (pglob->gl_pathv,
                             ^

cc-1164 cc: WARNING File = function.c, Line = 162
  Argument of type "int *" is incompatible with parameter of type
          "unsigned int *".

    while ((t = find_next_token (&text, &len)) != 0)

cc-1047 cc: WARNING File = /usr/include/locale.h, Line = 58
  Macro "LC_MESSAGES" (declared at line 57 of "gettext.h") has an
incompatible
          redefinition.

  #define LC_MESSAGES   5
          ^

-- 
/---------------------------------------------------------------------\
| What if you slept?  And what if, in your sleep, you dreamed?        |
| And what if, in your dream, you went to heaven and there plucked a  |
| strange and beautiful flower?  And what if, when you awoke,         |
| you had the flower in your hand?  Ah, what then?        (Coleridge) |
|                                                                     |
| [EMAIL PROTECTED]          [EMAIL PROTECTED]        [EMAIL PROTECTED] |
| www.igd.fhg.de/~zach/    www.gab.cx        __@/'                    |
\---------------------------------------------------------------------/

Reply via email to