bug-gnu-utils
[Top][All Lists]
Advanced

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

id-utils-4.0: build feedback


From: Nelson H. F. Beebe
Subject: id-utils-4.0: build feedback
Date: Mon, 26 Dec 2005 10:29:33 -0700 (MST)

I made installation attempts for id-utils-4.0 this morning on about 20
flavors of Unix.

In general, only builds with gcc succeeded, and even then, on
Compaq/DEC Alpha OSF/1 4.0, I had to correct the generated library
paths to remove duplicate -lc specifications.

The problems include lack of function prototypes (probably because of
missing #include directives), mixing of integer and enum data, and
missing library functions (alloca(), basename(), and dirname()).

I was ultimately able to get successful builds with gcc on all but one
system: SGI IRIX 6.5 MIPS, where missing library routines prevent
builds with all compilers tested (c89, cc, and gcc).

Here is a summary of compiler warnings and errors from the systems
where builds failed:

------------------------------------------------------------------------

Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
Remote gcc version:     gcc (GCC) 3.4.3
Remote g++ version:     g++ (GCC) 3.4.3
Configure environment:  CC=gcc CFLAGS=-I/usr/local/include CXX=g++ 
CXXFLAGS=-I/usr/local/include LDFLAGS=-Wl,-rpath,/usr/local/libn32

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -MT scanners.o -MD -MP -MF ".deps/scanners.Tpo" -c -o 
scanners.o scanners.c; \
then mv -f ".deps/scanners.Tpo" ".deps/scanners.Po"; else rm -f 
".deps/scanners.Tpo"; exit 1; fi
scanners.c: In function `language_save_arg':
scanners.c:95: warning: initialization makes pointer from integer without a cast
scanners.c:105: warning: assignment makes pointer from integer without a cast
scanners.c: In function `tokenize_args_string':
scanners.c:295: warning: assignment makes pointer from integer without a cast
scanners.c:299: warning: assignment makes pointer from integer without a cast

if gcc -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -MT walker.o -MD -MP -MF ".deps/walker.Tpo" -c -o walker.o 
walker.c; \
then mv -f ".deps/walker.Tpo" ".deps/walker.Po"; else rm -f ".deps/walker.Tpo"; 
exit 1; fi
walker.c: In function `append_strings_to_vector':
walker.c:505: warning: assignment makes pointer from integer without a cast
walker.c: In function `vectorize_string':
walker.c:679: warning: assignment makes pointer from integer without a cast
walker.c:686: warning: assignment makes pointer from integer without a cast


gcc  -I/usr/local/include  -Wl,-rpath,/usr/local/libn32 -o mkid  mkid.o 
../libidu/libidu.a /usr/local/lib/libintl.so -L/usr/local/lib 
/usr/local/lib/libiconv.so -lc -Wl,-rpath -Wl,/usr/local/lib ../lib/libgnu.a
ld32: ERROR   33 : Unresolved text symbol "dirname" -- 1st referenced by mkid.o.
        Use linker option -v to see when and which objects, archives and dsos 
are loaded.
ld32: ERROR   33 : Unresolved text symbol "basename" -- 1st referenced by 
mkid.o.
        Use linker option -v to see when and which objects, archives and dsos 
are loaded.

------------------------------------------------------------------------

Machinetype:            SGI Origin/200-4 (180 MHz) (4 CPUs); IRIX 6.5
Remote c89 version:     MIPSpro Compilers: Version 7.3.1.3m
Configure environment:  CC=c89 CXX=CC CFLAGS=-I/usr/local/include 
CXXFLAGS=-I/usr/local/include LDFLAGS=-Wl,-rpath,/usr/local/libn32

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c closeout.c
cc-1185 c89: WARNING File = closeout.c, Line = 76
  An enumerated type is mixed with another type.

    bool prev_fail = ferror (stdout);
                     ^

cc-1185 c89: WARNING File = closeout.c, Line = 77
  An enumerated type is mixed with another type.

    bool none_pending = (0 == __fpending (stdout));
                        ^

cc-1185 c89: WARNING File = closeout.c, Line = 78
  An enumerated type is mixed with another type.

    bool fclose_fail = fclose (stdout);
                       ^

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c exclude.c
cc-1185 c89: WARNING File = exclude.c, Line = 54
  An enumerated type is mixed with another type.

    return IN_CTYPE_DOMAIN (c) && isspace (c);
           ^

cc-1185 c89: WARNING File = exclude.c, Line = 144
  An enumerated type is mixed with another type.

      return false;
             ^

cc-1185 c89: WARNING File = exclude.c, Line = 151
  An enumerated type is mixed with another type.

        bool excluded = !! (exclude[0].options & EXCLUDE_INCLUDE);
                        ^

cc-1185 c89: WARNING File = exclude.c, Line = 165
  An enumerated type is mixed with another type.

              bool matched = ((*matcher) (pattern, f, options) == 0);
                             ^

cc-1185 c89: WARNING File = exclude.c, Line = 171
  An enumerated type is mixed with another type.

                    matched = ((*matcher) (pattern, p + 1, options) == 0);
                            ^

cc-1185 c89: WARNING File = exclude.c, Line = 207
  An enumerated type is mixed with another type.

    bool use_stdin = file_name[0] == '-' && !file_name[1];
                     ^



c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c fnmatch.c
cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 44
  An enumerated type is mixed with another type.

        bool new_no_leading_period = false;
                                     ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 166
  An enumerated type is mixed with another type.

                  for (--p; n < endp; ++n, no_leading_period2 = false)
                                                              ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 176
  An enumerated type is mixed with another type.

                      && (FCT (p, n + 1, string_end, flags & FNM_PERIOD, flags)
                                                     ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 191
  An enumerated type is mixed with another type.

                        && (FCT (p, n, string_end, no_leading_period2, flags2)
                                                   ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 220
  An enumerated type is mixed with another type.

            not = (*p == L('!') || (posixly_correct < 0 && *p == L('^')));
                ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 413
  An enumerated type is mixed with another type.

                    bool is_range = false;
                                    ^

cc-1548 c89: WARNING File = fnmatch_loop.c, Line = 268
  The transfer of control bypasses...

            ... the initialization of variable "is_range" (declared at line
                      413).
                            goto normal_bracket;
                            ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 589
  An enumerated type is mixed with another type.

                        is_range = (*p == L('-') && p[1] != L('\0')
                                 ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 932
  An enumerated type is mixed with another type.

              new_no_leading_period = true;
                                    ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 1102
  An enumerated type is mixed with another type.

                         rs == string
                         ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 1110
  An enumerated type is mixed with another type.

                                rs == string
                                ^

cc-1185 c89: WARNING File = fnmatch_loop.c, Line = 1157
  An enumerated type is mixed with another type.

                       rs == string
                       ^

cc-1185 c89: WARNING File = fnmatch.c, Line = 370
  An enumerated type is mixed with another type.

                           flags & FNM_PERIOD, flags);
                           ^


c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c getcwd.c
cc-1185 c89: WARNING File = getcwd.c, Line = 230
  An enumerated type is mixed with another type.

        mount_point = dotdev != thisdev;
                    ^

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c umaxtostr.c
cc-1183 c89: WARNING File = inttostr.c, Line = 36
  An unsigned integer is being compared to zero.

    if (i < 0)
          ^

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c mbchar.c
cc-1185 c89: WARNING File = mbchar.h, Line = 312
  An enumerated type is mixed with another type.

    return (is_basic_table [(unsigned char) c >> 5] >> ((unsigned char) c & 31))
           ^

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c quotearg.c
cc-1185 c89: WARNING File = quotearg.c, Line = 197
  An enumerated type is mixed with another type.

    bool backslash_escapes = false;
                             ^

cc-1185 c89: WARNING File = quotearg.c, Line = 198
  An enumerated type is mixed with another type.

    bool unibyte_locale = MB_CUR_MAX == 1;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 213
  An enumerated type is mixed with another type.

        backslash_escapes = true;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 219
  An enumerated type is mixed with another type.

        backslash_escapes = true;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 249
  An enumerated type is mixed with another type.

        backslash_escapes = true;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 411
  An enumerated type is mixed with another type.

                printable = isprint (c) != 0;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 419
  An enumerated type is mixed with another type.

                printable = true;
                          ^

cc-1185 c89: WARNING File = quotearg.c, Line = 432
  An enumerated type is mixed with another type.

                        printable = false;
                                  ^

cc-1185 c89: WARNING File = quotearg.c, Line = 437
  An enumerated type is mixed with another type.

                        printable = false;
                                  ^

cc-1185 c89: WARNING File = quotearg.c, Line = 461
  An enumerated type is mixed with another type.

                          printable = false;
                                    ^

c89 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  -I/usr/local/include 
-c regex.c
cc-1185 c89: WARNING File = regex_internal.h, Line = 490
  An enumerated type is mixed with another type.

    return BE (SIZE_MAX / s < n, 0);
           ^

cc-1185 c89: WARNING File = regex_internal.h, Line = 498
  An enumerated type is mixed with another type.

    return BE ((SIZE_MAX / s - 1) / 2 < n, 0);
           ^

cc-1185 c89: WARNING File = regex_internal.h, Line = 807
  An enumerated type is mixed with another type.

    return (set[i / BITSET_WORD_BITS] >> i % BITSET_WORD_BITS) & 1;
           ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1203
  An enumerated type is mixed with another type.

      return re_node_set_init_1 (set, elem) == REG_NOERROR;
             ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1210
  An enumerated type is mixed with another type.

        return true;
               ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1218
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1239
  An enumerated type is mixed with another type.

    return true;
           ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1256
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1262
  An enumerated type is mixed with another type.

    return true;
           ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1274
  An enumerated type is mixed with another type.

      return false;
             ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1277
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regex_internal.c, Line = 1278
  An enumerated type is mixed with another type.

    return true;
           ^

cc-1183 c89: WARNING File = regex_internal.c, Line = 1309
  An unsigned integer is being compared to zero.

    if (idx < 0 || idx >= set->nelem)
            ^

cc-1174 c89: WARNING File = regex_internal.c, Line = 1324
  The variable "type" was declared but never referenced.

    int type = token.type;
        ^

cc-1185 c89: WARNING File = regcomp.c, Line = 302
  An enumerated type is mixed with another type.

    bool icase = (dfa->mb_cur_max == 1 && (bufp->re_syntax & REG_IGNORE_CASE));
                 ^

cc-1185 c89: WARNING File = regcomp.c, Line = 757
  An enumerated type is mixed with another type.

                             syntax & REG_IGNORE_CASE, dfa);
                             ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1592
  An enumerated type is mixed with another type.

    incomplete = false;
               ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1602
  An enumerated type is mixed with another type.

          incomplete = false;
                     ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1614
  An enumerated type is mixed with another type.

        err = calc_eclosure_iter (&eclosure_elem, dfa, node_idx, true);
                                                                 ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1620
  An enumerated type is mixed with another type.

          incomplete = true;
                     ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1638
  An enumerated type is mixed with another type.

    incomplete = false;
               ^

cc-1552 c89: WARNING File = regcomp.c, Line = 1655
  The variable "org_node" is set but never used.

        Idx org_node, cur_node;
            ^

cc-1552 c89: WARNING File = regcomp.c, Line = 1655
  The variable "cur_node" is set but never used.

        Idx org_node, cur_node;
                      ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1672
  An enumerated type is mixed with another type.

            incomplete = true;
                       ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1679
  An enumerated type is mixed with another type.

            err = calc_eclosure_iter (&eclosure_elem, dfa, edest, false);
                                                                  ^

cc-1185 c89: WARNING File = regcomp.c, Line = 1691
  An enumerated type is mixed with another type.

            incomplete = true;
                       ^

cc-1185 c89: WARNING File = regcomp.c, Line = 2333
  An enumerated type is mixed with another type.

                                 token->type == OP_NOTWORD, err);
                                 ^

cc-1185 c89: WARNING File = regcomp.c, Line = 2342
  An enumerated type is mixed with another type.

                                 token->type == OP_NOTSPACE, err);
                                 ^

