From owner-freebsd-hackers Fri Apr 13 14:40:14 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from totem.fix.no (totem.fix.no [213.142.66.130]) by hub.freebsd.org (Postfix) with ESMTP id 02A1C37B507; Fri, 13 Apr 2001 14:40:06 -0700 (PDT) (envelope-from anders@totem.fix.no) Received: by totem.fix.no (Postfix, from userid 1000) id EC8963CC8; Fri, 13 Apr 2001 23:40:04 +0200 (CEST) Date: Fri, 13 Apr 2001 23:40:04 +0200 From: Anders Nordby To: alfred@freebsd.org Cc: freebsd-hackers@FreeBSD.ORG Subject: Recent RPC changes to -current Message-ID: <20010413234004.A73657@totem.fix.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Operating-System: FreeBSD 4.1.1-STABLE X-PGP-Key: http://anders.fix.no/pgp/ X-PGP-Key-FingerPrint: 1E0F C53C D8DF 6A8F EAAD 19C5 D12A BC9F 0083 5956 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hello, Are you going to bring in include files or something that defines such stuff as T_CLTS, FMNAMESZ etc.? In Solaris, this stuff can be found in /usr/include/sys/ files. Your removing of rpcgen -b as default prevents my port of drac (/usr/ports/mail/drac) from building in -current: cc -DSOCK_RPC -DFLOCK_LOCK -DGETHOST -DDASH_C -g -I/usr/local/include -DDBFILE=\"/usr/local/etc/dracd.db\" -DALFILE=\"/usr/local/etc/dracd.allow\" -c drac_svc.c drac_svc.c: In function `closedown': drac_svc.c:62: storage size of `tinfo' isn't known drac_svc.c:64: `T_CLTS' undeclared (first use in this function) drac_svc.c:64: (Each undeclared identifier is reported only once drac_svc.c:64: for each function it appears in.) drac_svc.c: In function `dracmain': drac_svc.c:139: `FMNAMESZ' undeclared (first use in this function) drac_svc.c:139: size of array `mname' has non-integer type drac_svc.c:141: `I_LOOK' undeclared (first use in this function) drac_svc.c:158: `T_DATAXFER' undeclared (first use in this function) drac_svc.c:161: `I_POP' undeclared (first use in this function) drac_svc.c:161: `I_PUSH' undeclared (first use in this function) *** Error code 1 And I didn't find a solution yet, except for explicitly using rpcgen -b of course. Cheers, -- Anders. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message