From owner-freebsd-isdn Fri Sep 10 2:34:43 1999 Delivered-To: freebsd-isdn@freebsd.org Received: from Dolinca.IBC.IskraSistemi.Si (Dolinca.IBC.IskraSistemi.Si [194.249.213.241]) by hub.freebsd.org (Postfix) with ESMTP id B7E2414A1F for ; Fri, 10 Sep 1999 02:34:33 -0700 (PDT) (envelope-from brodnik@Dolinca.IBC.IskraSistemi.Si) Received: (from brodnik@localhost) by Dolinca.IBC.IskraSistemi.Si (8.8.8/8.8.7) id LAA07093 for freebsd-isdn@freebsd.org; Fri, 10 Sep 1999 11:41:29 +0200 (CEST) (envelope-from brodnik) From: Andrej Brodnik (Andy) Message-Id: <199909100941.LAA07093@Dolinca.IBC.IskraSistemi.Si> Subject: isdnd compilation problems ... To: freebsd-isdn@freebsd.org Date: Fri, 10 Sep 1999 11:41:28 +0200 (CEST) Organization: IBC, Iskra Systems Reply-To: Andrej.Brodnik@IBC.IskraSistemi.SI (Andrej Brodnik (Andy)) X-Mailer: ELM [version 2.4ME+ PL43 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-isdn@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi there, I downloaded the last version of FreeBSD (3.2-RELEASE, I think) and i4b-00.83.00-beta-300799, which I over-installed (sh overinstall.sh) over the rest of the FreeBSD. The over-installation was followed by ``make buildworld'' ``/usr/src''. However, the buildworld failed in ``/usr/src/src.sbin/i4b/isdnd'' while compiling files ``support.c'' and msghdl.c''. I patched slightly the later files producing the following diff files: =======================================================[ msghdl.diff ] *** msghdl.c-old Fri Sep 3 09:24:33 1999 --- msghdl.c-new Fri Sep 10 11:09:41 1999 *************** *** 854,862 **** mcr.driver = cep->usrdevicename; mcr.driver_unit = cep->usrdeviceunit; ! mcr.unitlen_time = cep->unitlength; ! mcr.idle_time = cep->idle_time_out; ! mcr.earlyhup_time = cep->earlyhangup; if(cep->unitlengthsrc == ULSRC_DYN) mcr.unitlen_method = ULEN_METHOD_DYNAMIC; --- 854,862 ---- mcr.driver = cep->usrdevicename; mcr.driver_unit = cep->usrdeviceunit; ! mcr.shorthold_data.unitlen_time = cep->unitlength; ! mcr.shorthold_data.idle_time = cep->idle_time_out; ! mcr.shorthold_data.earlyhup_time = cep->earlyhangup; if(cep->unitlengthsrc == ULSRC_DYN) mcr.unitlen_method = ULEN_METHOD_DYNAMIC; ====================================================================== and ======================================================[ support.diff ] *** support.c-old Fri Sep 3 09:24:34 1999 --- support.c-new Fri Sep 10 11:10:45 1999 *************** *** 659,667 **** /* XXX check if the values are possible, if not, adjust them */ tupd.cdid = cep->cdid; ! tupd.unitlen_time = cep->unitlength; ! tupd.idle_time = cep->idle_time_out; ! tupd.earlyhup_time = cep->earlyhangup; if((ioctl(isdnfd, I4B_TIMEOUT_UPD, &tupd)) < 0) { --- 659,667 ---- /* XXX check if the values are possible, if not, adjust them */ tupd.cdid = cep->cdid; ! tupd.shorthold_data.unitlen_time = cep->unitlength; ! tupd.shorthold_data.idle_time = cep->idle_time_out; ! tupd.shorthold_data.earlyhup_time = cep->earlyhangup; if((ioctl(isdnfd, I4B_TIMEOUT_UPD, &tupd)) < 0) { ====================================================================== ( Background: in the file ``i4b_ioctl.h'' was introduced a new type ``msg_shorthold_t'' which replaced in type ``msg_connect_req_t'' some fields -- don't ask me why!-) Ok, my question/suggestion is that the above changes/patches should be included in the over(un)install scripts, shan't they? LPA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isdn" in the body of the message