I have been trying to compile 1.3.2 on a HPUX 11i (11.11) system to no avail (using gcc and HP's own C compiler).
-=- gmake[3]: Entering directory `/tmp/krb5-1.3.2/src/lib/krb5/os' gcc -DPACKAGE_NAME=\"\" -DPACKAGE_TARNAME=\"\" -DPACKAGE_VERSION=\"\" -DPACKAGE_STRING=\"\" -DPACKAGE_BUGREPORT=\"\" -DHAVE_BT_RSEQ=1 -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DHAVE_REGEXP_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_FCHMOD=1 -DHAVE_CHMOD=1 -DHAVE_STRFTIME=1 -DHAVE_STRPTIME=1 -DHAVE_GETEUID=1 -DHAVE_GETENV=1 -DHAVE_SETSID=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRDUP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_MEMMOVE=1 -DHAVE_GETUID=1 -DHAVE_SSCANF=1 -DHAVE_SYSLOG=1 -DHAVE_REGCOMP=1 -DHAVE_RE_COMP=1 -DHAVE_RE_EXEC=1 -DHAVE_REGEXEC=1 -DPOSIX_SIGTYPE=1 -Dkrb5_sigtype=void -DPOSIX_SIGNALS=1 -DGETPEERNAME_ARG2_TYPE=void -DGETPEERNAME_ARG3_TYPE=int -DGETSOCKNAME_ARG2_TYPE=void -DGETSOCKNAME_ARG3_TYPE=int -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5 -g -O2 -Wall -Wmissing-prototypes -Wcast-qual -Wcast-align -Wconversion -Wshadow -Wno-comment -pedantic -c localaddr.c cc1: warning: -g is only supported when using GAS on this processor, cc1: warning: -g option disabled In file included from localaddr.c:49: ../../../include/foreachaddr.c: In function `get_lifconf': ../../../include/foreachaddr.c:268: error: storage size of `lifc' isn't known ../../../include/foreachaddr.c:268: warning: unused variable `lifc' ../../../include/foreachaddr.c: In function `foreach_localaddr': ../../../include/foreachaddr.c:466: error: field `lifnum' has incomplete type ../../../include/foreachaddr.c:485: warning: left-hand operand of comma expression has no effect ../../../include/foreachaddr.c:517: warning: cast increases required alignment of target type ../../../include/foreachaddr.c:519: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:519: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:520: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:521: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:521: warning: left-hand operand of comma expression has no effect ../../../include/foreachaddr.c:527: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:547: warning: cast increases required alignment of target type ../../../include/foreachaddr.c:548: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:550: error: structure has no member named `lifr_addr' ../../../include/foreachaddr.c:550: error: structure has no member named `lifr_addr' ../../../include/foreachaddr.c:555: error: structure has no member named `lifr_addr' ../../../include/foreachaddr.c:555: error: structure has no member named `lifr_addr' ../../../include/foreachaddr.c:563: error: structure has no member named `lifr_addr' ../../../include/foreachaddr.c:586: warning: cast increases required alignment of target type ../../../include/foreachaddr.c:588: error: structure has no member named `lifr_name' ../../../include/foreachaddr.c:593: error: structure has no member named `lifr_addr' localaddr.c: In function `add_addr': localaddr.c:167: warning: cast increases required alignment of target type localaddr.c:175: warning: cast increases required alignment of target type localaddr.c: At top level: localaddr.c:315: warning: no previous prototype for `krb5int_local_addresses' ../../../include/foreachaddr.c:230: warning: `grow_or_free' defined but not used ../../../include/foreachaddr.c:244: warning: `get_ifconf' defined but not used gmake[3]: *** [localaddr.o] Error 1 gmake[3]: Leaving directory `/home/plosher/krb5-1.3.2/src/lib/krb5/os' gmake[2]: *** [all-recurse] Error 1 gmake[2]: Leaving directory `/home/plosher/krb5-1.3.2/src/lib/krb5' gmake[1]: *** [all-recurse] Error 1 gmake[1]: Leaving directory `/home/plosher/krb5-1.3.2/src/lib' gmake: *** [all-recurse] Error 1 -=- -=- " -DPACKAGE_BUGREPORT=\"\" -DHAVE_BT_RSEQ=1 -DKRB5_PRIVATE=1 -DKRB5_DEPRECATED=1 -DKRB5_DNS_LOOKUP_KDC=1 -DKRB5_DNS_LOOKUP=1 -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_UNISTD_H=1 -DHAVE_STDARG_H=1 -DHAVE_UNISTD_H=1 -DHAVE_REGEX_H=1 -DHAVE_REGEXP_H=1 -DHAVE_FCNTL_H=1 -DHAVE_MEMORY_H=1 -DHAVE_FCHMOD=1 -DHAVE_CHMOD=1 -DHAVE_STRFTIME=1 -DHAVE_STRPTIME=1 -DHAVE_GETEUID=1 -DHAVE_GETENV=1 -DHAVE_SETSID=1 -DHAVE_VFPRINTF=1 -DHAVE_VSPRINTF=1 -DHAVE_STRDUP=1 -DHAVE_STRCASECMP=1 -DHAVE_STRERROR=1 -DHAVE_MEMMOVE=1 -DHAVE_GETUID=1 -DHAVE_SSCANF=1 -DHAVE_SYSLOG=1 -DHAVE_REGCOMP=1 -DHAVE_RE_COMP=1 -DHAVE_RE_EXEC=1 -DHAVE_REGEXEC=1 -DPOSIX_SIGTYPE=1 -Dkrb5_sigtype=void -DPOSIX_SIGNALS=1 -DGETPEERNAME_ARG2_TYPE=void -DGETPEERNAME_ARG3_TYPE=int -DGETSOCKNAME_ARG2_TYPE=void -DGETSOCKNAME_ARG3_TYPE=int -I../../../include -I./../../../include -I../../../include/krb5 -I./../../../include/krb5 -g -c localaddr.c cc: "../../../include/foreachaddr.c", line 268: error 1574: Unknown size for "lifc". cc: "../../../include/foreachaddr.c", line 270: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 271: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 273: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 275: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 283: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 466: error 1574: Unknown size for "lifnum". cc: "../../../include/foreachaddr.c", line 466: error 1578: Size of struct or union member is unknown. cc: "../../../include/foreachaddr.c", line 493: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 494: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 495: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 503: error 1530: Undefined struct or union. cc: "../../../include/foreachaddr.c", line 519: error 1588: "lifr_name" undefined. cc: "../../../include/foreachaddr.c", line 519: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 519: warning 563: Argument #1 is not the correct type. cc: "../../../include/foreachaddr.c", line 519: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 519: warning 563: Argument #2 is not the correct type. cc: "../../../include/foreachaddr.c", line 520: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 520: error 1594: The sizeof operator cannot be applied to types with unknown size. cc: "../../../include/foreachaddr.c", line 519: warning 527: Integral value implicitly converted to pointer in assignment. cc: "../../../include/foreachaddr.c", line 519: warning 563: Argument #3 is not the correct type. cc: "../../../include/foreachaddr.c", line 521: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 527: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 548: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 548: error 1563: Expression in if must be scalar. cc: "../../../include/foreachaddr.c", line 550: error 1588: "lifr_addr" undefined. cc: "../../../include/foreachaddr.c", line 550: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 550: error 1529: Cannot select field of non-structure. cc: "../../../include/foreachaddr.c", line 550: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 550: error 1529: Cannot select field of non-structure. cc: "../../../include/foreachaddr.c", line 555: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 555: warning 563: Argument #1 is not the correct type. cc: "../../../include/foreachaddr.c", line 555: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 555: warning 563: Argument #2 is not the correct type. cc: "../../../include/foreachaddr.c", line 555: warning 527: Integral value implicitly converted to pointer in assignment. cc: "../../../include/foreachaddr.c", line 555: warning 563: Argument #3 is not the correct type. cc: "../../../include/foreachaddr.c", line 550: error 1563: Expression in if must be scalar. cc: "../../../include/foreachaddr.c", line 563: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 563: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. cc: "../../../include/foreachaddr.c", line 588: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 588: error 1563: Expression in if must be scalar. cc: "../../../include/foreachaddr.c", line 593: error 1531: Invalid member of struct or union. cc: "../../../include/foreachaddr.c", line 593: error 1527: Incompatible types in cast: Must cast from scalar to scalar or to void type. *** Error exit code 1 Stop. *** Error exit code 1 -=- Does anyone know of a workaround for this (wasn't able to find one in the archives). Best Wishes - Peter ________________________________________________ Kerberos mailing list [EMAIL PROTECTED] https://mailman.mit.edu/mailman/listinfo/kerberos
