Reflector: DEC Alpha

Jay Arden Ashcraft (ashcraft@ccwf.cc.utexas.edu)
Wed, 8 Feb 1995 08:46:15 -0500


Anyone built a reflector on an alpha box running:
DEC OSF/1 V3.0 (Rev. 347); Tue Jan 3 16:00:20 CST 1995
DEC OSF/1 V3.0 Worksystem Software (Rev. 347)

when I compile it freaks and exits.

any advice, any one that has done this out there?

Thanks,
jay

enclosed. debug file as far as it will go:

cc -g -D_BSD -DDEBUG -DMULTI -c util.c
/usr/lib/cmplrs/cc/cfe: Warning: util.c, line 365: illegal combination of
pointer and integer
if ( !(buf = malloc(ifc.ifc_len)))
---------------^
/usr/lib/cmplrs/cc/cfe: Error: util.c, line 386: 'sa_len' undefined,
reoccurrences will not be reported
bcopy((caddr_t) &ifr->ifr_ifru.ifru_addr , (caddr_t)
myaddr, ((struct sockaddr *)&ifr->ifr_ifru.ifru_addr )->sa_len);
---------------------------------------------------
------------------------
---------------------------------------- -^
/usr/lib/cmplrs/cc/cfe: Error: util.c, line 386: member of structure or
union required
bcopy((caddr_t) &ifr->ifr_ifru.ifru_addr , (caddr_t)
myaddr, ((struct sockaddr *)&ifr->ifr_ifru.ifru_addr )->sa_len);
---------------------------------------------------
------------------------
---------------------------------------- ---^
/usr/lib/cmplrs/cc/cfe: Error: util.c, line 389: 'sa_len' undefined,
reoccurrences will not be reported
ifr = (struct ifreq *) ((caddr_t) ifr + (sizeof(*ifr) + ((struct
sockaddr *)&ifr->ifr_ifru.ifru_addr )->sa_len - sizeof
(ifr->ifr_ifru.ifru_addr )
));
-------------------------------------------------------------------------------
----------------------------- -^
/usr/lib/cmplrs/cc/cfe: Error: util.c, line 389: member of structure or
union required
ifr = (struct ifreq *) ((caddr_t) ifr + (sizeof(*ifr) + ((struct
sockaddr *)&ifr->ifr_ifru.ifru_addr )->sa_len - sizeof
(ifr->ifr_ifru.ifru_addr )
));
-------------------------------------------------------------------------------
----------------------------- ---^
*** Exit 1
Stop.