Bug 540

Summary: sudo version 1.8.4 and above fail to compile under Tru64 Unix 4.0f
Product: Sudo Reporter: Scott McAskill <mcaskill.scott>
Component: SudoAssignee: Todd C. Miller <Todd.Miller>
Status: RESOLVED WONTFIX    
Severity: high    
Priority: low    
Version: 1.8.4   
Hardware: Alpha   
OS: Tru64 UNIX   
Attachments: Output of configure & make

Description Scott McAskill 2012-03-01 09:42:19 MST
Created attachment 332 [details]
Output of configure & make

All 1.8.4 versions of sudo (1.8.4, 1.8.4p1 and 1.8.4p2) fail to build under Tru64 Unix 4.0f. 1.8.3p2 and below all build cleanly.
Comment 1 Todd C. Miller 2012-03-01 09:49:09 MST
Your compiler does not support varargs macros (part of the C99 spec).  If you build with gcc it will compile properly.
Comment 2 Todd C. Miller 2012-03-01 10:31:15 MST
Sudo 1.8.4 compiles successfully on Tru64 5.1 with the native compiler.
Comment 3 Scott McAskill 2012-03-01 10:38:57 MST
Thanks, but unfortunately the system can't be upgraded from 4.0f. I suppose I could try gcc, but I'll have to find a version old enough that will build!
Comment 4 Todd C. Miller 2012-03-12 10:56:58 MDT
*** Bug 539 has been marked as a duplicate of this bug. ***
Comment 5 Todd C. Miller 2012-05-11 11:09:07 MDT
If you have the Digutal Unix Freeware CD that DEC shipped with Digital Uninx 4.0f there should be gcc packages on there.  If not, your best bet might be to build an old version like gcc-2.95.3.