On Fri, 2003-05-23 at 15:55, Randolph Chung wrote: > > Software that use the _syscallN macros in asm/unistd.h provided > > by glibc on PPC32 won't build with gcc3.3 (typically the MacOnLinux > > runtime environement is affected). > > asm/unistd.h is not a glibc header and _syscallN() are not supposed to > be called by userspace programs. maybe you can use syscall() instead > if you really need to?
Yup, I screwed, it should be fixed in the kernel-headers package, though /usr/include/asm should really be packaged with glibc (see the endless discussions about this with linus). This specific userspace program needs the _syscallN() macros for various reasons (it's the MacOnLinux virtual machine, it does lots of very low level things, including adding it's own virtualization module in the kernel and running some things in a kind of virtual machine, so it's quite normal to expect it to use such headers). Ben.