«前の日記(2008-02-17(Sun)) 最新 次の日記(2008-02-27(Wed))» 編集

これ日記なん?


2008-02-18(Mon) [長年日記]

_ HP-UX td176 B.11.23 U ia64 での rubyビルド時のワーニング

ia64で -R'RPATHFLAG'がついてしまう件はなかださんのパッチで解決できたけれど、それ以外にビルドしたときに大量にワーニングが出るのが気になってます。

一応 scriptで採ったやつ、大量だけど載せときます。これどの程度まずいのかしら?

$ gmake
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c array.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c bignum.c
"bignum.c", line 1351: warning #2068-D: integer conversion resulted in a
          change of sign
      while ((q & (1<<(BITSPERDIG-1))) == 0) {
                  ^

"bignum.c", line 1906: warning #2140-D: too many arguments in function call
            shift = big2ulong(y, "long", Qtrue);
                                         ^

"bignum.c", line 1975: warning #2140-D: too many arguments in function call
            shift = big2ulong(y, "long", Qtrue);
                                         ^

"bignum.c", line 2065: warning #2140-D: too many arguments in function call
        shift = big2ulong(y, "long", Qfalse);
                                     ^

"bignum.c", line 1551: warning #2177-D: function "big_shift" was declared but
          never referenced
  static VALUE big_shift(x, n)
               ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c class.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c compar.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c dir.c
"dir.c", line 471: warning #2177-D: function "dir_inspect" was declared but
          never referenced
  dir_inspect(dir)
  ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c dln.c
"dln.c", line 1366: warning #2185-D: dynamic initialization in unreachable code
        shl_t lib = NULL;
              ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c enum.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c error.c
"error.c", line 883: warning #3197-D: the prototype declaration of
          "char *strerror(int)" (declared at line 104 of
          "/usr/include/string.h") is ignored after this unprototyped
          redeclaration
      char *strerror();
            ^

"error.c", line 1088: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

"error.c", line 1157: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

"error.c", line 1164: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c eval.c
"eval.c", line 5170: warning #2111-D: statement is unreachable
      return Qnil;              /* dummy */
      ^

"eval.c", line 6680: warning #2180-D: argument is incompatible with formal
          parameter
      return exec_under(eval_under_i, under, under, args);
                                                    ^

"eval.c", line 6695: warning #2180-D: argument is incompatible with formal
          parameter
      return exec_under(yield_under_i, under, 0, self);
                                                 ^

"eval.c", line 10450: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

"eval.c", line 10520: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

"eval.c", line 10535: warning #3305-D: function declared with "noreturn" does
          return
  }
  ^

"eval.c", line 12140: warning #2180-D: argument is incompatible with formal
          parameter
      return rb_thread_start_0(rb_thread_yield, args, th);
                                                ^

"eval.c", line 12161: warning #2180-D: argument is incompatible with formal
          parameter
      return rb_thread_start_0(rb_thread_yield, args, rb_thread_alloc(klass));
                                                ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c file.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c gc.c
