Date: Wed, 25 Jul 2001 20:20:02 -0700 (PDT) From: Mike Barcroft <mike@FreeBSD.org> To: freebsd-bugs@FreeBSD.org Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled Message-ID: <200107260320.f6Q3K2o86201@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/11382; it has been noted by GNATS.
From: Mike Barcroft <mike@FreeBSD.org>
To: freebsd-gnats-submit@FreeBSD.org
Cc:
Subject: Re: bin/11382: generated code using rpcgen with -b option cannot be compiled
Date: Wed, 25 Jul 2001 23:37:50 -0400
Adding to Audit-Trail.
----- Forwarded message from TATEOKA Takamichi <tate@spa.is.uec.ac.jp> -----
X-UIDL: c599eeb07f965b01b005d988b870ac9f
Delivered-To: mike@freebsd.org
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 <tate@spa.is.uec.ac.jp>
In-Reply-To: <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
Date: Tue, 24 Jul 2001 14:31:53 +0900
X-Dispatcher: imput version 20000228(IM140)
> 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 should 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]%
----- End forwarded message -----
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107260320.f6Q3K2o86201>