cc-1185 c89: WARNING File = regcomp.c, Line = 2963
  An enumerated type is mixed with another type.

    bool non_match = false;
                     ^

cc-1185 c89: WARNING File = regcomp.c, Line = 2966
  An enumerated type is mixed with another type.

    bool first_round = true;
                       ^

cc-1185 c89: WARNING File = regcomp.c, Line = 3009
  An enumerated type is mixed with another type.

        non_match = true;
                  ^

cc-1185 c89: WARNING File = regcomp.c, Line = 3032
  An enumerated type is mixed with another type.

        bool is_range_exp = false;
                            ^

cc-1185 c89: WARNING File = regcomp.c, Line = 3043
  An enumerated type is mixed with another type.

        first_round = false;
                    ^

cc-1185 c89: WARNING File = regcomp.c, Line = 3072
  An enumerated type is mixed with another type.

                is_range_exp = true;
                             ^

cc-1185 c89: WARNING File = regcomp.c, Line = 3080
  An enumerated type is mixed with another type.

                                       dfa, syntax, true);
                                                    ^

cc-1185 c89: WARNING File = regexec.c, Line = 287
  An enumerated type is mixed with another type.

    return re_search_stub (bufp, string, length, start, 0, length, regs, true);
                                                                         ^

cc-1185 c89: WARNING File = regexec.c, Line = 298
  An enumerated type is mixed with another type.

                         false);
                         ^

