Subj : Build Error on 1.0.6 with CentOS 7.1
To : Andrew Leary
From : Eric Renfro
Date : Mon Sep 14 2015 10:28 am
Re: Build Error on 1.0.6 with CentOS 7.1
By: Andrew Leary to Eric Renfro on Sun Sep 13 2015 01:10 pm
AL> Hello Eric!
AL> 13 Sep 15 10:27, you wrote to all:
ER>> I was curious because I've heard of MBSE semi-recently, and noticed
ER>> that I sent a netmail to PING an address and it replied back to me,
ER>> and I was.... Amazed.
ER>> :)
ER>> Looking into it, I learned MBSE is... Pretty well featured, so I was
ER>> curious to check it out..
ER>> I'm running CentOS 7.1 and tried to build it, and two issues arose,
ER>> one I fixed manually the other is a compile error preventing me from
ER>> building it.
ER>> The compile error is here:
ER>> binkp.c: In function rCybinkp_send_comp_optsrCO:
ER>> binkp.c:2110:33: error: rCyopstaterCO undeclared (first use in this
ER>> function)
ER>> originate ?"TRUE":"FALSE", opstate[bp.NRwe],
ER>> opstate[bp.NRthey]);
ER>> ^
ER>> binkp.c:2110:33: note: each undeclared identifier is reported only
ER>> once for each function it appears in binkp.c:2127:8: error:
ER>> rCystruct binkprecrCO has no member named rCyEXTCMDwerCO
ER>> bp.EXTCMDwe = Want;
ER>> ^
ER>> binkp.c: In function rCybinkp_set_comp_staterCO:
ER>> binkp.c:2182:48: error: rCyopstaterCO undeclared (first use in this
ER>> function)
ER>> Syslog('b', "Binkp: NR they=%s we=%s", opstate[bp.NRthey],
ER>> opstate[bp.NRwe]);
ER>> ^
ER>> gmake[1]: *** [binkp.o] Error 1
ER>> make: *** [all] Error 2
AL> This doesn't occur here; what version of GCC is Centos 7.1 using? I will
AL> have to setup a test install to see if I can replicate your problem.
GCC 4.8.3 20140911
ER>> The other issue was in the SETUP.sh, which tries to make the mbse
ER>> use within the uucp group and completely fails the rest of the way
ER>> because CentOS doesn't have a uucp group. That said, I made one,
ER>> just for the purposes of following through and that worked, of
ER>> course since I have no MBSE built, I can't actually run it. :)
AL> I'll look into this too once I get Centos 7.1 installed and running.
Heh yep. Good stuff. When I manually made a uucp group, it would work just
fine, but 7 doesn't have a uucp group, so the preparation failed, and with
absolutely no error checking on the SETUP.sh, it really was horrible.
If there's no complaints, I'll probably take some time to look at the SETUP
script, rewrite some of it if not all, and offer it up to someone to look over
and keep or not. When it comes to bash, I have been said to be god-like. :)
(that is, until it comes to sed, then I usually get outside help <EG>)
)))[Psi-Jack -//- Decker]
... No hand signals. The driver of this car is a convicted arab shoplifter.
--- SBBSecho 2.27-Linux
* Origin: Decker's Heaven -//- bbs.deckersheaven.com (1:135/371)