Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 24 Jul 2001 14:31:53 +0900
From:      TATEOKA Takamichi <tate@spa.is.uec.ac.jp>
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
Message-ID:  <20010724143153T.tate@leaf.tateoka.org>
In-Reply-To: <200107201549.f6KFnvb30528@freefall.freebsd.org>
References:  <200107201549.f6KFnvb30528@freefall.freebsd.org>

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




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