cc-1185 c89: WARNING File = regexec.c, Line = 311
  An enumerated type is mixed with another type.

                           start, 0, regs, stop, true);
                                                 ^

cc-1185 c89: WARNING File = regexec.c, Line = 324
  An enumerated type is mixed with another type.

                           start, range, regs, stop, false);
                                                     ^

cc-1183 c89: WARNING File = regexec.c, Line = 343
  An unsigned integer is being compared to zero.

    if (BE (length1 < 0 || length2 < 0 || stop < 0 || len < length1, 0))
        ^

cc-1183 c89: WARNING File = regexec.c, Line = 343
  An unsigned integer is being compared to zero.

    if (BE (length1 < 0 || length2 < 0 || stop < 0 || len < length1, 0))
        ^

cc-1183 c89: WARNING File = regexec.c, Line = 343
  An unsigned integer is being compared to zero.

    if (BE (length1 < 0 || length2 < 0 || stop < 0 || len < length1, 0))
        ^

cc-1183 c89: WARNING File = regexec.c, Line = 392
  An unsigned integer is being compared to zero.

    if (BE (start < 0 || start > length, 0))
        ^

cc-1183 c89: WARNING File = regexec.c, Line = 415
  An unsigned integer is being compared to zero.

          else if (BE (last_start < 0, 0))
                   ^

