Path: utzoo!utgpu!jarvis.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!tut.cis.ohio-state.edu!ucbvax!GARNET.BERKELEY.EDU!rusty From: rusty@GARNET.BERKELEY.EDU Newsgroups: comp.windows.x Subject: can't make libXt.a Message-ID: <9001050017.AA09335@garnet.berkeley.edu> Date: 5 Jan 90 00:17:54 GMT Sender: daemon@ucbvax.BERKELEY.EDU Lines: 81 VERSION: R4 CLIENT MACHINE and OPERATING SYSTEM: sparcstation 1, sunos 4.0.3c DISPLAY TYPE: cg6 WINDOW MANAGER: [e.g. twm, gwm, tekwm, olwm, mwm, ...] AREA: compiling library Xt SYNOPSIS: can't make libXt.a DESCRIPTION: % make World ... making all in ./lib/Xt... rm -f ActionHook.o shared/ActionHook.o cc -pic -c -DSHAREDCODE -DSUNSHLIB -O -I../../. -DINCLUDE_ALLOCA_H ActionHook.c ... mv Core.o shared/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 /grunt_a/x11r4/mit/lib/Xt % grep stdarg Makefile Create.o: ResourceI.h EventI.h VarargsI.h stdarg.h StringDefs.h Shell.h Resources.o: ResourceI.h EventI.h VarargsI.h stdarg.h Shell.h ShellP.h VarCreate.o: ../.././X11/Shell.h VarargsI.h stdarg.h VarGet.o: stdarg.h Varargs.o: stdarg.h REPEAT BY: Diffs between original site.def and mine: 89a90,96 > #define BinDir /tuna_e/x11r4/bin > #define LibDir /tuna_e/x11r4/lib > #define UsrLibDir /tuna_e/x11r4/lib > #define LintlibDir /tuna_e/x11r4/lib/lint > #define IncRoot /tuna_e/x11r4/include > #define XdmDir /usr/adm/xdm > #define ManDirectoryRoot /tuna_a/x11r4/man 102c109 < #define HasGcc NO --- > #define HasGcc YES 108c115 < #define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional --- > #define CcCmd /tuna_e/gnu/bin/gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return -fwritable-strings -traditional 110c117 < #define CcCmd gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return --- > #define CcCmd /tuna_e/gnu/bin/gcc -DNOSTDHDRS -fstrength-reduce -fpcc-struct-return Diffs between original sun.cf and mine: 11c11 < #define HasSaberC YES /* for machines that have it */ --- > #define HasSaberC NO /* for machines that have it */ 15c15 < /* #define HasGcc YES */ /* VERY USEFUL for server on Sun3 */ --- > #define HasGcc YES /* VERY USEFUL for server on Sun3 */ SAMPLE FIX: [preferred, but not necessary. Please send context diffs (diff -c -b)]