[tlbuild] More on xz

Richard Koch koch at math.uoregon.edu
Sat Aug 29 06:38:34 CEST 2009


Folks,

Looking at the error messages when compiling xz on OS X 10.4, I find  
that the file /src/common/physmem.h has a call to sysctl with six  
arguments, and the file /src/common/cpucores.h has a call to sysctl  
with only five arguments. In the log, there is an error in the second  
case complaining of a missing argument. If I add an extra NULL to the  
call in the second file, the entire xz project compiles fine. Does  
someone on the list know enough about sysctl to figure out the correct  
fix?

(These calls are inside "#elif defined ..." sections, so they probably  
aren't active for many architectures. I think that's why xz compiles  
on some systems and not others.)

Dick Koch
koch at math.uoregon.edu


More information about the tlbuild mailing list