cc-1185 c89: WARNING File = regexec.c, Line = 667
  An enumerated type is mixed with another type.

    fl_longest_match = (nmatch != 0 || dfa->nbackref);
                     ^

cc-1185 c89: WARNING File = regexec.c, Line = 671
  An enumerated type is mixed with another type.

                            preg->re_syntax & REG_IGNORE_CASE, dfa);
                            ^

cc-1185 c89: WARNING File = regexec.c, Line = 706
  An enumerated type is mixed with another type.

    sb = dfa->mb_cur_max == 1;
       ^

cc-1185 c89: WARNING File = regexec.c, Line = 879
  An enumerated type is mixed with another type.

                          dfa->has_plural_match && dfa->nbackref > 0);
                          ^

cc-1185 c89: WARNING File = regexec.c, Line = 1072
  An enumerated type is mixed with another type.

    bool at_init_state = p_match_first != NULL;
                         ^

cc-1185 c89: WARNING File = regexec.c, Line = 1092
  An enumerated type is mixed with another type.

          at_init_state = false;
                        ^

cc-1185 c89: WARNING File = regexec.c, Line = 1162
  An enumerated type is mixed with another type.

            at_init_state = false;
                          ^

cc-1185 c89: WARNING File = regexec.c, Line = 1200
  An enumerated type is mixed with another type.

      return false;
             ^

cc-1185 c89: WARNING File = regexec.c, Line = 1202
  An enumerated type is mixed with another type.

      return true;
             ^

cc-1185 c89: WARNING File = regexec.c, Line = 1204
  An enumerated type is mixed with another type.

      return false;
             ^

cc-1185 c89: WARNING File = regexec.c, Line = 1205
  An enumerated type is mixed with another type.

    return true;
           ^

cc-1185 c89: WARNING File = regexec.c, Line = 1392
  An enumerated type is mixed with another type.

    bool prev_idx_match_malloced = false;
                                   ^

