*BSD News Article 21500


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!olivea!charnel!yeshua.marcam.com!usc!howland.reston.ans.net!xlink.net!subnet.sub.net!ppcnet.ppc.sub.org!rumtifsl.ruessel.sub.org!strix.cluster.sub.org!ura
From: ura@strix.cluster.sub.org (Ulf Andrick)
Subject: Re: Modem problems
Organization: Nocturnal Unix System in Kaiserslautern, Germany
References: <CDnv5K.u7@strix.cluster.sub.org>
Message-ID: <CDv8ID.5D7@strix.cluster.sub.org>
X-Newsreader: TIN [version 1.1 PL8]
Date: Fri, 24 Sep 1993 16:01:11 GMT
Lines: 47

In <CDnv5K.u7@strix.cluster.sub.org> Ulf Andrick (ura@strix.cluster.sub.org) writes:
: After all, I got the 0.2.4 patch kit installed. I have two questions
: now, resp. serial i/o.

: Question 1:

: When I configure sio devices and `make depend', I get:

: sh /usr/bin/mkdep -I. -I../.. -I../../sys -DSTRIX -Di386 -DCOM_BIDIR
: -DPCFS -DTCP_COMPAT_42 -DCOMPAT_43 -DUCONSOLE -DXSERVER -DNFS
: -DISOFS -DINET -Di387 -DKERNEL -Di386 -DNPX ../../isofs/isofs_bmap.c
: ../../isofs/isofs_lookup.c  ../../isofs/isofs_node.c
: ../../isofs/isofs_util.c  ../../isofs/isofs_vfsops.c
: ../../isofs/isofs_vnops.c  ../../kern/dead_vnops.c ../../kern/init_main.c
: ../../kern/init_sysent.c  ../../kern/kern__physio.c ../../kern/kern_acct.c
: ../../kern/kern_clock.c  ../../kern/kern_descrip.c ../../kern/kern_execve.c
: ../../kern/kern_exit.c  ../../kern/kern_fork.c ../../kern/kern_kinfo.c
: ../../kern/kern_ktrace.c  ../../kern/kern_malloc.c ../../kern/kern_proc.c
: ../../kern/kern_prot.c  ../../kern/kern_resource.c ../../kern/kern_sig.c
: ../../kern/kern_subr.c  ../../kern/kern_synch.c ../../kern/kern_time.c
: ../../kern/kern_xxx.c  ../../kern/spec_vnops.c ../../kern/subr_log.c
: ../../kern/subr_prf.c  ../../kern/subr_rlist.c ../../kern/subr_xxx.c
: ../../kern/sys_generic.c  ../../kern/sys_process.c ../../kern/sys
: ../../i386/isa/sio.c:1360: macro or #include recursion too deep
: mkdep: compile failed.  *** Error code 1

: Stop.


The cause of the error was an infinite recursion. In that line 1360 of
sio.c, there is a reference to RCTS_IFLOW. This is defined in
sio.c in reference to CRTSCTS, which refers to RCTS_IFLOW
again, where the RCTS_IFLOW of termios.h (or wherever it is defined)
is meant. But how should cpp know that, esp. after an #undef RCTS_IFLOW? 
So, RCTS_IFLOW referred to itself. Renaming it made the source 
compilable. But I don't know whether it should be CRTSCTS, 
which is CRTS_IFLOW | CCTS_OFLOW, or simply CRTS_IFLOW. Also, according
to a comment, CCTS_OFLOW is supposed to be CRTSCTS already. Why should
it have been set to CRTSCTS and do we really want that?

Nevertheless, that mkdep failure must have been a very special problem 
somehow, as I didn't get any response.

think
-- 
Ulf Andrick
ura@strix.cluster.sub.org