Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

zsh 3.0.1 on HP-UX 10.20



Good Morning,

Yesterday I tried compiling zsh 3.0.1 on a HP 9000/777 (a C110) running
HP-UX 10.20.  It did alright until it tried to make the builtin.c
section.  Here is part of the output from that.

--- Start make output ---
...
        sed -n -f ./makepro.sed zle_word.c > zle_word.pro
        awk -f ./signames.awk /usr/include/sys/signal.h > signames.h
        cc -Aa -D_HPUX_SOURCE -c -I.. -I. -I.  -DHAVE_CONFIG_H -O builtin.c
cc: "builtin.c", line 84: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 88: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 236: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 344: error 1588: "strpcmp" undefined.
cc: "builtin.c", line 344: error 1588: "invstrpcmp" undefined.
cc: "builtin.c", line 343: warning 563: Argument #4 is not the correct type.
cc: "builtin.c", line 350: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 356: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 359: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 367: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 439: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 958: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 962: error 1588: "freestr" undefined.
cc: "builtin.c", line 988: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 995: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 995: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 997: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 999: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 999: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1003: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1005: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1005: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1015: error 1584: Inconsistent type declaration:
"cd_get_dest".
cc: "builtin.c", line 1085: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1107: error 1584: Inconsistent type declaration:
"cd_do_chdir".
cc: "builtin.c", line 1120: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1134: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1143: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1154: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1155: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1175: error 1584: Inconsistent type declaration:
"cd_able_vars".
cc: "builtin.c", line 1183: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1187: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1203: error 1584: Inconsistent type declaration:
"cd_try_chdir".
cc: "builtin.c", line 1225: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1225: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1225: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1230: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1230: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1238: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1254: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1254: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1254: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1254: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 1255: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1263: error 1584: Inconsistent type declaration:
"cd_new_pwd".
cc: "builtin.c", line 1272: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1276: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1282: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1303: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1306: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1315: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 1335: error 1584: Inconsistent type declaration:
"printdirstack".
cc: "builtin.c", line 2021: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2032: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2044: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2065: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2172: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2173: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2174: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2175: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2176: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2177: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2178: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2179: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2180: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2191: error 1584: Inconsistent type declaration:
"cc_reassign".
cc: "builtin.c", line 2218: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2219: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2220: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2221: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2222: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2223: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2224: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2225: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2226: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2235: error 1584: Inconsistent type declaration:
"compctl_process_cc".
cc: "builtin.c", line 2253: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2253: warning 563: Argument #2 is not the correct type.
cc: "builtin.c", line 2262: error 1584: Inconsistent type declaration:
"printcompctl".
cc: "builtin.c", line 2421: error 1584: Inconsistent type declaration:
"printqt".
cc: "builtin.c", line 2433: error 1584: Inconsistent type declaration:
"printif".
cc: "builtin.c", line 2464: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2475: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2480: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2486: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2554: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2562: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2676: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2681: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2761: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2827: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2829: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2859: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2859: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2885: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2928: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 2928: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2940: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 2948: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3005: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3041: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3041: warning 563: Argument #2 is not the correct type.
cc: "builtin.c", line 3069: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3167: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3234: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3334: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3409: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3416: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3417: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3417: warning 563: Argument #2 is not the correct type.
cc: "builtin.c", line 3421: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3422: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3422: warning 563: Argument #2 is not the correct type.
cc: "builtin.c", line 3427: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3479: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3558: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3571: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3575: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3575: warning 563: Argument #2 is not the correct type.
cc: "builtin.c", line 3575: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 3575: warning 563: Argument #3 is not the correct type.
cc: "builtin.c", line 4052: error 1584: Inconsistent type declaration:
"showlimits".
cc: "builtin.c", line 4102: error 1584: Inconsistent type declaration:
"printulimit".
cc: "builtin.c", line 4235: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4252: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4256: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4265: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4306: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4335: warning 612: No declaration in scope for identifier
"cstrpcmp".
cc: "builtin.c", line 4338: error 1588: "strpcmp" undefined.
cc: "builtin.c", line 4338: warning 563: Argument #4 is not the correct type.
cc: "builtin.c", line 4341: error 1588: "invcstrpcmp" undefined.
cc: "builtin.c", line 4341: warning 563: Argument #4 is not the correct type.
cc: "builtin.c", line 4344: error 1588: "invstrpcmp" undefined.
cc: "builtin.c", line 4344: warning 563: Argument #4 is not the correct type.
cc: "builtin.c", line 4455: error 1588: "putraw" undefined.
cc: "builtin.c", line 4455: warning 563: Argument #3 is not the correct type.
cc: "builtin.c", line 4458: warning 563: Argument #3 is not the correct type.
cc: "builtin.c", line 4483: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4490: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4499: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4499: warning 563: Argument #1 is not the correct type.
cc: "builtin.c", line 4530: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4566: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4581: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4592: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4660: error 1584: Inconsistent type declaration: "zexit".
cc: "builtin.c", line 4711: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4714: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4719: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4754: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4795: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 4833: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5012: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5069: error 1647: Illegal integer-pointer combination for
second and third operands of conditional expression (?:).
cc: "builtin.c", line 5346: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5415: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5416: error 1588: "yylex" undefined.
cc: "builtin.c", line 5486: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5513: warning 527: Integral value implicitly converted to
pointer in assignment.
cc: "builtin.c", line 5719: error 1584: Inconsistent type declaration:
"getasg".
*** Error exit code 1

