> I am trying to install the latest teTeX beta. On SuSE Linux 7.2 it compiles > all right, but on Tru64 Unix V5.1, using GNU make and gcc, "make all" > exits with the following error message: > > gcc xstat.c -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -g -O2 -c -o STATIC/xstat.o > xstat.c:41:19: macro "lstat" requires 2 arguments, but only 1 given > make[2]: *** [xstat.lo] Error 1 > make[2]: Leaving directory > `/usr/local/share/src/teTeX-beta/teTeX-src-beta-20020402/texk/kpathsea' > make[1]: *** [do-kpathsea] Error 2 > make[1]: Leaving directory > `/usr/local/share/src/teTeX-beta/teTeX-src-beta-20020402/texk' > make: *** [all] Error 1 > > Does anyone have a clue about what to do?
Yes. Remove line 41 in file texk/kpathsea/xstat.c: extern int lstat (); Olaf, do you have an idea how to fix this in a portable way? Do you want to support systems which do not have proper declarations in theit header files and thus risking to break other systems? Thomas