cc-1185 c89: WARNING File = regexec.c, Line = 1426
  An enumerated type is mixed with another type.

        prev_idx_match_malloced = true;
                                ^

cc-1185 c89: WARNING File = regexec.c, Line = 1906
  An enumerated type is mixed with another type.

        return true;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 1908
  An enumerated type is mixed with another type.

    return false;
           ^

cc-1174 c89: WARNING File = regexec.c, Line = 3030
  The variable "err" was declared but never referenced.

    reg_errcode_t err;
                  ^

cc-1185 c89: WARNING File = regexec.c, Line = 3295
  An enumerated type is mixed with another type.

    bool need_word_trtable = false;
                             ^

cc-1185 c89: WARNING File = regexec.c, Line = 3297
  An enumerated type is mixed with another type.

    bool dests_node_malloced = false, dest_states_malloced = false;
                               ^

cc-1185 c89: WARNING File = regexec.c, Line = 3297
  An enumerated type is mixed with another type.

    bool dests_node_malloced = false, dest_states_malloced = false;
                                                             ^

cc-1185 c89: WARNING File = regexec.c, Line = 3321
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 3322
  An enumerated type is mixed with another type.

        dests_node_malloced = true;
                            ^

cc-1185 c89: WARNING File = regexec.c, Line = 3340
  An enumerated type is mixed with another type.

          return true;
                 ^

cc-1185 c89: WARNING File = regexec.c, Line = 3342
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 3373
  An enumerated type is mixed with another type.

          return false;
                 ^

cc-1185 c89: WARNING File = regexec.c, Line = 3375
  An enumerated type is mixed with another type.

        dest_states_malloced = true;
                             ^

cc-1185 c89: WARNING File = regexec.c, Line = 3410
  An enumerated type is mixed with another type.

            need_word_trtable = true;
                              ^

cc-1185 c89: WARNING File = regexec.c, Line = 3510
  An enumerated type is mixed with another type.

    return true;
           ^

cc-1185 c89: WARNING File = regexec.c, Line = 4021
  An enumerated type is mixed with another type.

          return false;
                 ^

cc-1185 c89: WARNING File = regexec.c, Line = 4026
  An enumerated type is mixed with another type.

          return false;
                 ^

cc-1185 c89: WARNING File = regexec.c, Line = 4038
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 4042
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 4052
  An enumerated type is mixed with another type.

        return false;
               ^

cc-1185 c89: WARNING File = regexec.c, Line = 4055
  An enumerated type is mixed with another type.

    return true;
           ^

c89 -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -c idfile.c
cc-1515 c89: ERROR File = idfile.c, Line = 56
  A value of type "int" cannot be assigned to an entity of type "const char *".

          arg = strsep (&id_path, ":");
              ^

1 error detected in the compilation of "idfile.c".

------------------------------------------------------------------------

Machinetype:            DEC Alpha 4100-5/466 (4 21164 EV5 CPUs, 466 MHz, 2GB 
RAM);          OSF/1 4.0F
Remote gcc version:     gcc (GCC) 3.3.3
Remote g++ version:     g++ (GCC) 3.3.3
Configure environment:  CC=gcc CFLAGS="-mieee -I/usr/local/include" CXX=g++ 
CXXFLAGS="-mieee -I/usr/local/include" LDFLAGS="-Wl,-rpath,/usr/local/lib  
-L/usr/local/lib" LIBS="-lgccsnprintf -lc"

gcc  -mieee -I/usr/local/include  -Wl,-rpath,/usr/local/lib  -L/usr/local/lib 
-o mkid  mkid.o ../libidu/libidu.a /usr/local/lib/libintl.so 
/usr/local/lib/libiconv.so -lc -Wl,-rpath -Wl,/usr/local/lib ../lib/libgnu.a  
-lgccsnprintf -lc
calloc
__divqu
strerror_r
strerror
vfprintf
abort
strpbrk
memchr
wctype
btowc
iswctype
strcat
wmemchr
wcslen
wmemcpy
wcscat
__getmbcurmax
mbsrtowcs
mbsinit
malloc
realloc
memmove