Stop.
*** Error exit code 1

Stop.
--- End make output ---


I also tried to make version 3.0.0.  It failed right away with the fixme
error.  Even though this doesn't happen with version 3.0.1, below is the
resource.h file you ask for when the fixme error shows up.

--- Start resource.h ---
/* $Header: resource.h,v 1.15.98.11 96/05/03 12:40:17 ukrishna Exp $
 * $Locker: BERT $
 */

#ifndef _SYS_RESOURCE_INCLUDED
#define _SYS_RESOURCE_INCLUDED

#ifdef _KERNEL_BUILD
#include "../h/stdsyms.h"
#else /* ! _KERNEL_BUILD */
#include <sys/stdsyms.h>
#endif /* _KERNEL_BUILD */

#ifdef _INCLUDE_XOPEN_SOURCE_EXTENDED

#ifdef _KERNEL_BUILD
#include "../h/types.h"
#include "../h/time.h"
#else /* ! _KERNEL_BUILD */
#include <sys/types.h>
#include <sys/time.h>
#endif /* _KERNEL_BUILD */

/*
 * Resource limits
 */

#if !defined(_KERNEL)

#  define __rlimit rlimit
#  include <sys/_rlimit_body.h>
#  undef __rlimit

#  if defined(_LARGEFILE64_SOURCE)

#    define __rlimit  rlimit64
#    define rlim_t rlim64_t
#    include <sys/_rlimit_body.h>
#    undef rlim_t
#    undef __rlimit

#  endif /* _LARGEFILE64_SOURCE */

#else /* _KERNEL */

#  define __rlimit  rlimit64
#  define rlim_t rlim64_t
#  include "_rlimit_body.h"
#  undef rlim_t
#  undef __rlimit

#  define __rlimit  rlimit32
#  define rlim_t rlim32_t
#  include "_rlimit_body.h"
#  undef rlim_t
#  undef __rlimit

#  define __rlimit  k_rlimit
#  define rlim_t  k_rlim_t
#  include "_rlimit_body.h"
#  undef rlim_t
#  undef __rlimit

#endif /* ! _KERNEL */

/*
 * Process priority specifications to get/setpriority.
 */

#define PRIO_MIN        -20
#define PRIO_MAX        20

#define PRIO_PROCESS    0
#define PRIO_PGRP       1
#define PRIO_USER       2

/*
 * Resource utilization information.
 */

#define RUSAGE_SELF     0
#define RUSAGE_CHILDREN -1

struct  rusage {
        struct timeval ru_utime;        /* user time used */
        struct timeval ru_stime;        /* system time used */
                                        /* actual values kept in proc struct */
        long    ru_maxrss;
#define ru_first        ru_ixrss
        long    ru_ixrss;               /* integral shared memory size */
        long    ru_idrss;               /* integral unshared data " */
        long    ru_isrss;               /* integral unshared stack " */
        long    ru_minflt;              /* page reclaims */
        long    ru_majflt;              /* page faults */
        long    ru_nswap;               /* swaps */
        long    ru_inblock;             /* block input operations */
        long    ru_oublock;             /* block output operations */
        long    ru_ioch;                /* # of characters read/written */
        long    ru_msgsnd;              /* messages sent */
        long    ru_msgrcv;              /* messages received */
        long    ru_nsignals;            /* signals received */
        long    ru_nvcsw;               /* voluntary context switches */
        long    ru_nivcsw;              /* involuntary " */
#define ru_last         ru_nivcsw
};

/*
 * Within the kernel, time information is stored as ticks rather than as
 * seconds plus microseconds.  This makes normal updates more efficient
 * and eliminates race conditions while updating.  The seconds field is
 * used to store ticks and the microseconds field is unused.
 */

/*
 * The information is converted to seconds plus microseconds when given
 * to the user via the getrusage and wait3 system calls.
 */


