| Newsgroups |
gmane.comp.emulators.hercules390.general |
| Message-ID |
<[email protected]> |
All,
It has been ages since I posted here, so re-hello to all.
I recently downloaded the Hyperion version of Hercules from https://github.com/hercules-390/hyperion.git https://github.com/hercules-390/hyperion.git did a cmake and had hercules built in a flash. However, I next realized that the SDL version of Hercules hyperion seems to be most up to date version and thus wanted to build that.
cmake ../hyperion-sdl
CMake Error: The source directory "/Users/user1/ztest/hyperion-sdl" does not appear to contain CMakeLists.txt.
Specify --help for usage, or press the help button on the CMake GUI.
1) Where can I get this missing file so I can use cmake to build it, since that has always been a very easy way to do so?
I then tried:
$ ./autogen.sh
Note: if you do not see a 'All processing successfully completed.'
message when this script completes, then something went wrong and
you should examine the output to try and determine what it was that
went wrong.
aclocal... OK. (25% done)
autoheader... OK. (50% done)
automake... OK. (75% done)
autoconf... OK. (100% done)
All processing successfully completed.
You may now run ./configure in order to create a custom Makefile
that is suitable for your platform and environment.
$ ./configure
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for a thread-safe mkdir -p... autoconf/install-sh -c -d
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make supports nested variables... yes
checking whether make supports nested variables... (cached) yes
checking whether to enable maintainer-specific portions of Makefiles... no
checking build system type... x86_64-apple-darwin18.7.0
checking host system type... x86_64-apple-darwin18.7.0
checking target system type... x86_64-apple-darwin18.7.0
checking whether make supports the include directive... yes (GNU style)
checking for gcc... gcc
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether gcc accepts -g... yes
checking for gcc option to accept ISO C89... none needed
checking whether gcc understands -c and -o together... yes
checking dependency style of gcc... gcc3
checking target CPU architecture ... x86
checking target CPU bitness ... 64
configure: Detected GCC equivalent level for gcc : 4.2.1
checking for a sed that does not truncate output... /usr/local/bin/gsed
checking for grep that handles long lines and -e... /usr/bin/grep
checking for egrep... /usr/bin/grep -E
checking for ld used by gcc... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking for /Library/Developer/CommandLineTools/usr/bin/ld option to reload object files... -r
checking for BSD-compatible nm... /usr/bin/nm -B
checking whether ln -s works... yes
checking how to recognise dependent libraries... pass_all
checking how to run the C preprocessor... gcc -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking dlfcn.h usability... yes
checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for g++... g++
checking whether we are using the GNU C++ compiler... yes
checking whether g++ accepts -g... yes
checking dependency style of g++... gcc3
checking how to run the C++ preprocessor... g++ -E
checking for g77... no
checking for xlf... no
checking for f77... no
checking for frt... no
checking for pgf77... no
checking for cf77... no
checking for fort77... no
checking for fl32... no
checking for af77... no
checking for xlf90... no
checking for f90... no
checking for pgf90... no
checking for pghpf... no
checking for epcf90... no
checking for gfortran... no
checking for g95... no
checking for xlf95... no
checking for f95... no
checking for fort... no
checking for ifort... no
checking for ifc... no
checking for efc... no
checking for pgfortran... no
checking for pgf95... no
checking for lf95... no
checking for ftn... no
checking for nagfor... no
checking whether we are using the GNU Fortran 77 compiler... no
checking whether accepts -g... no
checking the maximum length of command line arguments... 65536
checking command to parse /usr/bin/nm -B output from gcc object... ok
checking for objdir... .libs
checking for ar... ar
checking for ranlib... ranlib
checking for strip... strip
checking if gcc static flag works... yes
checking if gcc supports -fno-rtti -fno-exceptions... yes
checking for gcc option to produce PIC... -fno-common
checking if gcc PIC flag -fno-common works... yes
checking if gcc supports -c -o file.o... yes
checking whether the gcc linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for dlopen in -ldl... yes
checking whether a program can dlopen itself... yes
checking whether a statically linked program can dlopen itself... yes
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... yes
checking whether to build static libraries... no
configure: creating libtool
appending configuration tag "CXX" to libtool
checking for ld used by g++... /Library/Developer/CommandLineTools/usr/bin/ld
checking if the linker (/Library/Developer/CommandLineTools/usr/bin/ld) is GNU ld... no
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking for g++ option to produce PIC... -fno-common
checking if g++ PIC flag -fno-common works... yes
checking if g++ supports -c -o file.o... yes
checking whether the g++ linker (/Library/Developer/CommandLineTools/usr/bin/ld) supports shared libraries... yes
checking dynamic linker characteristics... darwin18.7.0 dyld
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking for dlopen in -ldl... (cached) yes
checking whether a program can dlopen itself... (cached) yes
checking whether a statically linked program can dlopen itself... (cached) yes
appending configuration tag "F77" to libtool
checking for an ANSI C-conforming const... yes
checking for dirent.h that defines DIR... yes
checking for library containing opendir... none required
checking which extension is used for loadable modules...
checking which variable specifies run-time library path... DYLD_LIBRARY_PATH
checking for the default library search path... /usr/local/lib /lib /usr/lib
checking for objdir... .libs
checking whether libtool supports -dlopen/-dlpreopen... yes
checking for shl_load... no
checking for shl_load in -ldld... no
checking for dlopen in -ldl... (cached) yes
checking for dlerror... yes
checking for _ prefix in compiled symbols... yes
checking whether we have to add an underscore for dlsym... no
checking whether deplibs are loaded by dlopen... yes
checking argz.h usability... no
checking argz.h presence... no
checking for argz.h... no
checking for error_t... no
checking for argz_append... no
checking for argz_create_sep... no
checking for argz_insert... no
checking for argz_next... no
checking for argz_stringify... no
checking assert.h usability... yes
checking assert.h presence... yes
checking for assert.h... yes
checking ctype.h usability... yes
checking ctype.h presence... yes
checking for ctype.h... yes
checking errno.h usability... yes
checking errno.h presence... yes
checking for errno.h... yes
checking malloc.h usability... no
checking malloc.h presence... no
checking for malloc.h... no
checking for memory.h... (cached) yes
checking for stdlib.h... (cached) yes
checking stdio.h usability... yes
checking stdio.h presence... yes
checking for stdio.h... yes
checking for unistd.h... (cached) yes
checking dl.h usability... no
checking dl.h presence... no
checking for dl.h... no
checking sys/dl.h usability... no
checking sys/dl.h presence... no
checking for sys/dl.h... no
checking dld.h usability... no
checking dld.h presence... no
checking for dld.h... no
checking mach-o/dyld.h usability... yes
checking mach-o/dyld.h presence... yes
checking for mach-o/dyld.h... yes
checking for string.h... (cached) yes
checking for strchr... yes
checking for strrchr... yes
checking for memcpy... yes
checking for memmove... yes
checking for strcmp... yes
checking for closedir... yes
checking for opendir... yes
checking for readdir... yes
configure: (use of lt_dlopen forced by Hercules Dynamic Loader requirement)
checking for ctype.h... (cached) yes
checking for errno.h... (cached) yes
checking fcntl.h usability... yes
checking fcntl.h presence... yes
checking for fcntl.h... yes
checking limits.h usability... yes
checking limits.h presence... yes
checking for limits.h... yes
checking setjmp.h usability... yes
checking setjmp.h presence... yes
checking for setjmp.h... yes
checking stdarg.h usability... yes
checking stdarg.h presence... yes
checking for stdarg.h... yes
checking for stdio.h... (cached) yes
checking for stdlib.h... (cached) yes
checking for string.h... (cached) yes
checking sched.h usability... yes
checking sched.h presence... yes
checking for sched.h... yes
checking time.h usability... yes
checking time.h presence... yes
checking for time.h... yes
checking for unistd.h... (cached) yes
checking for sys/stat.h... (cached) yes
checking sys/time.h usability... yes
checking sys/time.h presence... yes
checking for sys/time.h... yes
checking for sys/types.h... (cached) yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking pthread.h usability... yes
checking pthread.h presence... yes
checking for pthread.h... yes
checking whether HQA_DIR is defined ... no
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for net/if.h... yes
checking for net/route.h... yes
checking for net/tcp.h... no
checking for netinet/tcp.h... yes
checking arpa/inet.h usability... yes
checking arpa/inet.h presence... yes
checking for arpa/inet.h... yes
checking linux/if_tun.h usability... no
checking linux/if_tun.h presence... no
checking for linux/if_tun.h... no
checking sys/ioctl.h usability... yes
checking sys/ioctl.h presence... yes
checking for sys/ioctl.h... yes
checking for linux/ipv6.h... no
checking for net/if_var.h... yes
checking for netinet/in_var.h... yes
checking for netinet6/in6_var.h... yes
checking sys/param.h usability... yes
checking sys/param.h presence... yes
checking for sys/param.h... yes
checking for sys/mount.h... yes
checking for stdatomic.h... yes
checking for sys/sysctl.h... yes
checking for assert.h... (cached) yes
checking sys/mtio.h usability... no
checking sys/mtio.h presence... no
checking for sys/mtio.h... no
checking sys/resource.h usability... yes
checking sys/resource.h presence... yes
checking for sys/resource.h... yes
checking sys/uio.h usability... yes
checking sys/uio.h presence... yes
checking for sys/uio.h... yes
checking sys/utsname.h usability... yes
checking sys/utsname.h presence... yes
checking for sys/utsname.h... yes
checking sys/wait.h usability... yes
checking sys/wait.h presence... yes
checking for sys/wait.h... yes
checking sys/un.h usability... yes
checking sys/un.h presence... yes
checking for sys/un.h... yes
checking byteswap.h usability... no
checking byteswap.h presence... no
checking for byteswap.h... no
checking bzlib.h usability... yes
checking bzlib.h presence... yes
checking for bzlib.h... yes
checking for dlfcn.h... (cached) yes
checking fenv.h usability... yes
checking fenv.h presence... yes
checking for fenv.h... yes
checking for inttypes.h... (cached) yes
checking for stdint.h... (cached) yes
checking stdbool.h usability... yes
checking stdbool.h presence... yes
checking for stdbool.h... yes
checking locale.h usability... yes
checking locale.h presence... yes
checking for locale.h... yes
checking ltdl.h usability... no
checking ltdl.h presence... no
checking for ltdl.h... no
checking for malloc.h... (cached) no
checking math.h usability... yes
checking math.h presence... yes
checking for math.h... yes
checking netdb.h usability... yes
checking netdb.h presence... yes
checking for netdb.h... yes
checking pwd.h usability... yes
checking pwd.h presence... yes
checking for pwd.h... yes
checking regex.h usability... yes
checking regex.h presence... yes
checking for regex.h... yes
checking signal.h usability... yes
checking signal.h presence... yes
checking for signal.h... yes
checking termios.h usability... yes
checking termios.h presence... yes
checking for termios.h... yes
checking for time.h... (cached) yes
checking zlib.h usability... yes
checking zlib.h presence... yes
checking for zlib.h... yes
checking sys/capability.h usability... no
checking sys/capability.h presence... no
checking for sys/capability.h... no
checking sys/prctl.h usability... no
checking sys/prctl.h presence... no
checking for sys/prctl.h... no
checking sys/syscall.h usability... yes
checking sys/syscall.h presence... yes
checking for sys/syscall.h... yes
checking rexx.h usability... no
checking rexx.h presence... no
checking for rexx.h... no
checking oorexxapi.h usability... no
checking oorexxapi.h presence... no
checking for oorexxapi.h... no
checking regina/rexxsaa.h usability... no
checking regina/rexxsaa.h presence... no
checking for regina/rexxsaa.h... no
checking rexxsaa.h usability... yes
checking rexxsaa.h presence... yes
checking for rexxsaa.h... yes
checking whether SIGPIPE is declared... yes
checking whether SIGBUS is declared... yes
checking whether IFNAMSIZ is declared... no
checking whether LOGIN_NAME_MAX is declared... no
checking whether _SC_NPROCESSORS_CONF is declared... yes
checking whether _SC_NPROCESSORS_ONLN is declared... yes
checking whether SIOCSIFNETMASK is declared... no
checking whether SIOCSIFBRDADDR is declared... no
checking whether SIOCSIFHWADDR is declared... no
checking whether SIOCGIFHWADDR is declared... no
checking whether SIOCADDRT is declared... no
checking whether SIOCDELRT is declared... no
checking whether SIOCDIFADDR is declared... no
configure: Checking for TCP keepalive support...
checking whether SO_KEEPALIVE is declared... yes
checking whether TCP_KEEPIDLE is declared... no
checking whether TCP_KEEPINTVL is declared... yes
checking whether TCP_KEEPCNT is declared... yes
configure: TCP keepalive support... PARTIAL
checking for __int128_t... yes
checking for __uint128_t... yes
checking for u_int8_t... yes
checking for useconds_t... yes
checking for id_t... yes
checking for u_char... yes
checking for u_short... yes
checking for u_int... yes
checking for u_long... yes
checking for in_addr_t... yes
checking for socklen_t... yes
checking for _pipe in -lmsvcrt... no
checking for dlopen in -ldl... yes
checking for sqrt in -lm... yes
checking for connect in -lsocket... no
checking for gethostbyname in -lnsl... no
checking for inet_aton in -lresolv... yes
checking for uncompress in -lz... yes
checking for BZ2_bzBuffToBuffDecompress in -lbz2... yes
checking for sched_yield in -lrt... no
checking for pthread_setname_np... yes
checking for memrchr... no
checking for getopt_long... yes
checking for sqrtl... yes
checking for ldexpl... yes
checking for fabsl... yes
checking for fmodl... yes
checking for frexpl... yes
checking for ldexpf... yes
checking for frexpf... yes
checking for fabsf... yes
checking for rint... yes
checking for strlcpy... yes
checking for strlcat... yes
checking for strerror_r... yes
checking for strsignal... yes
checking for sys_siglist... yes
checking for InitializeCriticalSectionAndSpinCount... no
checking for sleep... yes
checking for usleep... yes
checking for nanosleep... yes
checking for sched_yield... yes
checking for strtok_r... yes
checking for pipe... yes
checking for gettimeofday... yes
checking for getpgrp... yes
checking for scandir... yes
checking for alphasort... yes
checking for getlogin... yes
checking for getlogin_r... yes
checking for realpath... yes
checking for fdatasync... yes
checking for fsync... yes
checking for ftruncate... yes
checking for inet_aton... yes
checking for fork... yes
checking for socketpair... yes
checking for sysconf... yes
checking for mlock... yes
checking for mlockall... yes
checking for pvalloc... no
checking for valloc... yes
checking for posix_memalign... yes
checking for vsscanf... yes
checking for setresuid... no
checking for getresuid... no
checking for setreuid... yes
checking for geteuid... yes
checking for getuid... yes
checking whether fdatasync is supported... no
checking for struct sockaddr_in.sin_len... yes
checking for struct in_addr.s_addr... yes
checking for struct in6_ifreq.ifr6_addr... no
checking for struct in6_ifreq.ifr_ifru.ifru_flags... yes
checking for struct sigaction.sa_sigaction... yes
checking for struct timespec.tv_nsec... no
checking for struct timespec.tv_nsec... (cached) no
checking whether byte ordering is bigendian... no
checking size of int... 4
checking size of long... 8
checking size of long long... 8
checking size of size_t... 8
checking size of int *... 8
checking size of off_t... 8
checking size of pthread_t... 8
configure: begin check: whether byte structs are aligned/rounded by default...
checking size of struct bytestruct... 1
configure: results: byte structs are aligned/rounded by default... no
checking if this is the broken 2.96 version of GCC... no
checking if '_bswap' builtins are available... yes
checking if atomic '_sync' builtins are available... yes
checking if '__atomic' intrinsics are available... yes
checking if C11 atomics are available... yes
checking what 'ATOMIC_BOOL_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR16_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_CHAR32_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_WCHAR_T_LOCK_FREE's value is... 2
checking what 'ATOMIC_SHORT_LOCK_FREE's value is... 2
checking what 'ATOMIC_INT_LOCK_FREE's value is... 2
checking what 'ATOMIC_LONG_LOCK_FREE's value is... 2
checking what 'ATOMIC_LLONG_LOCK_FREE's value is... 2
checking what 'ATOMIC_POINTER_LOCK_FREE's value is... 2
checking C99 struct flexible arrays support... yes
checking whether '__attribute__ ((format(printf,n,n)))' is supported... yes
checking whether '__attribute__ ((regparm(n)))' is supported... yes
checking whether GCC supports diagnostic pragma... yes
checking whether GCC supports diagnostic push/pop pragma... yes
checking whether GCC issues 'function defined but not used' warnings... yes
checking whether GCC issues 'variable set but not used' warnings... no
checking whether '__attribute__ ((regparm(3)))' is broken... no
checking whether '__builtin_alloca' is broken... no
checking whether preprocessor macro argument counting broken... no
checking if this is GCC with broken '-O3' option... no
checking if 'pthread_setname_np' takes only name... yes
checking for gcc strict aliasing insanity... no
checking whether '-traditional-cpp' is K&R C preprocessor... yes
checking whether byte-swapping can be done using assembler ... yes
checking whether 'optreset' needed for 'getopt' use... yes
checking for special C compiler options needed for large files... no
checking for _FILE_OFFSET_BITS value needed for large files... no
checking for off_t... yes
checking for _LARGEFILE_SOURCE value needed for large files... no
checking whether getopt wrapper kludge is necessary... no
checking for what optimization flags to use ... -g -g3 -ggdb3 -O3 -march=core2 -fomit-frame-pointer
configure:
configure: Package destination directory prefixes:
configure:
configure: Libraries: $(libdir)/$(PACKAGE)
configure: Data: $(datadir)/hercules
configure: Locale: ${datarootdir}/locale
configure:
checking that generated files are newer than configure... done
configure: creating ./config.status
config.status: creating Makefile
config.status: creating util/Makefile
config.status: creating html/Makefile
config.status: creating man/Makefile
config.status: creating m4/Makefile
config.status: creating config.h
config.status: config.h is unchanged
config.status: executing depfiles commands
$ make
/Library/Developer/CommandLineTools/usr/bin/make all-recursive
Making all in m4
make[2]: Nothing to be done for `all'.
Making all in util
make[2]: Nothing to be done for `all'.
Making all in html
make[2]: Nothing to be done for `all'.
Making all in man
make[2]: Nothing to be done for `all'.
Making all in .
CC cckdcdsk.o
CC hsys.lo
CCLD libhercs.la
CC codepage.lo
CC hdl.lo
CC hexdumpe.lo
CC hostinfo.lo
CC hscutl.lo
CC hsocket.lo
CC hthreads.lo
hthreads.c:1019:48: warning: format specifies type 'unsigned long long *' but the argument has type 'TID *'
(aka 'struct _opaque_pthread_t **') [-Wformat]
else if (sscanf( argv[1], SCN_TIDPAT "%c", &tid, &c ) != 1)
~~~~~~~~~~ ^~~~
1 warning generated.
CC logger.lo
CC logmsg.lo
CC memrchr.lo
CC parser.lo
CC pttrace.lo
CC version.lo
CC ltdl.lo
CCLD libhercu.la
*** Warning: Linking the shared library libhercu.la against the
*** static library ./crypto/lib/libcrypto64.a is not portable!
*** Warning: Linking the shared library libhercu.la against the
*** static library ./decNumber/lib/libdecNumber64.a is not portable!
*** Warning: Linking the shared library libhercu.la against the
*** static library ./SoftFloat/lib/libSoftFloat64.a is not portable!
*** Warning: Linking the shared library libhercu.la against the
*** static library ./telnet/lib/libtelnet64.a is not portable!
ld: warning: ignoring file ./crypto/lib/libcrypto64.a, file was built for archive which is not the architecture being linked (x86_64): ./crypto/lib/libcrypto64.a
ld: warning: ignoring file ./SoftFloat/lib/libSoftFloat64.a, file was built for archive which is not the architecture being linked (x86_64): ./SoftFloat/lib/libSoftFloat64.a
ld: warning: ignoring file ./decNumber/lib/libdecNumber64.a, file was built for archive which is not the architecture being linked (x86_64): ./decNumber/lib/libdecNumber64.a
ld: warning: ignoring file ./telnet/lib/libtelnet64.a, file was built for archive which is not the architecture being linked (x86_64): ./telnet/lib/libtelnet64.a
Undefined symbols for architecture x86_64:
"_crypto_version", referenced from:
_init_sysblk_version_str_arrays in version.o
"_decnumber_version", referenced from:
_init_sysblk_version_str_arrays in version.o
"_softfloat_version", referenced from:
_init_sysblk_version_str_arrays in version.o
"_telnet_version", referenced from:
_init_sysblk_version_str_arrays in version.o
ld: symbol(s) not found for architecture x86_64
clang: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [libhercu.la] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2
Is there a more preferred and recommended manner to build SDL Hercules Hyperion on a Mac?
Blake