"gc.c", line 893: warning #2180-D: argument is incompatible with formal
          parameter
            if (is_pointer_to_heap(obj->as.node.u1.node)) {
                                   ^

"gc.c", line 896: warning #2180-D: argument is incompatible with formal
          parameter
            if (is_pointer_to_heap(obj->as.node.u2.node)) {
                                   ^

"gc.c", line 899: warning #2180-D: argument is incompatible with formal
          parameter
            if (is_pointer_to_heap(obj->as.node.u3.node)) {
                                   ^

"gc.c", line 996: warning #2180-D: argument is incompatible with formal
          parameter
               is_pointer_to_heap(obj) ? "corrupted object" : "non object");
                                  ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c hash.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c inits.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c io.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c marshal.c
"marshal.c", line 1094, procedure r_object0: warning #20010-D: Floating-point
          DIVIDE BY ZERO exception generated

"marshal.c", line 1091, procedure r_object0: warning #20010-D: Floating-point
          DIVIDE BY ZERO exception generated

"marshal.c", line 1088, procedure r_object0: warning #20009-D: Floating-point
          INVALID exception generated

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c math.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c numeric.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c object.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c pack.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c parse.c
"parse.c", line 7083: warning #2177-D: label "yyerrorlab" was declared but
          never referenced
  yyerrorlab:
  ^

"parse.y", line 3134: warning #2068-D: integer conversion resulted in a change
          of sign
            quote->nd_func = -1;
                             ^

"parse.y", line 3338: warning #2068-D: integer conversion resulted in a change
          of sign
      lex_strterm = NEW_STRTERM(-1, 0, 0);
                    ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c process.c
"process.c", line 2570: warning #2068-D: integer conversion resulted in a
          change of sign
      if (ngroups == -1)
                     ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c prec.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c random.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c range.c
"range.c", line 363: warning #2180-D: argument is incompatible with formal
          parameter
            range_each_func(range, step_i, b, e, args);
                                   ^

"range.c", line 363: warning #2180-D: argument is incompatible with formal
          parameter
            range_each_func(range, step_i, b, e, args);
                                                 ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c re.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c regex.c
"regex.c", line 1164: warning #2068-D: integer conversion resulted in a change
          of sign
      if (c != '-') return -1;
                           ^

"regex.c", line 1516: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 1527: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 1535: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 1545: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 1552: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 1562: warning #2068-D: integer conversion resulted in a change
          of sign
            last = -1;
                   ^

"regex.c", line 2318: warning #2186-D: pointless comparison of unsigned
          integer with zero
        GET_UNSIGNED_NUMBER(c1);
        ^

"regex.c", line 2590: warning #2177-D: function "insert_op" was declared but
          never referenced
  insert_op(op, there, current_end)
  ^

"regex.c", line 1002: warning #2177-D: function "print_compiled_pattern" was
          declared but never referenced
  print_compiled_pattern(bufp)
  ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c ruby.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c signal.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c sprintf.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c st.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c string.c
"string.c", line 1560: warning #2111-D: statement is unreachable
      return Qnil;              /* not reached */
      ^

"string.c", line 4361: warning #3197-D: the prototype declaration of
          "char *crypt(const char *, const char *)" (declared at line 258 of
          "/usr/include/sys/unistd.h") is ignored after this unprototyped
          redeclaration
      extern char *crypt();
                   ^

cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c struct.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c time.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c util.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c variable.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c version.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c ./missing/flock.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c ./missing/isinf.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -c ia64.s
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c dmyext.c
ar rcu libruby-static.a array.o bignum.o class.o compar.o dir.o dln.o enum.o error.o eval.o file.o gc.o hash.o inits.o io.o marshal.o math.o numeric.o object.o pack.o parse.o process.o prec.o random.o range.o re.o regex.o ruby.o signal.o sprintf.o st.o string.o struct.o time.o util.o variable.o version.o flock.o isinf.o ia64.o  dmyext.o
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -I. -I.  -c main.c
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -L.  -Wl,-E   main.o dmydln.o libruby-static.a -ldld -ldl -lm   -o miniruby
rbconfig.rb unchanged
compiling Win32API
compiling bigdecimal
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/bigdecimal'
mkdir -p ../../.ext/ia64-hpux11.23
cc -I. -I../.. -I../../. -I../.././ext/bigdecimal  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c bigdecimal.c
"bigdecimal.c", line 442: warning #2068-D: integer conversion resulted in a
          change of sign
      if(!VpIsDef(a) || !VpIsDef(b)) return (-1L);
                                            ^

"bigdecimal.c", line 663: warning #2068-D: integer conversion resulted in a
          change of sign
      if(mx==(-1L)) {
             ^

"bigdecimal.c", line 704: warning #2068-D: integer conversion resulted in a
          change of sign
      if(mx==(-1L)) {
             ^

"bigdecimal.c", line 2814: warning #2068-D: integer conversion resulted in a
          change of sign
      if(word_shift==-1L) return 0; /* Overflow */
                     ^

"bigdecimal.c", line 2815: warning #2068-D: integer conversion resulted in a
          change of sign
      if(b_pos == -1L) goto Assign_a;
                  ^

"bigdecimal.c", line 2907: warning #2068-D: integer conversion resulted in a
          change of sign
      if(word_shift==-1L) return 0; /* Overflow */
                     ^

"bigdecimal.c", line 2908: warning #2068-D: integer conversion resulted in a
          change of sign
      if(b_pos == -1L) goto Assign_a;
                  ^

"bigdecimal.c", line 3048: warning #2068-D: integer conversion resulted in a
          change of sign
                  *b_pos = -1L;
                           ^

"bigdecimal.c", line 3072: warning #2068-D: integer conversion resulted in a
          change of sign
      if(!AddExponent(c,(S_LONG)1)) return (-1L);
                                           ^

"bigdecimal.c", line 3180: warning #2186-D: pointless comparison of unsigned
          integer with zero
                  while((--ii) >= 0) {
                               ^

"bigdecimal.c", line 3924: warning #2186-D: pointless comparison of unsigned
          integer with zero
      if(ni >= 0) {
            ^

"bigdecimal.c", line 4236: warning #2111-D: statement is unreachable
          goto Exit;
          ^

"bigdecimal.c", line 2171: warning #2177-D: function "VpIsNegDoubleZero" was
          declared but never referenced
  VpIsNegDoubleZero(double v)
  ^

"bigdecimal.c", line 4156: warning #2177-D: function "VpItoV" was declared but
          never referenced
  VpItoV(Real *m, S_INT ival)
  ^

ld -b -o ../../.ext/ia64-hpux11.23/bigdecimal.sl bigdecimal.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
mkdir -p ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/util.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/newton.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/math.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/jacobian.rb ../../.ext/common/bigdecimal
cp ../.././ext/bigdecimal/lib/bigdecimal/ludcmp.rb ../../.ext/common/bigdecimal
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/bigdecimal'
compiling curses
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/curses'
cc -I. -I../.. -I../../. -I../.././ext/curses -DHAVE_CURSES_H -DHAVE_BEEP -DHAVE_BKGD -DHAVE_BKGDSET -DHAVE_CURS_SET -DHAVE_DELETELN -DHAVE_DOUPDATE -DHAVE_FLASH -DHAVE_GETBKGD -DHAVE_GETNSTR -DHAVE_ISENDWIN -DHAVE_KEYNAME -DHAVE_KEYPAD -DHAVE_SCRL -DHAVE_SETSCRREG -DHAVE_UNGETCH -DHAVE_WATTROFF -DHAVE_WATTRON -DHAVE_WATTRSET -DHAVE_WBKGD -DHAVE_WBKGDSET -DHAVE_WDELETELN -DHAVE_WGETNSTR -DHAVE_WSCRL -DHAVE_WSETSCRREG -DHAVE_DEF_PROG_MODE -DHAVE_RESET_PROG_MODE -DHAVE_TIMEOUT -DHAVE_WTIMEOUT -DHAVE_NODELAY -DHAVE_INIT_COLOR -DHAVE_WCOLOR_SET  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c curses.c
ld -b -o ../../.ext/ia64-hpux11.23/curses.sl curses.o -L. -L../.. -L.   -E   -lcurses  -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/curses'
compiling dbm
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/dbm'
cc -I. -I../.. -I../../. -I../.././ext/dbm -DHAVE_DBM_OPEN -DHAVE_TYPE_DBM -DHAVE_DBM_CLEARERR -DDBM_HDR="<ndbm.h>"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c dbm.c
ld -b -o ../../.ext/ia64-hpux11.23/dbm.sl dbm.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/dbm'
compiling digest
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest'
cc -I. -I../.. -I../../. -I../.././ext/digest  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c digest.c
ld -b -o ../../.ext/ia64-hpux11.23/digest.sl digest.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
cp ../.././ext/digest/lib/md5.rb ../../.ext/common
cp ../.././ext/digest/lib/sha1.rb ../../.ext/common
cp ../.././ext/digest/lib/digest.rb ../../.ext/common
cp ../.././ext/digest/digest.h ../../.ext/ia64-hpux11.23
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest'
compiling digest/bubblebabble
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest/bubblebabble'
mkdir -p ../../../.ext/ia64-hpux11.23/digest
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/bubblebabble -I../../.././ext/digest/bubblebabble/.. -DHAVE_CONFIG_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c bubblebabble.c
ld -b -o ../../../.ext/ia64-hpux11.23/digest/bubblebabble.sl bubblebabble.o -L. -L../../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest/bubblebabble'
compiling digest/md5
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest/md5'
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c md5init.c
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/md5 -I../../.././ext/digest/md5/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_MD5_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c md5ossl.c
ld -b -o ../../../.ext/ia64-hpux11.23/digest/md5.sl md5init.o md5ossl.o -L. -L../../.. -L.   -E   -lcrypto  -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest/md5'
compiling digest/rmd160
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest/rmd160'
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c rmd160init.c
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/rmd160 -I../../.././ext/digest/rmd160/.. -DNDEBUG -DHAVE_CONFIG_H -DHAVE_OPENSSL_RIPEMD_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c rmd160ossl.c
ld -b -o ../../../.ext/ia64-hpux11.23/digest/rmd160.sl rmd160init.o rmd160ossl.o -L. -L../../.. -L.   -E   -lcrypto  -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest/rmd160'
compiling digest/sha1
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest/sha1'
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c sha1init.c
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha1 -I../../.././ext/digest/sha1/.. -DHAVE_CONFIG_H -DHAVE_OPENSSL_SHA_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c sha1ossl.c
ld -b -o ../../../.ext/ia64-hpux11.23/digest/sha1.sl sha1init.o sha1ossl.o -L. -L../../.. -L.   -E   -lcrypto  -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest/sha1'
compiling digest/sha2
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/digest/sha2'
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c sha2.c
cc -I. -I../../.. -I../../../. -I../../.././ext/digest/sha2 -I../../.././ext/digest/sha2/.. -DHAVE_CONFIG_H -DHAVE_INTTYPES_H -DHAVE_UNISTD_H -DHAVE_TYPE_UINT64_T  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c sha2init.c
ld -b -o ../../../.ext/ia64-hpux11.23/digest/sha2.sl sha2.o sha2init.o -L. -L../../.. -L.   -E   -ldld -ldl -lm   -lc
mkdir -p ../../../.ext/common/digest
cp ../../.././ext/digest/sha2/lib/sha2.rb ../../../.ext/common/digest
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/digest/sha2'
compiling dl
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/dl'
cc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -I. +Z -O -D_XOPEN_SOURCE_EXTENDED  -c dl.c
cc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -I. +Z -O -D_XOPEN_SOURCE_EXTENDED  -c handle.c
"handle.c", line 168: warning #2513-D: a value of type "void *" cannot be
          assigned to an entity of type "void (*)()"
    func = dlsym(handle, name);
         ^

cc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -I. +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ptr.c
cc -I. -I../.. -I../../. -I../.././ext/dl -DHAVE_DLFCN_H -DHAVE_DLOPEN -DHAVE_DLCLOSE -DHAVE_DLSYM -DHAVE_DLERROR  -I. +Z -O -D_XOPEN_SOURCE_EXTENDED  -c sym.c
"sym.c", line 119: warning #2513-D: a value of type "void *" cannot be
          assigned to an entity of type "freefunc_t"
      func = data->func;
           ^

"sym.c", line 370: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "void (*)(long, long, long, long, long,
          long, long, long, long, long, long, long, long, long, long)"
        void (*f)(DLSTACK_PROTO) = func;
                                   ^

"sym.c", line 377: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "void *(*)(long, long, long, long,
          long, long, long, long, long, long, long, long, long, long, long)"
        void * (*f)(DLSTACK_PROTO) = func;
                                     ^

"sym.c", line 384: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "char (*)(long, long, long, long, long,
          long, long, long, long, long, long, long, long, long, long)"
        char (*f)(DLSTACK_PROTO) = func;
                                   ^

"sym.c", line 391: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "short (*)(long, long, long, long,
          long, long, long, long, long, long, long, long, long, long, long)"
        short (*f)(DLSTACK_PROTO) = func;
                                    ^

"sym.c", line 398: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "int (*)(long, long, long, long, long,
          long, long, long, long, long, long, long, long, long, long)"
        int (*f)(DLSTACK_PROTO) = func;
                                  ^

"sym.c", line 405: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "long (*)(long, long, long, long, long,
          long, long, long, long, long, long, long, long, long, long)"
        long (*f)(DLSTACK_PROTO) = func;
                                   ^