/* Function prototypes */

#ifndef _KERNEL
#ifdef __cplusplus
   extern "C" {
#endif /* __cplusplus */

#ifdef _PROTOTYPES
   extern int getpriority(int, id_t);
   extern int getrusage(int, struct rusage *);
   extern int setpriority(int, id_t, int);
# ifndef _FILE64
   extern int getrlimit(int, struct rlimit *);
   extern int setrlimit(int, const struct rlimit *);
# else
   static int getrlimit(int, struct rlimit *);
   static int setrlimit(int, const struct rlimit *);
# endif
# if defined(_LARGEFILE64_SOURCE)
   extern int getrlimit64(int, struct rlimit64 *);
   extern int setrlimit64(int, const struct rlimit64 *);
# endif
#else /* not _PROTOTYPES */
   extern int getpriority();
   extern int getrusage();
   extern int setpriority();
   extern int getrlimit();
   extern int setrlimit();
# if defined(_LARGEFILE64_SOURCE)
    extern int getrlimit64();
    extern int setrlimit64();
# endif
#endif /* not _PROTOTYPES */

#if defined(_FILE64)
static getrlimit(a,b) struct rlimit *b;    { return __getrlimit64(a,b); }
# ifdef __STDC_EXT__
static setrlimit(a,b) const struct rlimit *b;  { return __setrlimit64(a,b); }
# else
static setrlimit(a,b) struct rlimit *b;  { return __setrlimit64(a,b); }
# endif
#endif

#ifdef __cplusplus
   }
#endif /* __cplusplus */
#endif /* not _KERNEL */

/*
 * Resource limits
 */

#if defined(_KERNEL) || defined(_LARGEFILE64_SOURCE)
#  define  RLIM64_INFINITY  0x7fffffffffffffffLL
#  define  RLIM32_INFINITY  0x7fffffff
#endif

#if defined(_KERNEL)
#  define  K_RLIM_INFINITY  RLIM64_INFINITY
#  define  ATT_BYTESPERBLOCK    512
#  define  LOG_ATT_BYTESPERBLOCK        9
/* bytes to 1/2k blocks and 1/2k  blocks to bytes conversion macro. */
#  define bt2bk(x)      (((unsigned) (x)) >> (LOG_ATT_BYTESPERBLOCK))
#  define bk2bt(x)      (((unsigned) (x)) << (LOG_ATT_BYTESPERBLOCK))
#  define ULIMIT_MAX    bt2bk(0x80000000)
#else
# if defined(_FILE64)
#   define  RLIM_INFINITY   0x7fffffffffffffffLL
# else
#   define  RLIM_INFINITY   0x7fffffff
# endif /* _FILE64 */
#endif /* _KERNEL */

#define RLIMIT_CPU      0               /* cpu time in milliseconds */
#define RLIMIT_DATA     2               /* data size */
#define RLIMIT_STACK    3               /* stack size */
#define RLIMIT_RSS      5               /* resident set size */

#define RLIMIT_FSIZE    1               /* maximum file size */
#define RLIMIT_CORE     4               /* core file size */
#define RLIMIT_NOFILE   6               /* maximum number of open files */
#define RLIMIT_OPEN_MAX RLIMIT_NOFILE   /* maximum number of open files */
#define RLIMIT_AS       7               /* maximum number of open files */
#define RLIMIT_TCACHE   8               /* maximum number of cached threads */
#define RLIM_NLIMITS    9               /* number of resource limits */

#endif /* _INCLUDE_XOPEN_SOURCE_EXTENDED */

#endif /* _SYS_RESOURCE_INCLUDED */

/* markd - No 3/14 code to merge. */
/*       - No 3/24 code to merge. */
--- End resource.h ---


I was able to successfully build version 3.0.1 on a HP-UX 10.01 machine.
I then copied that over to the 10.20 machine.  I ran it there.  I only
did a few basic things with it though.  I'm not sure what problems it
will cause, if any.

I am not a member of any zsh mailing list, nor am I able to read the
newgroups.  If there are any further questions, or if there's something
you would like for me to try, please reply to this message.  My email
address is also included in the signature.

Thank you in advance.

-- 
----------------------------------------------------------------------------
| Lewis Muhlenkamp                   | Network Administrator               |
| Motorola, Inc.                     | phone: 847-538-4670                 |
| Mailstop: IL02/1055C               | fax: 847-538-4315                   |
| 1301 E. Algonquin Rd.              | email: lewism@xxxxxxxxxxxxxxx       |
| Schaumburg, IL 60196               |                                     |
----------------------------------------------------------------------------



Messages sorted by: Reverse Date, Date, Thread, Author