Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Apr 2001 23:40:04 +0200
From:      Anders Nordby <anders@fix.no>
To:        alfred@freebsd.org
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Recent RPC changes to -current
Message-ID:  <20010413234004.A73657@totem.fix.no>

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




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