"sym.c", line 412: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "float (*)(long, long, long, long,
          long, long, long, long, long, long, long, long, long, long, long)"
        float (*f)(DLSTACK_PROTO) = func;
                                    ^

"sym.c", line 419: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "double (*)(long, long, long, long,
          long, long, long, long, long, long, long, long, long, long, long)"
        double (*f)(DLSTACK_PROTO) = func;
                                     ^

"sym.c", line 426: warning #2144-D: a value of type "void *" cannot be used to
          initialize an entity of type "char *(*)(long, long, long, long,
          long, long, long, long, long, long, long, long, long, long, long)"
        char * (*f)(DLSTACK_PROTO) = func;
                                     ^

ld -b -o ../../.ext/ia64-hpux11.23/dl.sl dl.o handle.o ptr.o sym.o -L. -L../.. -L.   -E   -ldl  -ldld -ldl -lm   -lc
mkdir -p ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/win32.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/types.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/import.rb ../../.ext/common/dl
cp ../.././ext/dl/lib/dl/struct.rb ../../.ext/common/dl
cp dlconfig.h ../../.ext/ia64-hpux11.23
cp ../.././ext/dl/dl.h ../../.ext/ia64-hpux11.23
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/dl'
compiling enumerator
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/enumerator'
cc -I. -I../.. -I../../. -I../.././ext/enumerator  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c enumerator.c
ld -b -o ../../.ext/ia64-hpux11.23/enumerator.sl enumerator.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/enumerator'
compiling etc
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/etc'
cc -I. -I../.. -I../../. -I../.././ext/etc -DHAVE_GETLOGIN -DHAVE_GETPWENT -DHAVE_GETGRENT -DHAVE_ST_PW_GECOS -DHAVE_ST_PW_AGE -DPW_AGE2VAL=safe_setup_str -DHAVE_ST_PW_COMMENT -DHAVE_ST_PW_PASSWD -DHAVE_ST_GR_PASSWD -DHAVE_TYPE_UID_T -DPW_UID2VAL=INT2NUM -DPW_VAL2UID=NUM2INT -DHAVE_TYPE_GID_T -DPW_GID2VAL=INT2NUM -DPW_VAL2GID=NUM2INT  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c etc.c
ld -b -o ../../.ext/ia64-hpux11.23/etc.sl etc.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/etc'
compiling fcntl
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/fcntl'
cc -I. -I../.. -I../../. -I../.././ext/fcntl  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c fcntl.c
ld -b -o ../../.ext/ia64-hpux11.23/fcntl.sl fcntl.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/fcntl'
compiling gdbm
compiling iconv
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/iconv'
cc -I. -I../.. -I../../. -I../.././ext/iconv -DHAVE_ICONV  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c iconv.c
"iconv.c", line 199: warning #2068-D: integer conversion resulted in a change
          of sign
      iconv_close(VALUE2ICONV(cd));
                  ^

