Hello,

Apologies for the double post, attachment did not seem to take.

I have a need to compile GNU tar 1.28 for Solaris 8.  When running make I get 
the errors below.  Any help would be greatly appreciated!

I am using Sun Studio 11 C Compiler 11.0 with all patches applied.  Sorry, no 
gcc installed on this system (SunOS bldsvr 5.8 Generic_127721-10 sun4u sparc 
SUNW,Sun-Fire-V240 Solaris).

Cheers,

Ted Carr
Technical Analyst
Hosting Design and Integration
CBS IT Services

GSK
1250 S. Collegeville Road, Collegeville, Pennsylvania, 19426-0989, United States
Email   [email protected]<mailto:[email protected]>

bldsvr:/var/tmp/tar-1.28:pkgbldr$ make
make  all-recursive
Making all in doc
Making all in gnu
  GEN      configmake.h
  GEN      c++defs.h
  GEN      arg-nonnull.h
  GEN      warn-on-use.h
  GEN      dirent.h
  GEN      fcntl.h
  GEN      fnmatch.h
  GEN      getopt.h
  GEN      inttypes.h
  GEN      langinfo.h
  GEN      locale.h
  GEN      unused-parameter.h
  GEN      selinux/selinux.h
  GEN      selinux/context.h
  GEN      signal.h
  GEN      stdalign.h
  GEN      stdbool.h
  GEN      stdint.h
  GEN      stdio.h
  GEN      stdlib.h
  GEN      string.h
  GEN      strings.h
  GEN      sys/stat.h
  GEN      sys/time.h
  GEN      sys/types.h
  GEN      time.h
  GEN      unistd.h
  GEN      unitypes.h
  GEN      uniwidth.h
  GEN      wchar.h
  GEN      wctype.h
make  all-recursive
  CC       copy-acl.o
  CC       set-acl.o
  CC       allocator.o
  CC       areadlink.o
  CC       areadlinkat.o
  CC       argmatch.o
  CC       argp-ba.o
  CC       argp-eexst.o
  CC       argp-fmtstream.o
  CC       argp-fs-xinl.o
  CC       argp-help.o
  CC       argp-parse.o
  CC       argp-pin.o
  CC       argp-pv.o
  CC       argp-pvh.o
  CC       argp-xinl.o
  CC       argp-version-etc.o
  CC       backupfile.o
  CC       bitrotate.o
  CC       c-ctype.o
  CC       c-strcasecmp.o
  CC       c-strncasecmp.o
  CC       careadlinkat.o
  CC       cloexec.o
  CC       close-stream.o
  CC       closeout.o
  CC       opendir-safer.o
  CC       dirname.o
  CC       basename.o
  CC       dirname-lgpl.o
  CC       basename-lgpl.o
  CC       stripslash.o
  CC       exclude.o
