scottr@Atherton.COM (Scott Rasmussen) (06/29/90)
Yesterday I tried to remake the X11R4 distribution after applying patch12 but got the following errors: depending in ./lib/Xt... ..... ../.././util/makedepend/makedepend: Create.c (reading VarargsI.h): ../.././util /makedepend/makedepend: cannot find include file "stdarg.h" ../.././util/makedepend/makedepend: not in stdarg.h ../.././util/makedepend/makedepend: not in ../.././stdarg.h ../.././util/makedepend/makedepend: not in /usr/local/lib/gcc-include/stdarg .h ../.././util/makedepend/makedepend: not in /usr/include/stdarg.h ../.././util/makedepend/makedepend: cannot open "stdarg.h" and then of course later in the log file ... making all in ./lib/Xt... .... mv Core.o shared/Core.o cc -g -c -DSUNSHLIB -O -I../../. -DINCLUDE_ALLOCA_H Core.c cc: Warning: -O conflicts with -g. -O turned off. mv Core.o debugger/Core.o cc -c -DSUNSHLIB -O -I../../. -DINCLUDE_ALLOCA_H Core.c make: Fatal error: Don't know how to make target `stdarg.h' Current working directory /xsystem1/X11R4/mit/lib/Xt Facts: Sun 3/60 on 4.0.3 w/ b/w display X11R4 with 12 patches What has changed since a successful build.... 1) set HasGcc flag to YES 2) set DebugLibX, ProfileLibX, DebugLibXt, ProfileLibXt to YES NOTE: already had to change Imakefile in lib/Xt to get these to work ... Questions: Looking in lib/Xt/VarargI.h I see the following lines ... #ifdef __STDC__ # ifndef MISSING_STDARG_H # include <stdarg.h> # endif # define Va_start(a,b) va_start(a,b) #else # include <varargs.h> # define Va_start(a,b) va_start(a) #endif I imagine that MISSING_STDARG_H should be DEFINED but how come I never ran into this the other times I made the release? Is there a problem in the Imakefile with Profile and Debug turned on? Scott Rasmussen scottr@atherton.com {sun|dec}!atherton!scottr