"iconv.c", line 213: warning #2068-D: integer conversion resulted in a change
          of sign
      if (cd && iconv_close(VALUE2ICONV(cd)) == -1)
                            ^

"iconv.c", line 441: warning #2186-D: pointless comparison of unsigned integer
          with zero
        if (0 <= outlen && outlen <= sizeof(buffer)) {
              ^

"iconv.c", line 549: warning #2068-D: integer conversion resulted in a change
          of sign
      DATA_PTR(self) = (void *)ICONV2VALUE(iconv_create(to, from));
                               ^

"iconv.c", line 572: warning #2068-D: integer conversion resulted in a change
          of sign
      VALUE cd = ICONV2VALUE(iconv_create(to, from));
                 ^

"iconv.c", line 647: warning #2068-D: integer conversion resulted in a change
          of sign
      return rb_ensure(iconv_s_convert, (VALUE)&arg, iconv_free, ICONV2VALUE(arg.cd));
                                                                 ^

"iconv.c", line 674: warning #2068-D: integer conversion resulted in a change
          of sign
      return rb_ensure(iconv_s_convert, (VALUE)&arg, iconv_free, ICONV2VALUE(arg.cd));
                                                                 ^

"iconv.c", line 697: warning #2068-D: integer conversion resulted in a change
          of sign
      return iconv_convert(VALUE2ICONV(cd), Qnil, 0, 0, NULL);
                           ^

"iconv.c", line 761: warning #2068-D: integer conversion resulted in a change
          of sign
      return iconv_convert(VALUE2ICONV(cd), str,
                           ^

ld -b -o ../../.ext/ia64-hpux11.23/iconv.sl iconv.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/iconv'
compiling io/wait
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/io/wait'
mkdir -p ../../../.ext/ia64-hpux11.23/io
cc -I. -I../../.. -I../../../. -I../../.././ext/io/wait -DFIONREAD_HEADER="<sys/ioctl.h>"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c wait.c
ld -b -o ../../../.ext/ia64-hpux11.23/io/wait.sl wait.o -L. -L../../.. -L.   -E   -ldld -ldl -lm   -lc
mkdir -p ../../../.ext/common/io
cp ../../.././ext/io/wait/lib/nonblock.rb ../../../.ext/common/io
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/io/wait'
compiling nkf
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/nkf'
cc -I. -I../.. -I../../. -I../.././ext/nkf  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c nkf.c
"nkf.c", line 116: warning #4212-D: mismatch between character pointer types
          "char *" and "unsigned char *"
            options(option);
                    ^

"nkf.c", line 124: warning #4212-D: mismatch between character pointer types
          "char *" and "unsigned char *"
        options(option);
                ^

ld -b -o ../../.ext/ia64-hpux11.23/nkf.sl nkf.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
cp ../.././ext/nkf/lib/kconv.rb ../../.ext/common
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/nkf'
compiling openssl
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/openssl'
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_hmac.c
"ossl_hmac.c", line 97: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
      HMAC_Update(ctx, RSTRING(data)->ptr, RSTRING(data)->len);
                       ^

"ossl_hmac.c", line 115: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      HMAC_Final(&final, *buf, buf_len);
                         ^

"ossl_hmac.c", line 115: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
      HMAC_Final(&final, *buf, buf_len);
                               ^

"ossl_hmac.c", line 163: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
               RSTRING(data)->ptr, RSTRING(data)->len, NULL, &buf_len);
               ^

"ossl_hmac.c", line 163: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
               RSTRING(data)->ptr, RSTRING(data)->len, NULL, &buf_len);
                                                             ^

