Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 10 Sep 1999 11:41:28 +0200 (CEST)
From:      Andrej Brodnik (Andy) <brodnik@IBC.IskraSistemi.Si>
To:        freebsd-isdn@freebsd.org
Subject:   isdnd compilation problems ...
Message-ID:  <199909100941.LAA07093@Dolinca.IBC.IskraSistemi.Si>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909100941.LAA07093>