From owner-freebsd-bugs Mon Jul 23 22:32: 9 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from leaf.tateoka.org (leaf.cs.uec.ac.jp [130.153.88.37]) by hub.freebsd.org (Postfix) with ESMTP id 4D72A37B406; Mon, 23 Jul 2001 22:32:04 -0700 (PDT) (envelope-from tate@cs.uec.ac.jp) Received: from localhost (tate@localhost [127.0.0.1]) by leaf.tateoka.org (8.11.1/3.7W/leaf-20000902) with ESMTP id f6O5Vso05348; Tue, 24 Jul 2001 14:31:54 +0900 (JST) To: mike@FreeBSD.org Cc: tate@spa.is.uec.ac.jp, freebsd-bugs@FreeBSD.org Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled From: TATEOKA Takamichi In-Reply-To: <200107201549.f6KFnvb30528@freefall.freebsd.org> References: <200107201549.f6KFnvb30528@freefall.freebsd.org> X-Mailer: Mew version 1.94.2 on Emacs 20.6 / Mule 4.0 (HANANOEN) X-Pgp-Fingerprint: 2D DA AE 35 9C BF 4F F6 BE C4 F5 73 19 3B 0F 64 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-Id: <20010724143153T.tate@leaf.tateoka.org> Date: Tue, 24 Jul 2001 14:31:53 +0900 X-Dispatcher: imput version 20000228(IM140) Lines: 24 Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org > Does this problem still occur in newer versions of FreeBSD, > such as 4.3-RELEASE? Yes. I can re-produce the problem on FreeBSD-4.3-RELEASE. I think -b option will be ignored. Because backword compatible mode is turned on by default on FreeBSD, and TI-RPC mode is not supported. gilbert:tate[51]% uname -a FreeBSD gilbert.cs.uec.ac.jp 4.3-RELEASE FreeBSD 4.3-RELEASE #0: Fri May 11 08:44:52 JST 2001 root@:/usr/src/sys/compile/GILBERT i386 gilbert:tate[52]% ls gilbert:tate[53]% cat >sample.x program SAMPLEPROG { version SAMPLEVERS { void sample_proc(void) = 0; } = 1; } = 10000; gilbert:tate[54]% rpcgen -b sample.x gilbert:tate[55]% ls sample.h sample.x sample_clnt.c sample_svc.c gilbert:tate[56]% cc -c sample_svc.c sample_svc.c:12: stropts.h: No such file or directory sample_svc.c:13: netconfig.h: No such file or directory gilbert:tate[57]% To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message