The problem here is that -lc is specified twice.  It appears in four
variables in the Makefile, but should be omitted in three of them
(INTLLIBS, LIBINTL, and LTLIBINTL):

INTLLIBS = /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -Wl,-rpath 
-Wl,/usr/local/lib
LIBINTL = /usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -Wl,-rpath 
-Wl,/usr/local/lib
LIBS = -lgccsnprintf -lc
LTLIBINTL = -L/usr/local/lib -lintl -L/usr/local/lib -liconv -lc 
-R/usr/local/lib

I manually restarted the builds with the extra -lc flags omitted, and
the builds completed, and the tests all passed, so I installed the
package.

------------------------------------------------------------------------

Machinetype:            Sun Sun Fire V240 (2 UltraSPARC-IIIi CPUs, 1280 MHz, 
8GB RAM);  Solaris 9
Remote cc version:      cc: Sun C 5.7 2005/01/07
Configure environment:  CC=cc CFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem 
-I/usr/local/include" CXX=CC CXXFLAGS="-xO5 -dalign -xlibmil -xcg92 -xsafe=mem 
-I/usr/local/include" LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

cc -DHAVE_CONFIG_H -I. -I. -I..  -I../libidu -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  -xO5 
-dalign -xlibmil -xcg92 -xsafe=mem -I/usr/local/include -c mkid.c
"mkid.c", line 377: warning: implicit function declaration: basename
"mkid.c", line 617: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/stdio_iso.h", line 
192
        argument : pointer to unsigned char
"mkid.c", line 629: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 70
        argument : pointer to unsigned char
cc  -xO5 -dalign -xlibmil -xcg92 -xsafe=mem -I/usr/local/include  
-R/usr/local/lib -L/usr/local/lib -o mkid  mkid.o ../libidu/libidu.a 
/usr/local/lib/libintl.so /usr/local/lib/libiconv.so -lc -R/usr/local/lib 
../lib/libgnu.a
Undefined                       first referenced
 symbol                             in file
alloca                              ../libidu/libidu.a(walker.o)

Builds on Solaris 7, 8, 9, and 10 (SPARC) and 10 (IA-32) with native
compilers all failed in the same way: alloca() is not a standard
library routine.

------------------------------------------------------------------------

Machinetype:            Sun Ultra Enterprise 2900 (4 CPUs, 1050 MHz 
UltraSPARC-IV, 16GB); Solaris 10
Remote c99 version:     cc: Sun C 5.8 2005/10/13
Configure environment:  CC=/opt/SUNWspro/bin/c99 CFLAGS="-I/usr/local/include" 
CXX=/opt/SUNWspro/bin/CC CXXFLAGS="-I/usr/local/include" 
LDFLAGS="-R/usr/local/lib -L/usr/local/lib"

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  
-I/usr/local/include -c getcwd.c
"getcwd.c", line 134: warning: initializer does not fit or is out of range: 
0xffd19553

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..   -I/usr/local/include  
-I/usr/local/include -c regex.c
"regex_internal.h", line 78: warning: macro redefined: gettext
"regex_internal.h", line 757: warning: token-less macro argument

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -c idfile.c
"idfile.c", line 56: warning: implicit function declaration: strsep
"idfile.c", line 56: warning: improper pointer/integer combination: op "="

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -c scanners.c
"scanners.c", line 95: warning: implicit function declaration: strsep
"scanners.c", line 95: warning: improper pointer/integer combination: op "="
"scanners.c", line 105: warning: improper pointer/integer combination: op "="
"scanners.c", line 295: warning: improper pointer/integer combination: op "="
"scanners.c", line 299: warning: improper pointer/integer combination: op "="
"scanners.c", line 603: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 603: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 71
        argument : pointer to unsigned char
"scanners.c", line 603: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 603: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 603: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 915: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 915: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 71
        argument : pointer to unsigned char