"ossl_hmac.c", line 162: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "char *"
      buf = HMAC(GetDigestPtr(digest), RSTRING(key)->ptr, RSTRING(key)->len,
          ^

"ossl_hmac.c", line 179: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
               RSTRING(data)->ptr, RSTRING(data)->len, NULL, &buf_len);
               ^

"ossl_hmac.c", line 179: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
               RSTRING(data)->ptr, RSTRING(data)->len, NULL, &buf_len);
                                                             ^

"ossl_hmac.c", line 178: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "char *"
      buf = HMAC(GetDigestPtr(digest), RSTRING(key)->ptr, RSTRING(key)->len,
          ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkey_rsa.c
"ossl_pkey_rsa.c", line 239: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_pkey_rsa.c", line 261: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      buf_len = RSA_public_encrypt(RSTRING(buffer)->len, RSTRING(buffer)->ptr,
                                                         ^

"ossl_pkey_rsa.c", line 262: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
                                 RSTRING(str)->ptr, pkey->pkey.rsa,
                                 ^

"ossl_pkey_rsa.c", line 283: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      buf_len = RSA_public_decrypt(RSTRING(buffer)->len, RSTRING(buffer)->ptr,
                                                         ^

"ossl_pkey_rsa.c", line 284: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
                                 RSTRING(str)->ptr, pkey->pkey.rsa,
                                 ^

"ossl_pkey_rsa.c", line 308: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      buf_len = RSA_private_encrypt(RSTRING(buffer)->len, RSTRING(buffer)->ptr,
                                                          ^

"ossl_pkey_rsa.c", line 309: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
                                  RSTRING(str)->ptr, pkey->pkey.rsa,
                                  ^

"ossl_pkey_rsa.c", line 333: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      buf_len = RSA_private_decrypt(RSTRING(buffer)->len, RSTRING(buffer)->ptr,
                                                          ^

"ossl_pkey_rsa.c", line 334: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
                                  RSTRING(str)->ptr, pkey->pkey.rsa,
                                  ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkey_dh.c
"ossl_pkey_dh.c", line 216: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_pkey_dh.c", line 338: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      if ((len = DH_compute_key(RSTRING(str)->ptr, pub_key, dh)) < 0) {
                                ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_engine.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_asn1.c
"ossl_asn1.c", line 36: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "const char *"
        if (sscanf(time->data, "%2d%2d%2d%2d%2d%2dZ", &tm.tm_year, &tm.tm_mon,
                   ^

"ossl_asn1.c", line 47: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "const char *"
        if (sscanf(time->data, "%4d%2d%2d%2d%2d%2dZ", &tm.tm_year, &tm.tm_mon,
                   ^

"ossl_asn1.c", line 83: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "const char *"
      return rb_str_new(str->data, str->length);
                        ^

"ossl_asn1.c", line 217: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      ASN1_BIT_STRING_set(bstr, RSTRING(obj)->ptr, RSTRING(obj)->len);
                                ^

"ossl_asn1.c", line 359: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "char *"
      ret = ossl_buf2str(buf, len);
                         ^

"ossl_asn1.c", line 705: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(der)->ptr;
        ^

"ossl_asn1.c", line 762: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "const char *"
            value = rb_str_new(p, len);
                               ^

"ossl_asn1.c", line 827: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(tmp)->ptr;
        ^

"ossl_asn1.c", line 843: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(tmp)->ptr;
        ^

"ossl_asn1.c", line 860: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(tmp)->ptr;
        ^

"ossl_asn1.c", line 957: warning #4212-D: mismatch between character pointer
          types "unsigned char *" and "char *"
      str = ossl_buf2str(buf, reallen); /* buf will be free in ossl_buf2str */
                         ^

"ossl_asn1.c", line 979: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkcs12.c
"ossl_pkcs12.c", line 132: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_bn.c
"ossl_bn.c", line 127: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
        if (!BN_mpi2bn(RSTRING(str)->ptr, RSTRING(str)->len, bn)) {
                       ^

"ossl_bn.c", line 132: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
        if (!BN_bin2bn(RSTRING(str)->ptr, RSTRING(str)->len, bn)) {
                       ^

"ossl_bn.c", line 168: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        if (BN_bn2mpi(bn, RSTRING(str)->ptr) != len)
                          ^

"ossl_bn.c", line 174: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        if (BN_bn2bin(bn, RSTRING(str)->ptr) != len)
                          ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509store.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_ssl.c
"ossl_ssl.c", line 400: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
        if (!SSL_CTX_set_session_id_context(ctx, RSTRING(val)->ptr,
                                                 ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509ext.c
"ossl_x509ext.c", line 283: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
        p  = RSTRING(oid)->ptr;
           ^

"ossl_x509ext.c", line 412: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_config.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkey.c
"ossl_pkey.c", line 174: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      if (!EVP_SignFinal(&ctx, RSTRING(str)->ptr, &buf_len, pkey))
                               ^

"ossl_pkey.c", line 174: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
      if (!EVP_SignFinal(&ctx, RSTRING(str)->ptr, &buf_len, pkey))
                                                  ^

"ossl_pkey.c", line 194: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      switch (EVP_VerifyFinal(&ctx, RSTRING(sig)->ptr, RSTRING(sig)->len, pkey)) {
                                    ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkcs7.c
"ossl_pkcs7.c", line 754: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_digest.c
"ossl_digest.c", line 156: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      EVP_DigestFinal_ex(&final, *buf, buf_len);
                                 ^

"ossl_digest.c", line 156: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
      EVP_DigestFinal_ex(&final, *buf, buf_len);
                                       ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_pkey_dsa.c
"ossl_pkey_dsa.c", line 244: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_pkey_dsa.c", line 337: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      if (!DSA_sign(0, RSTRING(data)->ptr, RSTRING(data)->len, RSTRING(str)->ptr,
                       ^

"ossl_pkey_dsa.c", line 337: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      if (!DSA_sign(0, RSTRING(data)->ptr, RSTRING(data)->len, RSTRING(str)->ptr,
                                                               ^

"ossl_pkey_dsa.c", line 338: warning #2167-D: argument of type "int *" is
          incompatible with parameter of type "unsigned int *"
                  &buf_len, pkey->pkey.dsa)) { /* type is ignored (0) */
                  ^

"ossl_pkey_dsa.c", line 357: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
      ret = DSA_verify(0, RSTRING(digest)->ptr, RSTRING(digest)->len,
                          ^

"ossl_pkey_dsa.c", line 358: warning #4212-D: mismatch between character
          pointer types "char *" and "const unsigned char *"
                     RSTRING(sig)->ptr, RSTRING(sig)->len, pkey->pkey.dsa);
                     ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_ns_spki.c
"ossl_ns_spki.c", line 66: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        p = RSTRING(buffer)->ptr;
          ^

"ossl_ns_spki.c", line 90: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_ns_spki.c", line 175: warning #4212-D: mismatch between character
          pointer types "unsigned char *" and "const char *"
      return rb_str_new(spki->spkac->challenge->data,
                        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_cipher.c
"ossl_cipher.c", line 185: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
                       RSTRING(pass)->ptr, RSTRING(pass)->len, 1, key, NULL);
                       ^

"ossl_cipher.c", line 226: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        salt = RSTRING(vsalt)->ptr;
             ^

"ossl_cipher.c", line 232: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
                   RSTRING(vpass)->ptr, RSTRING(vpass)->len, iter, key, iv); 
                   ^

"ossl_cipher.c", line 255: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      if (!EVP_CipherUpdate(ctx, RSTRING(str)->ptr, &out_len, in, in_len))
                                 ^

"ossl_cipher.c", line 255: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
      if (!EVP_CipherUpdate(ctx, RSTRING(str)->ptr, &out_len, in, in_len))
                                                              ^

"ossl_cipher.c", line 283: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      if (!EVP_CipherFinal_ex(ctx, RSTRING(str)->ptr, &out_len))
                                   ^

"ossl_cipher.c", line 313: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
      if (EVP_CipherInit_ex(ctx, NULL, NULL, RSTRING(key)->ptr, NULL, -1) != 1)
                                             ^

"ossl_cipher.c", line 330: warning #4212-D: mismatch between character pointer
          types "char *" and "const unsigned char *"
      if (EVP_CipherInit_ex(ctx, NULL, NULL, NULL, RSTRING(iv)->ptr, -1) != 1)
                                                   ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c openssl_missing.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509crl.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509req.c
"ossl_x509req.c", line 174: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509name.c
"ossl_x509name.c", line 134: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
            p = RSTRING(str)->ptr;
              ^

"ossl_x509name.c", line 156: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
                RSTRING(value)->ptr, RSTRING(value)->len, -1, 0)) {
                ^

"ossl_x509name.c", line 228: warning #4212-D: mismatch between character
          pointer types "unsigned char *" and "const char *"
                          rb_str_new(entry->value->data, entry->value->length),
                                     ^

"ossl_x509name.c", line 294: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509revoked.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_ocsp.c
"ossl_ocsp.c", line 137: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        ret = OCSP_request_add1_nonce(req, RSTRING(val)->ptr, RSTRING(val)->len);
                                           ^

"ossl_ocsp.c", line 268: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_ocsp.c", line 319: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        p = RSTRING(arg)->ptr;
          ^

"ossl_ocsp.c", line 380: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

"ossl_ocsp.c", line 439: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
        ret = OCSP_basic_add1_nonce(bs, RSTRING(val)->ptr, RSTRING(val)->len);
                                        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_bio.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509attr.c
"ossl_x509attr.c", line 98: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
        p = RSTRING(oid)->ptr;
          ^

"ossl_x509attr.c", line 195: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
        p = RSTRING(str)->ptr;
          ^

"ossl_x509attr.c", line 203: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
        p = RSTRING(str)->ptr;
          ^

"ossl_x509attr.c", line 225: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_rand.c
"ossl_rand.c", line 66: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      if (!RAND_bytes(RSTRING(str)->ptr, FIX2INT(len))) {
                      ^

"ossl_rand.c", line 79: warning #4212-D: mismatch between character pointer
          types "char *" and "unsigned char *"
      if (!RAND_pseudo_bytes(RSTRING(str)->ptr, FIX2INT(len))) {
                             ^

cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509.c
cc -I. -I../.. -I../../. -I../.././ext/openssl -DRUBY_EXTCONF_H=\"extconf.h\"  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c ossl_x509cert.c
"ossl_x509cert.c", line 184: warning #4212-D: mismatch between character
          pointer types "char *" and "unsigned char *"
      p = RSTRING(str)->ptr;
        ^

ld -b -o ../../.ext/ia64-hpux11.23/openssl.sl ossl_hmac.o ossl_pkey_rsa.o ossl_pkey_dh.o ossl_engine.o ossl_asn1.o ossl_pkcs12.o ossl_bn.o ossl_x509store.o ossl_ssl.o ossl_x509ext.o ossl_config.o ossl_pkey.o ossl_pkcs7.o ossl_digest.o ossl_pkey_dsa.o ossl.o ossl_ns_spki.o ossl_cipher.o openssl_missing.o ossl_x509crl.o ossl_x509req.o ossl_x509name.o ossl_x509revoked.o ossl_ocsp.o ossl_bio.o ossl_x509attr.o ossl_rand.o ossl_x509.o ossl_x509cert.o -L. -L../.. -L.   -E   -lssl -lcrypto -lnsl  -ldld -ldl -lm   -lc
mkdir -p ../../.ext/common/net
mkdir -p ../../.ext/common/openssl
cp ../.././ext/openssl/lib/net/ftptls.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/net/telnets.rb ../../.ext/common/net
cp ../.././ext/openssl/lib/openssl.rb ../../.ext/common
cp ../.././ext/openssl/lib/openssl/cipher.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/bn.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/buffering.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/x509.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/digest.rb ../../.ext/common/openssl
cp ../.././ext/openssl/lib/openssl/ssl.rb ../../.ext/common/openssl
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/openssl'
compiling pty
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/pty'
cc -I. -I../.. -I../../. -I../.././ext/pty -DHAVE_SYS_STROPTS_H -DHAVE_SETRESUID -DHAVE_PTSNAME  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c pty.c
"pty.c", line 203: warning #3197-D: the prototype declaration of
          "char *getenv(const char *)" (declared at line 174 of
          "/usr/include/stdlib.h") is ignored after this unprototyped
          redeclaration
      char              *p, tmp, *getenv();
                                  ^

ld -b -o ../../.ext/ia64-hpux11.23/pty.sl pty.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
cp ../.././ext/pty/lib/expect.rb ../../.ext/common
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/pty'
compiling racc/cparse
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/racc/cparse'
mkdir -p ../../../.ext/ia64-hpux11.23/racc
cc -I. -I../../.. -I../../../. -I../../.././ext/racc/cparse  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c cparse.c
ld -b -o ../../../.ext/ia64-hpux11.23/racc/cparse.sl cparse.o -L. -L../../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/racc/cparse'
compiling readline
compiling sdbm
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/sdbm'
cc -I. -I../.. -I../../. -I../.././ext/sdbm  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c init.c
cc -I. -I../.. -I../../. -I../.././ext/sdbm  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c _sdbm.c
ld -b -o ../../.ext/ia64-hpux11.23/sdbm.sl init.o _sdbm.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/sdbm'
compiling socket
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/socket'
cc -I. -I../.. -I../../. -I../.././ext/socket -DHAVE_ARPA_INET_H -DENABLE_IPV6 -DINET6 -DHAVE_SOCKADDR_STORAGE -DHAVE_NETINET_TCP_H -DHAVE_NETINET_UDP_H -DHAVE_SENDMSG -DHAVE_RECVMSG -DHAVE_ST_MSG_CONTROL -DHAVE_GETNAMEINFO -DHAVE_GETADDRINFO -DHAVE_TYPE_SOCKLEN_T -DHAVE_SYS_UN_H -DHAVE_SYS_UIO_H -DHAVE_SOCKET -DHAVE_GETIPNODEBYNAME -DHAVE_SOCKETPAIR -DHAVE_GETHOSTNAME  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c socket.c
"socket.c", line 1059: warning #2111-D: statement is unreachable
      return 0;
      ^

"socket.c", line 1602: warning #2180-D: argument is incompatible with formal
          parameter
      return (VALUE)ruby_connect(arg->fd, arg->sockaddr, sizeof(*arg->sockaddr),
                                          ^

"socket.c", line 1638: warning #2167-D: argument of type "VALUE (*)()" is
          incompatible with parameter of type "VALUE (*)(VALUE)"
          status = rb_protect(unixsock_connect_internal, (VALUE)&arg, &prot);
                              ^

"socket.c", line 3220: warning #4232-D: conversion from "struct sockaddr *" to
          a more strictly aligned type "struct sockaddr_in *" may cause
          misaligned access
        ptr = (char*)&((struct sockaddr_in*)addr)->sin_addr.s_addr;
                       ^

"socket.c", line 3221: warning #4232-D: conversion from "struct sockaddr *" to
          a more strictly aligned type "struct sockaddr_in *" may cause
          misaligned access
        len = sizeof(((struct sockaddr_in*)addr)->sin_addr.s_addr);
                      ^

"socket.c", line 3225: warning #4232-D: conversion from "struct sockaddr *" to
          a more strictly aligned type "struct sockaddr_in6 *" may cause
          misaligned access
        ptr = (char*)&((struct sockaddr_in6*)addr)->sin6_addr.s6_addr;
                       ^

"socket.c", line 3226: warning #4232-D: conversion from "struct sockaddr *" to
          a more strictly aligned type "struct sockaddr_in6 *" may cause
          misaligned access
        len = sizeof(((struct sockaddr_in6*)addr)->sin6_addr.s6_addr);
                      ^

ld -b -o ../../.ext/ia64-hpux11.23/socket.sl socket.o -L. -L../.. -L.   -E   -lnsl  -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/socket'
compiling stringio
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/stringio'
cc -I. -I../.. -I../../. -I../.././ext/stringio  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c stringio.c
ld -b -o ../../.ext/ia64-hpux11.23/stringio.sl stringio.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/stringio'
compiling strscan
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/strscan'
cc -I. -I../.. -I../../. -I../.././ext/strscan  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c strscan.c
ld -b -o ../../.ext/ia64-hpux11.23/strscan.sl strscan.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/strscan'
compiling syck
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/syck'
cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c handler.c
cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c implicit.c
"<stdout>", line 59: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1624: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c yaml2byte.c
"yaml2byte.c", line 181: warning #2236-D: controlling expression is constant
                          assert("oops");
                          ^

cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c gram.c
"gram.c", line 1784: warning #2177-D: label "yyerrorlab" was declared but
          never referenced
  yyerrorlab:
  ^

cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c token.c
"<stdout>", line 311: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"token.re", line 353: warning #2111-D: statement is unreachable
                          return 0; 
                          ^

"<stdout>", line 522: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1121: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1513: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1751: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1905: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 2156: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 2382: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"token.re", line 1078: warning #2111-D: statement is unreachable
      return 0;
      ^

"<stdout>", line 2611: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c emitter.c
cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c syck.c
cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c node.c
cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c bytecode.c
"<stdout>", line 169: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 238: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 547: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 919: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 973: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

"<stdout>", line 1117: warning #2111-D: statement is unreachable
        ++YYCURSOR;
        ^

cc -I. -I../.. -I../../. -I../.././ext/syck -DHAVE_ST_H  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c rubyext.c
"rubyext.c", line 65, procedure S_inf: warning #20010-D: Floating-point DIVIDE
          BY ZERO exception generated

"rubyext.c", line 66, procedure S_nan: warning #20009-D: Floating-point
          INVALID exception generated

ld -b -o ../../.ext/ia64-hpux11.23/syck.sl handler.o implicit.o yaml2byte.o gram.o token.o emitter.o syck.o node.o bytecode.o rubyext.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/syck'
compiling syslog
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/syslog'
cc -I. -I../.. -I../../. -I../.././ext/syslog -DHAVE_SYSLOG_H -DHAVE_OPENLOG -DHAVE_SETLOGMASK  +Z -O -D_XOPEN_SOURCE_EXTENDED  -c syslog.c
ld -b -o ../../.ext/ia64-hpux11.23/syslog.sl syslog.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/syslog'
compiling thread
gmake[1]: Entering directory `/house/kogkog/src/ruby186/ext/thread'
cc -I. -I../.. -I../../. -I../.././ext/thread -DUSE_MEM_POOLS +Z -O -D_XOPEN_SOURCE_EXTENDED  -c thread.c
"thread.c", line 667: warning #2167-D: argument of type "void (*)(List *)" is
          incompatible with parameter of type "VALUE (*)()"
      rb_ensure(wait_list, (VALUE)&condvar->waiting, relock_mutex, (VALUE)mutex);
                ^

ld -b -o ../../.ext/ia64-hpux11.23/thread.sl thread.o -L. -L../.. -L.   -E   -ldld -ldl -lm   -lc
cp ../.././ext/thread/lib/thread.rb ../../.ext/common
gmake[1]: Leaving directory `/house/kogkog/src/ruby186/ext/thread'
compiling tk
compiling tk/tkutil
compiling win32ole
compiling zlib
making ruby
gmake[1]: Entering directory `/house/kogkog/src/ruby186'
cc -O -D_XOPEN_SOURCE_EXTENDED  -DRUBY_EXPORT  -L.  -Wl,-E   main.o  -lruby-static -ldld -ldl -lm   -o ruby
gmake[1]: Leaving directory `/house/kogkog/src/ruby186'
$ gmake test
test succeeded
$ exit

_ やっぱりCで書かれたソースをビルドするときのことがわかってないみたいだ。

単にコマンド打ったりすることはできるんだけど、それから調査したりってことができない。というかコンパイラとリンカの関係とか、動的ライブラリとか、ちゃんと理解できてない>自分

一度誰かにちゃんと習いたいんだけどなあ...とりあえず自習するなら、ふつりな ふつうのLinuxプログラミング Linuxの仕組みから学べるgccプログラミングの王道(青木 峰郎)、がいいのかしら