"exclude.c", line 673: warning: assignment type mismatch:
        pointer to function(pointer to struct exclude {pointer to struct 
exclude_segment {..} head, pointer to struct pattern_buffer {..} patbuf}, 
pointer to const char, int) returning void "=" pointer to void
"exclude.c", line 691: warning: argument #6 is incompatible with prototype:
        prototype: pointer to void : "exclude.c", line 617
        argument : pointer to function(pointer to struct exclude {pointer to 
struct exclude_segment {..} head, pointer to struct pattern_buffer {..} 
patbuf}, pointer to const char, int) returning void
  CC       exitfail.o
  CC       chmodat.o
  CC       chownat.o
  CC       fd-hook.o
  CC       fdutimensat.o
  CC       filenamecat-lgpl.o
  CC       fprintftime.o
  CC       full-write.o
  CC       gettime.o
  CC       hash.o
  CC       human.o
  CC       imaxtostr.o
  CC       inttostr.o
  CC       offtostr.o
  CC       uinttostr.o
  CC       umaxtostr.o
  CC       localcharset.o
  CC       malloca.o
  CC       mbchar.o
  CC       mbscasecmp.o
  CC       mbuiter.o
  CC       modechange.o
  CC       openat-die.o
  CC       parse-datetime.o
  CC       priv-set.o
  CC       progname.o
  CC       acl-errno-valid.o
  CC       file-has-acl.o
  CC       qcopy-acl.o
  CC       qset-acl.o
  CC       quotearg.o
  CC       safe-read.o
  CC       safe-write.o
  CC       save-cwd.o
  CC       savedir.o
  CC       se-context.o
  CC       se-selinux.o
  CC       stat-time.o
  CC       statat.o
  CC       strftime.o
  CC       strnlen1.o
  CC       tempname.o
  CC       timespec.o
  CC       unistd.o
  CC       dup-safer.o
  CC       fd-safer.o
  CC       pipe-safer.o
  CC       uniwidth/width.o
  CC       unlinkdir.o
  CC       utimens.o
  CC       version-etc.o
  CC       version-etc-fsf.o
  CC       wctype-h.o
  CC       xmalloc.o
  CC       xalloc-die.o
  CC       xgetcwd.o
  CC       xsize.o
  CC       xstrndup.o
  CC       xstrtol.o
  CC       xstrtoul.o
  CC       xstrtol-error.o
  CC       xstrtoumax.o
  CC       xvasprintf.o
  CC       xasprintf.o
  CC       asnprintf.o
  CC       asprintf.o
  CC       at-func2.o
  CC       canonicalize-lgpl.o
  CC       chdir-long.o
  CC       chown.o
  CC       dirfd.o
  CC       error.o
  CC       euidaccess.o
  CC       faccessat.o
  CC       fchmodat.o
  CC       fchownat.o
  CC       fcntl.o
  CC       fdopendir.o
  CC       fnmatch.o
  CC       fstatat.o
  CC       futimens.o
  CC       getcwd.o
  CC       getcwd-lgpl.o
  CC       getdelim.o
  CC       getline.o
  CC       getopt.o
  CC       getopt1.o
  CC       group-member.o
  CC       iswblank.o
  CC       lchown.o
  CC       link.o
  CC       linkat.o
  CC       localeconv.o
  CC       lstat.o
  CC       mbrtowc.o
  CC       mbsinit.o
  CC       mbsrtowcs.o
  CC       mbsrtowcs-state.o
  CC       mempcpy.o
  CC       memrchr.o
  CC       mkdirat.o
  CC       mkdtemp.o
  CC       mkfifo.o
  CC       mkfifoat.o
  CC       mknod.o
  CC       mknodat.o
  CC       mktime.o
  CC       obstack.o
  CC       open.o
  CC       openat.o
  CC       openat-proc.o
  CC       posix_openpt.o
  CC       printf-args.o
  CC       printf-parse.o
  CC       ptsname_r.o
  CC       rawmemchr.o
  CC       readlink.o
  CC       readlinkat.o
  CC       regex.o
  CC       rename.o
  CC       renameat.o
  CC       rpmatch.o
  CC       secure_getenv.o
  CC       selinux-at.o
  CC       setenv.o
  CC       snprintf.o
  CC       stat.o
  CC       stpcpy.o
  CC       strchrnul.o
  CC       strerror.o
  CC       strndup.o
  CC       strnlen.o
  CC       strtoimax.o
  CC       strtoumax.o
  CC       symlink.o
  CC       symlinkat.o
  CC       ttyname_r.o
  CC       unlink.o
  CC       unlinkat.o
  CC       unsetenv.o
  CC       utimensat.o
  CC       vasnprintf.o
  CC       vasprintf.o
  CC       vsnprintf.o
  CC       wcrtomb.o
  AR       libgnu.a
  GEN      charset.alias
  GEN      ref-add.sed
  GEN      ref-del.sed
Making all in lib
  GEN      rmt-command.h
  GEN      attr/xattr.h
make  all-am
  CC       paxerror.o
  CC       paxexit-status.o
  CC       paxnames.o
  CC       prepargs.o
  CC       rtapelib.o
  CC       stdopen.o
  CC       wordsplit.o