"scanners.c", line 915: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 915: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 915: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 1466: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char
"scanners.c", line 1477: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 64
        argument : pointer to unsigned char

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..  -I../lib -I../intl 
-DDATADIR=\"/usr/local/share\" -DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -c walker.c
"walker.c", line 109: warning: implicit function declaration: alloca
"walker.c", line 109: warning: improper pointer/integer combination: op "="
"walker.c", line 176: warning: improper pointer/integer combination: op "="
"walker.c", line 299: warning: improper pointer/integer combination: op "="
"walker.c", line 300: warning: improper pointer/integer combination: op "="
"walker.c", line 428: warning: improper pointer/integer combination: op "="
"walker.c", line 452: warning: improper pointer/integer combination: op "="
"walker.c", line 505: warning: implicit function declaration: strsep
"walker.c", line 505: warning: improper pointer/integer combination: op "="
"walker.c", line 645: warning: improper pointer/integer combination: op "="
"walker.c", line 660: warning: improper pointer/integer combination: op "="
"walker.c", line 679: warning: improper pointer/integer combination: op "="
"walker.c", line 686: warning: improper pointer/integer combination: op "="
"walker.c", line 845: warning: improper pointer/integer combination: op "="
"walker.c", line 846: warning: improper pointer/integer combination: op "="

/opt/SUNWspro/bin/c99 -DHAVE_CONFIG_H -I. -I. -I..  -I../libidu -I../lib 
-I../intl -DDATADIR=\"/usr/local/share\" 
-DLOCALEDIR=\"/usr/local/share/locale\" 
-DLANGUAGE_MAP_FILE=\"/usr/local/share/id-lang.map\" -I/usr/local/include  
-I/usr/local/include -c mkid.c
"mkid.c", line 377: warning: implicit function declaration: basename
"mkid.c", line 617: warning: argument #1 is incompatible with prototype:
        prototype: restrict pointer to const char : 
"/usr/include/iso/stdio_iso.h", line 222
        argument : pointer to unsigned char
"mkid.c", line 629: warning: argument #1 is incompatible with prototype:
        prototype: pointer to const char : "/usr/include/iso/string_iso.h", 
line 69
        argument : pointer to unsigned char
/opt/SUNWspro/bin/c99  -I/usr/local/include  -R/usr/local/lib -L/usr/local/lib 
-o mkid  mkid.o ../libidu/libidu.a /usr/local/lib/libintl.so 
/usr/local/lib/libiconv.so -lc -R/usr/local/lib ../lib/libgnu.a
Undefined                       first referenced
 symbol                             in file
alloca                              ../libidu/libidu.a(walker.o)
ld: fatal: Symbol referencing errors. No output written to mkid

------------------------------------------------------------------------

Machinetype:            Compaq AlphaServer ES40 Sierra/667 (32 EV6.7 21264A 
CPUs, 667 MHz, 8GB RAM); OSF/1 5.1
Remote c89 version:     Compaq C V6.3-028 on Compaq Tru64 UNIX V5.1 (Rev. 732)
Configure environment:  CC=c89 CFLAGS="-ieee -I$HOME/alpha/local/include" 
CXX=cxx CXXFLAGS="-ieee -I$HOME/alpha/local/include"    
LDFLAGS="-L$HOME/alpha/local/lib -Wl,-rpath,$HOME/alpha/local/lib 
-Wl,-oldstyle_liblookup"

...
/bin/bash ./consistency .. ../src
../src/mkid -m ../libidu/id-lang.map ..
mv: cannot stat `ID.fid': No such file or directory
Oops!  xtokid and lid disagree--look in ID.bad-{xtokid,lid}
Good.  xtokid and fid agree for ../config.h
Good.  xtokid and fid agree for ../intl/eval-plural.h
... elided tests report Good. ....
Good.  xtokid and fid agree for ../src/xtokid.c
Good.  xtokid and fid agree for single_file_token_bug.c
../src/mkid -m ../libidu/id-lang.map
Good.  No crash when dealing with single file
Some checks failed.
FAIL: consistency
=====================================
1 of 1 tests failed
Please report to address@hidden
=====================================
------------------------------------------------------------------------

-------------------------------------------------------------------------------
- Nelson H. F. Beebe                    Tel: +1 801 581 5254                  -
- University of Utah                    FAX: +1 801 581 4148                  -
- Department of Mathematics, 110 LCB    Internet e-mail: address@hidden  -
- 155 S 1400 E RM 233                       address@hidden  address@hidden -
- Salt Lake City, UT 84112-0090, USA    URL: http://www.math.utah.edu/~beebe/ -
-------------------------------------------------------------------------------




reply via email to

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