libc6.1-dev / kernel-headers syscall() prototype confusion
I was building the latest samba (now in Incoming and destined for
unstable only), and the build barfed on quota.c where _syscall4(...)
was used.
Further investigation showed that asm/unistd.h on i386 simply defines
_syscall1(), _syscall2(), ... (as macros). On alpha these are only
defined if __LIBRARY__ is defined. Futhermore, there the first argument
is declared to be int, while /usr/include/unistd.h declares it to be
long int.
So, something is amiss between /usr/include/unistd.h and
/usr/include/asm/unistd.h. Who do I complain to? :-)
I've patched samba with some #ifdef __alpha__ stuff, but that's only
fixing the symptoms, IMHO.
Paul Slootman
--
home: paul@wurtel.demon.nl | work: paul@murphy.nl
http://www.wurtel.demon.nl | Murphy Software, Enschede, the Netherlands
Support Randal Schwartz!
See http://www.lightlink.com/fors/ or send empty email to fund@stonehenge.com
--
To UNSUBSCRIBE, email to debian-alpha-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: