Sorry, I must have messed up somewhere. I removed my local hyperion git
source directory, and did a fresh 'git clone'. The build completes without
errors now.
Sorry for the noise.
Hi,
I did a 'git pull', and a 'out of source' build. The configure line I used
configure --enable-debug --enable-getoptwrapper --enable-ipv6
--enable-cckd-bzip2 --enable-het-bzip2 --enable-object-rexx
--enable-regina-rexx --enable-interlocked-access-facility-2=yes
--enable-optimization=no
I got the build error [1] listed below.
- Maarten
[1]
make[2]: Entering directory '/home/maarten/src/fish-git-
hyperion-topdir/build'
CC hsys.lo
CCLD libhercs.la
CC codepage.lo
CC hdl.lo
CC hexdumpe.lo
CC hostinfo.lo
CC hscutl.lo
CC hscutl2.lo
CC hsocket.lo
CC hthreads.lo
CC logger.lo
CC logmsg.lo
CC memrchr.lo
CC parser.lo
CC pttrace.lo
CC version.lo
In file included from ../hyperion/hercules.h:116:0,
../hyperion/version.h:41:21: error: 'DYNAMIC_VERSION' undeclared (first
use in this function)
#define VERSION DYNAMIC_VERSION
^
../hyperion/msgenu.h:144:56: note: in expansion of macro 'VERSION'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
../hyperion/version.c:783:30: note: in expansion of macro 'MSG'
hprintf( httpfd, MSG( HHC01413, "I", prog, VERSION,
^~~
../hyperion/version.h:41:21: note: each undeclared identifier is reported
only once for each function it appears in
#define VERSION DYNAMIC_VERSION
^
../hyperion/msgenu.h:144:56: note: in expansion of macro 'VERSION'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
../hyperion/version.c:783:30: note: in expansion of macro 'MSG'
hprintf( httpfd, MSG( HHC01413, "I", prog, VERSION,
^~~
In file included from ../hyperion/hercules.h:148:0,
../hyperion/version.c:784:17: error: 'VERS_MAJ' undeclared (first use in
this function)
VERS_MAJ, VERS_INT, VERS_MIN, VERS_BLD ));
^
../hyperion/msgenu.h:144:56: note: in definition of macro 'MSG'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
../hyperion/version.c:784:27: error: 'VERS_INT' undeclared (first use in
this function)
VERS_MAJ, VERS_INT, VERS_MIN, VERS_BLD ));
^
../hyperion/msgenu.h:144:56: note: in definition of macro 'MSG'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
../hyperion/version.c:784:37: error: 'VERS_MIN' undeclared (first use in
this function)
VERS_MAJ, VERS_INT, VERS_MIN, VERS_BLD ));
^
../hyperion/msgenu.h:144:56: note: in definition of macro 'MSG'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
../hyperion/version.c:784:47: error: 'VERS_BLD' undeclared (first use in
this function)
VERS_MAJ, VERS_INT, VERS_MIN, VERS_BLD ));
^
../hyperion/msgenu.h:144:56: note: in definition of macro 'MSG'
#define MSG( id, s, ... ) #id s " " id "\n", ## __VA_ARGS__
^~~~~~~~~~~
Makefile:2243: recipe for target 'version.lo' failed
make[2]: *** [version.lo] Error 1
make[2]: Leaving directory '/home/maarten/src/fish-git-
hyperion-topdir/build'
Makefile:2293: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory '/home/maarten/src/fish-git-
hyperion-topdir/build'
Makefile:1709: recipe for target 'all' failed
make: *** [all] Error 2
On Thu, Feb 16, 2017 at 1:02 AM, ''Fish' (David B. Trout)'
Post by '\'Fish\' (David B. Trout)' ***@gmail.com [hercules-390][...]
Post by Maarten Hoes ***@gmail.com [hercules-390]1.)
Building Hyperion with a 'debug build' fails with the following
trace.c:606:6: warning: variable 'eamode' set but not used [-Wunused-
but-set-variable]
int eamode;
^~~~~~
It doesn't happen for me, but then I use clang, not gcc. In any case.
I'll certainly look into that and get it fixed for you just as fast as
I can. Thanks for reporting it.
Fix in commit 43051e4dc5ce9beaa2a83b4164604af126150303.
[...]
Post by Maarten Hoes ***@gmail.com [hercules-390]gcc: error: decNumber/lib/libdecNumber64d.a: No such file or
directory
Post by Maarten Hoes ***@gmail.com [hercules-390]gcc: error: telnet/lib/libtelnet64d.a: No such file or directory
<snip>
Fixed in commit c08f1fde7db1e1a4cd6a4b772375850a015595b7.
Also fixed: _dynamic_version.h issue (commit
29586eb1e21528ab81f776412e0f8aa132f279ca): The need for dynamically
constructed "_dynamic_version.h" header was eliminated by passing all
version components via command line.
Maarten, I would really appreciate it if you would try again and confirm
for me that the issues you described (ranted about(*)) are now fixed.
Thanks!
--
"Fish" (David B. Trout)
Software Development Laboratories
http://www.softdevlabs.com
(*) Don't worry! I realize your "rant" wasn't meant as a personal attack
but rather simply a means of venting your frustration regarding the recent
changes that complicated something that used to be simple and
straightforward. I understand completely. And more than that, I *agree*
with your frustration/rant.
Which was why I made the changes I recently did to try and address the
issues you raised such that NOW, hopefully, things are back to once again
being simple and straightforward.
At least in my fork anyway. ;-)