hercules-390 / hyperion

Hercules 390
Other
252 stars 68 forks source link

Build fails with many warnings during the build process under Mageia v4 X64 Linux #10

Closed vbcoen closed 10 years ago

vbcoen commented 10 years ago

Having grabbed current zip (via download zip tag) at https://github.com/hercules-390/hyperion I unzipped it into default directory then ran: autogen.sh configure >configure.log 2>configure.err make >build.log 2>build.err autogen ran clean with no obvious errors/warnings

configure produced only one:

/home/vince/hercules/hyperion-master/autoconf/missing: Unknown --is-lightweight' option Try/home/vince/hercules/hyperion-master/autoconf/missing --help' for more information

configure: WARNING: 'missing' script is too old or missing

Running the make produced a lot of warnings and normally I would attach the files for both build.log and build.err but cannot see how so I will put it here at the end of msg but if you can please will someone tell me :).

The O/p from build.log look OK but cannot really be sure.

Needless to say attempting to load hercules produces error messages:

HHC90020W 'set_thread_priority' failed at loc=logger.c:299: rc=1: Operation not permitted HHC01413I Hercules version 4.00 HHC01414I (c) Copyright 1999-2013 by Roger Bowler, Jan Jaeger, and others HHC01415I Built on Jul 18 2014 at 17:03:18 HHC01416I Build information: HHC01417I *Nix x86_64 host architecture build HHC01417I Modes: S/370 ESA/390 z/Arch HHC01417I Max CPU Engines: 8 HHC01417I Using setresuid() for setting privileges HHC01417I Using POSIX threads Threading Model HHC01417I Using Error-Checking Mutex Locking Model HHC01417I With Syncio support HHC01417I With Dynamic loading support HHC01417I Using shared libraries HHC01417I With External GUI support HHC01417I With IPV6 support HHC01417I With HTTP Server support HHC01417I With sqrtl support HHC01417I With SIGABEND handler HHC01417I With CCKD BZIP2 support HHC01417I With HET BZIP2 support HHC01417I With ZLIB support HHC01417I With Regular Expressions support HHC01417I Without Object REXX support HHC01417I With Regina REXX support HHC01417I With Automatic Operator support HHC01417I Without National Language Support HHC01417I Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8 HHC01417I Running on study.applewood Linux-3.12.20-server-1.mg. #1 SMP Fri May 16 16:03:00 UTC 2014, x86_64 MP=8 HHC01509I HDL: dependency check failed for REGS, version 3.08 expected 4.00 HHC01509I HDL: dependency check failed for SYSBLK, version 3.08 expected 4.00 HHC01518E HDL: dependency check failed for module dyncrypt HHC90020W 'set_thread_priority' failed at loc=impl.c:217: rc=1: Operation not permitted HHC90020W 'set_thread_priority' failed at loc=cpu.c:1239: rc=1: Operation not permitted HHC90020W 'set_thread_priority' failed at loc=timer.c:200: rc=1: Operation not permitted HHC00100I Thread id 7f6c40673700, prio 2147483647, name Processor CP00 started HHC00100I Thread id 7f6c40572700, prio 2147483647, name Timer started HHC00811I Processor CP00: architecture mode z/Arch HHC00136W Error in function setenv(): cannot set CUU: Not thread safe--setting disabled HHC01474I Using internal codepage conversion table default HHC01807I HTTP server signaled to start HHC90020W 'set_thread_priority' failed at loc=httpserv.c:811: rc=1: Operation not permitted HHC00100I Thread id 7f6c40876700, prio 2147483647, name HTTP server started HHC01802I HTTP server using root directory /usr/local/share/hercules/ HHC17012I MSGLEVEL = verbose nodebug tape dasd ur comm ctca graf scsi HHC01803I HTTP server waiting for requests on port 8081 HHC90020W 'set_thread_priority' failed at loc=console.c:1929: rc=1: Operation not permitted HHC00100I Thread id 7f6c40775700, prio 2147483647, name Console connection started HHC90020W 'set_thread_priority' failed at loc=panel.c:2056: rc=1: Operation not permitted HHC01024I Waiting for console connections on port 3270 HHC00100I Thread id 7f6c43785700, prio 2147483647, name Control panel started HHC01417I With Syncio support + HHC01417I With Dynamic loading support
HHC01417I Using shared libraries
HHC01417I With External GUI support
HHC01417I With IPV6 support
HHC01417I With HTTP Server support
HHC01417I With sqrtl support
HHC01417I With SIGABEND handler
HHC01417I With CCKD BZIP2 support
HHC01417I With HET BZIP2 support
HHC01417I With ZLIB support
HHC01417I With Regular Expressions support
HHC01417I Without Object REXX support
HHC01417I With Regina REXX support
HHC01417I With Automatic Operator support
HHC01417I Without National Language Support
HHC01417I Machine dependent assists: cmpxchg1 cmpxchg4 cmpxchg8
HHC01417I Running on study.applewood Linux-3.12.20-server-1.mg. #1 SMP Fri May 16 16:03:00 UTC 2014, x86_64 MP=8
HHC01509I HDL: dependency check failed for REGS, version 3.08 expected 4.00
HHC01509I HDL: dependency check failed for SYSBLK, version 3.08 expected 4.00
HHC01518E HDL: dependency check failed for module dyncrypt
HHC90020W 'set_thread_priority' failed at loc=impl.c:217: rc=1: Operation not permitted
HHC90020W 'set_thread_priority' failed at loc=cpu.c:1239: rc=1: Operation not permitted
HHC90020W 'set_thread_priority' failed at loc=timer.c:200: rc=1: Operation not permitted
HHC00100I Thread id 7f6c40673700, prio 2147483647, name Processor CP00 started
HHC00100I Thread id 7f6c40572700, prio 2147483647, name Timer started
HHC00811I Processor CP00: architecture mode z/Arch
HHC00136W Error in function setenv(): cannot set CUU: Not thread safe--setting disabled
HHC01474I Using internal codepage conversion table default
HHC01807I HTTP server signaled to start
HHC90020W 'set_thread_priority' failed at loc=httpserv.c:811: rc=1: Operation not permitted
HHC00100I Thread id 7f6c40876700, prio 2147483647, name HTTP server started
HHC01802I HTTP server using root directory /usr/local/share/hercules/
HHC17012I MSGLEVEL = verbose nodebug tape dasd ur comm ctca graf scsi
HHC01803I HTTP server waiting for requests on port 8081
HHC90020W 'set_thread_priority' failed at loc=console.c:1929: rc=1: Operation not permitted
HHC00100I Thread id 7f6c40775700, prio 2147483647, name Console connection started
HHC90020W 'set_thread_priority' failed at loc=panel.c:2056: rc=1: Operation not permitted
HHC01024I Waiting for console connections on port 3270