"./wordsplit.h", line 37: warning: syntax requires ";" after last struct/union 
member
"./wordsplit.h", line 37: syntax error before or at: __attribute__
"./wordsplit.h", line 39: warning: syntax requires ";" after last struct/union 
member
"./wordsplit.h", line 39: syntax error before or at: __attribute__
"wordsplit.c", line 60: improper member use: ws_error
"wordsplit.c", line 64: syntax error before or at: (
"wordsplit.c", line 66: warning: old-style declaration or incorrect type for: 
_wsplt_error
"wordsplit.c", line 82: improper member use: ws_flags
"wordsplit.c", line 83: improper member use: ws_alloc_die
"wordsplit.c", line 84: improper member use: ws_flags
"wordsplit.c", line 86: improper member use: ws_flags
"wordsplit.c", line 95: improper member use: ws_flags
"wordsplit.c", line 97: improper member use: ws_flags
"wordsplit.c", line 102: improper member use: ws_wordv
"wordsplit.c", line 103: improper member use: ws_wordc
"wordsplit.c", line 104: improper member use: ws_wordn
"wordsplit.c", line 115: improper member use: ws_flags
"wordsplit.c", line 117: improper member use: ws_flags
"wordsplit.c", line 118: improper member use: ws_alloc_die
"wordsplit.c", line 119: improper member use: ws_flags
"wordsplit.c", line 120: improper member use: ws_error
"wordsplit.c", line 120: warning: assignment type mismatch:
        pointer to function(pointer to const char, ...) returning void "=" 
pointer to function(pointer to const char, ...) returning int
"wordsplit.c", line 122: improper member use: ws_flags
"wordsplit.c", line 123: improper member use: ws_flags
"wordsplit.c", line 127: improper member use: ws_flags
"wordsplit.c", line 132: improper member use: ws_flags
"wordsplit.c", line 136: improper member use: ws_flags
"wordsplit.c", line 141: improper member use: ws_flags
"wordsplit.c", line 143: improper member use: ws_flags
"wordsplit.c", line 145: improper member use: ws_flags
"wordsplit.c", line 146: improper member use: ws_debug
"wordsplit.c", line 146: improper member use: ws_error
"wordsplit.c", line 147: improper member use: ws_flags
"wordsplit.c", line 148: improper member use: ws_debug
"wordsplit.c", line 148: warning: assignment type mismatch:
        pointer to function(pointer to const char, ...) returning void "=" 
pointer to function(pointer to const char, ...) returning int
"wordsplit.c", line 150: improper member use: ws_flags
"wordsplit.c", line 157: improper member use: ws_flags
"wordsplit.c", line 158: improper member use: ws_offs
"wordsplit.c", line 160: improper member use: ws_flags
"wordsplit.c", line 161: improper member use: ws_delim
"wordsplit.c", line 163: improper member use: ws_flags
"wordsplit.c", line 164: improper member use: ws_comment
"wordsplit.c", line 166: improper member use: ws_flags
"wordsplit.c", line 179: improper member use: ws_flags
"wordsplit.c", line 179: improper member use: ws_offs
"wordsplit.c", line 183: improper member use: ws_wordv
"wordsplit.c", line 188: improper member use: ws_wordn
"wordsplit.c", line 188: improper member use: ws_wordc
"wordsplit.c", line 190: improper member use: ws_wordc
"wordsplit.c", line 192: improper member use: ws_wordv
"wordsplit.c", line 199: improper member use: ws_wordn
"wordsplit.c", line 200: improper member use: ws_wordv
"wordsplit.c", line 421: improper member use: ws_debug
"wordsplit.c", line 424: improper member use: ws_debug
"wordsplit.c", line 486: improper member use: ws_flags
"wordsplit.c", line 495: improper member use: ws_flags
"wordsplit.c", line 515: improper member use: ws_flags
"wordsplit.c", line 517: improper member use: ws_escape
"wordsplit.c", line 562: improper member use: ws_wordv
"wordsplit.c", line 562: improper member use: ws_offs
"wordsplit.c", line 562: improper member use: ws_wordc
"wordsplit.c", line 568: improper member use: ws_wordc
"wordsplit.c", line 571: improper member use: ws_wordv
"wordsplit.c", line 571: improper member use: ws_offs
"wordsplit.c", line 571: improper member use: ws_wordc
"wordsplit.c", line 668: improper member use: ws_flags
"wordsplit.c", line 671: improper member use: ws_flags
"wordsplit.c", line 780: improper member use: ws_flags
"wordsplit.c", line 782: improper member use: ws_flags
"wordsplit.c", line 785: improper member use: ws_flags
"wordsplit.c", line 791: improper member use: ws_flags
"wordsplit.c", line 792: improper member use: ws_error
"wordsplit.c", line 793: improper member use: ws_flags
"wordsplit.c", line 829: improper member use: ws_delim
"wordsplit.c", line 829: improper member use: ws_delim
"wordsplit.c", line 836: improper member use: ws_wordc
"wordsplit.c", line 844: improper member use: ws_wordc
"wordsplit.c", line 845: improper member use: ws_wordv
"wordsplit.c", line 852: improper member use: ws_flags
"wordsplit.c", line 1031: improper member use: ws_flags
"wordsplit.c", line 1033: improper member use: ws_flags
"wordsplit.c", line 1034: improper member use: ws_delim
"wordsplit.c", line 1045: improper member use: ws_delim
"wordsplit.c", line 1050: improper member use: ws_flags
"wordsplit.c", line 1084: improper member use: ws_flags
"wordsplit.c", line 1096: improper member use: ws_comment
"wordsplit.c", line 1110: improper member use: ws_flags
"wordsplit.c", line 1116: improper member use: ws_delim
"wordsplit.c", line 1131: improper member use: ws_flags
"wordsplit.c", line 1141: improper member use: ws_flags
"wordsplit.c", line 1142: improper member use: ws_flags
"wordsplit.c", line 1155: improper member use: ws_delim
"wordsplit.c", line 1161: improper member use: ws_flags
"wordsplit.c", line 1165: improper member use: ws_flags
"wordsplit.c", line 1173: improper member use: ws_flags
"wordsplit.c", line 1392: improper member use: ws_flags
"wordsplit.c", line 1411: improper member use: ws_flags
"wordsplit.c", line 1413: improper member use: ws_debug
"wordsplit.c", line 1417: improper member use: ws_flags
"wordsplit.c", line 1421: improper member use: ws_flags
"wordsplit.c", line 1423: improper member use: ws_debug
"wordsplit.c", line 1429: improper member use: ws_flags
"wordsplit.c", line 1436: improper member use: ws_flags
"wordsplit.c", line 1438: improper member use: ws_debug
"wordsplit.c", line 1447: improper member use: ws_flags
"wordsplit.c", line 1449: improper member use: ws_debug
"wordsplit.c", line 1456: improper member use: ws_flags
"wordsplit.c", line 1458: improper member use: ws_debug
"wordsplit.c", line 1484: improper member use: ws_flags
"wordsplit.c", line 1491: improper member use: ws_flags
"wordsplit.c", line 1504: improper member use: ws_flags
"wordsplit.c", line 1505: improper member use: ws_debug
"wordsplit.c", line 1513: improper member use: ws_flags
"wordsplit.c", line 1517: improper member use: ws_debug
"wordsplit.c", line 1546: improper member use: ws_wordc
"wordsplit.c", line 1548: improper member use: ws_wordv
"wordsplit.c", line 1548: improper member use: ws_offs
"wordsplit.c", line 1552: improper member use: ws_wordv
"wordsplit.c", line 1552: improper member use: ws_offs
"wordsplit.c", line 1555: improper member use: ws_wordc
"wordsplit.c", line 1562: improper member use: ws_wordv
"wordsplit.c", line 1563: improper member use: ws_wordv
"wordsplit.c", line 1572: improper member use: ws_error
"wordsplit.c", line 1576: improper member use: ws_error
"wordsplit.c", line 1582: improper member use: ws_error
"wordsplit.c", line 1586: improper member use: ws_error
"wordsplit.c", line 1589: improper member use: ws_error
"wordsplit.c", line 1593: improper member use: ws_error
"wordsplit.c", line 1597: improper member use: ws_error
"wordsplit.c", line 1601: improper member use: ws_error
"wordsplit.c", line 1605: improper member use: ws_error
cc: acomp failed for wordsplit.c
*** Error code 2
make: Fatal error: Command failed for target `wordsplit.o'
Current working directory /var/tmp/tar-1.28/lib
*** Error code 1
make: Fatal error: Command failed for target `all'
Current working directory /var/tmp/tar-1.28/lib
*** Error code 1
make: Fatal error: Command failed for target `all-recursive'
Current working directory /var/tmp/tar-1.28
*** Error code 1
make: Fatal error: Command failed for target `all'
bldsvr:/var/tmp/tar-1.28:pkgbldr$

Reply via email to