HHC00100I Thread id 7f6c43785700, prio 2147483647, name Control panel started

Needless to say, doing the same with the hercules version supplied with TK4 (update 4 or 5) does not produce errors other than not finding the conf file.

Vincent

build.err contents:

[vince@study hyperion-master]$ cat build.err hthreads.c: In function ‘lockscmd’: hthreads.c:1072:5: warning: format ‘%llx’ expects argument of type ‘long long unsigned int ’, but argument 3 has type ‘U64 ’ [-Wformat=] else if (sscanf( argv[1], TIDPAT"%c", (U64_)&tid, &c ) != 1) ^ ltdl.c: In function ‘rpl_strdup’: ltdl.c:284:7: warning: implicit declaration of function ‘strlcpy’ [-Wimplicit-function-declaration] strlcpy(tmp, str, strlen(str)+1); ^ ltdl.c: In function ‘presym_close’: ltdl.c:2095:16: warning: parameter ‘module’ set but not used [-Wunused-but-set-parameter] lt_module module; ^ ltdl.c: In function ‘lt_dlopenext’: ltdl.c:3494:5: warning: implicit declaration of function ‘strlcat’ [-Wimplicit-function-declaration] strlcat (tmp, archive_ext, tsize ); ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SRWRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from ckddasd.c:37:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from ckddasd.c:30: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SR_WRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from fbadasd.c:25:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from fbadasd.c:18: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ cpu.c: In function ‘s370_run_cpu’: cpu.c:1658:18: warning: variable ‘regs’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] register REGS regs; ^ In file included from cpu.c:1846:0: cpu.c: In function ‘s390_run_cpu’: cpu.c:1658:18: warning: variable ‘regs’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] register REGS regs; ^ In file included from cpu.c:1852:0: cpu.c: In function ‘z900_run_cpu’: cpu.c:1658:18: warning: variable ‘regs’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] register REGS *regs; ^ decimal.c:1155:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", off )

^ decimal.c:1250:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", on )

^ In file included from decimal.c:1421:0: decimal.c:1155:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", off )

^ decimal.c:1250:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", on )

^ In file included from decimal.c:1427:0: decimal.c:1155:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", off )

^ decimal.c:1250:0: warning: ignoring #pragma optimize [-Wunknown-pragmas]

pragma optimize( "", on )

^ In file included from service.c:41:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SR_WRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from service.c:41:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from service.c:41:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from service.c:41:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from service.c:41:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from service.c:41:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from service.c:41:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from service.c:41:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from service.c:41:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from service.c:28: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ scedasd.c: In function ‘s370_load_main’: scedasd.c:334:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chunk > (sysblk.mainsize - aaddr)) ^ In file included from scedasd.c:887:0: scedasd.c: In function ‘s390_load_main’: scedasd.c:334:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chunk > (sysblk.mainsize - aaddr)) ^ In file included from scedasd.c:893:0: scedasd.c: In function ‘z900_load_main’: scedasd.c:334:19: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] if (chunk > (sysblk.mainsize - aaddr)) ^ In file included from clock.c:62:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SR_WRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from clock.c:62:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from clock.c:62:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from clock.c:62:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from clock.c:62:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from clock.c:62:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from clock.c:62:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from clock.c:62:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from clock.c:62:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from clock.c:50: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from cmdtab.c:99:0: cmdtab.h:22:1: warning: multi-line comment [-Wcomment] //#define xxx_cmd_help \ ^ In file included from cmdtab.c:111:0: cmdtab.h:22:1: warning: multi-line comment [-Wcomment] //#define xxx_cmd_help \ ^ hscmisc.c: In function ‘s370_virt_to_abs’: hscmisc.c:1710:41: warning: argument ‘arn’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] VADR vaddr, int arn, REGS regs, int acctype) ^ In file included from hscmisc.c:2415:0: hscmisc.c: In function ‘s390_virt_to_abs’: hscmisc.c:1710:41: warning: argument ‘arn’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] VADR vaddr, int arn, REGS regs, int acctype) ^ In file included from hscmisc.c:2421:0: hscmisc.c: In function ‘z900_virt_to_abs’: hscmisc.c:1710:41: warning: argument ‘arn’ might be clobbered by ‘longjmp’ or ‘vfork’ [-Wclobbered] VADR vaddr, int arn, REGS regs, int acctype) ^ In file included from sr.c:32:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SR_WRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from sr.c:32:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from sr.c:32:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from sr.c:32:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from sr.c:32:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from sr.c:32:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from sr.c:32:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from sr.c:32:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from sr.c:32:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ sr.c: In function ‘suspend_cmd’: sr.c:92:10: warning: assignment from incompatible pointer type [enabled by default] file = SR_OPEN (fn, "wb"); ^ sr.c:345:5: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [enabled by default] SR_CLOSE (file); ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1511:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFiles *’ ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ sr.c:357:5: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [enabled by default] SR_CLOSE (file); ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1511:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFiles *’ ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ sr.c: In function ‘resume_cmd’: sr.c:415:10: warning: assignment from incompatible pointer type [enabled by default] file = SR_OPEN (fn, "rb"); ^ sr.c:1426:5: warning: passing argument 1 of ‘gzclose’ from incompatible pointer type [enabled by default] SR_CLOSE (file); ^ In file included from hstdinc.h:208:0, from sr.c:8: /usr/include/zlib.h:1511:24: note: expected ‘gzFile’ but argument is of type ‘struct gzFiles *’ ZEXTERN int ZEXPORT gzclose OF((gzFile file)); ^ ctcadpt.c: In function ‘CTCE_Init’: ctcadpt.c:2030:17: warning: passing argument 3 of ‘hthread_create_thread’ from incompatible pointer type [enabled by default] create_thread( &tid2, JOINABLE, CTCERecvThread, dev, str ); ^ In file included from hercules.h:89:0, from ctcadpt.c:33: hthreads.h:289:20: note: expected ‘void * ()(void )’ but argument is of type ‘void * ()(struct DEVBLK )’ HT_DLL_IMPORT int hthread_createthread ( TID ptid, ATTR* pat, THREAD_FUNC* pfn, void* arg, const char* name, const char* location ); ^ ctcadpt.c: In function ‘CTCE_ListenThread’: ctcadpt.c:2123:17: warning: passing argument 3 of ‘hthread_create_thread’ from incompatible pointer type [enabled by default] create_thread( &tid2, JOINABLE, CTCERecvThread, parm.dev, str ); ^ In file included from hercules.h:89:0, from ctcadpt.c:33: hthreads.h:289:20: note: expected ‘void * ()(void )’ but argument is of type ‘void * ()(struct DEVBLK )’ HT_DLL_IMPORT int hthread_createthread ( TID ptid, ATTR* pat, THREAD_FUNC* pfn, void* arg, const char* name, const char* location ); ^ In file included from console.c:65:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SRWRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from console.c:65:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from console.c:65:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from console.c:65:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from console.c:65:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from console.c:65:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from console.c:65:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from console.c:65:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from console.c:65:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from console.c:57: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ zfcp.c: In function ‘process_input_queue’: zfcp.c:300:21: warning: unused variable ‘mactype’ [-Wunused-variable] int mactype = 0; ^ zfcp.c:298:21: warning: unused variable ‘olen’ [-Wunused-variable] int olen = 0; int tlen = 0; ^ zfcp.c:279:5: warning: unused variable ‘nobuff’ [-Wunused-variable] int nobuff = 1; ^ zfcp.c: In function ‘zfcp_query_device’: zfcp.c:630:11: warning: unused variable ‘grp’ [-Wunused-variable] ZFCP_GRP grp = (ZFCPGRP)dev->group->grp_data; ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_write_hdr’: sr.h:552:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if (SR_WRITE(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_write_string’: sr.h:578:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((size_t)SR_WRITE(str, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_write_buf’: sr.h:604:9: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_write_value’: sr.h:642:5: warning: passing argument 1 of ‘gzwrite’ from incompatible pointer type [enabled by default] if ((U32)SR_WRITE(buf, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1341:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzwrite OF((gzFile file, ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_read_hdr’: sr.h:657:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if (SR_READ(buf, 1, 8, file) != 8) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_read_skip’: sr.h:691:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((size_t)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_read_string’: sr.h:713:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(p, 1, len, file) != len) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_read_buf’: sr.h:736:9: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, siz, file) != siz) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from con1052c.c:12:0: sr.h: In function ‘sr_read_value’: sr.h:764:5: warning: passing argument 1 of ‘gzread’ from incompatible pointer type [enabled by default] if ((U32)SR_READ(buf, 1, suslen, file) != suslen) ^ In file included from hstdinc.h:208:0, from con1052c.c:4: /usr/include/zlib.h:1313:21: note: expected ‘gzFile’ but argument is of type ‘struct FILE ’ ZEXTERN int ZEXPORT gzread OF((gzFile file, voidp buf, unsigned len)); ^ In file included from hercules.h:141:0, from cckddiag.c:19: cckddiag.c: In function ‘decomptrk’: msgenu.h:81:60: warning: argument to ‘sizeof’ in ‘snprintf’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]

define MSGBUF( _buf, ... ) snprintf(_buf, sizeof(_buf), ## __VA_ARGS__ )

                                                        ^

cckddiag.c:181:17: note: in expansion of macro ‘MSGBUF’ MSGBUF(msg, "%s %d uncompress error, rc=%d;" ^ msgenu.h:81:60: warning: argument to ‘sizeof’ in ‘snprintf’ call is the same expression as the destination; did you mean to provide an explicit length? [-Wsizeof-pointer-memaccess]

define MSGBUF( _buf, ... ) snprintf(_buf, sizeof(_buf), ## __VA_ARGS__ )

                                                        ^

cckddiag.c:202:17: note: in expansion of macro ‘MSGBUF’ MSGBUF(msg, "%s %d decompress error, rc=%d;"

^

If any more info required please contact me at vbcoen at gmail .com

jphartmann commented 10 years ago

Pthread priority (this is a real-time priority) and scheduling parameters are controlled on Linux by /etc/security/limits.conf or individual files in /etc/security/limits.d

Fish-Git commented 10 years ago

This issue has been split into two separate issues: "#11 Support the latest ZLIB" and #14 HHC90020W 'set_thread_priority' failed"