Till Elsner wrote:
Hi Andrew,
thanks for your reply. Since I think the whole file is quite too long to
post it here, I've cutted out the relevant pieces (or at least I hope I
did). If you need more code please tell me.
--- BEGIN CODE ---
# 1 "/usr/include/bits/select.h" 1
# 26 "/usr/include/bits/select.h"
#define __FD_ZERO(fdsp) do { int __d0, __d1; __asm__ __volatile__ ("cld;
rep; stosl" : "=c" (__d0), "=D" (__d1) : "a" (0), "0" (sizeof (fd_set) /
sizeof (__fd_mask)), "1" (&__FDS_BITS (fdsp)[0]) : "memory"); } while (0)
# 37 "/usr/include/bits/select.h"
#define __FD_SET(fd,fdsp) __asm__ __volatile__ ("btsl %1,%0" : "=m"
(__FDS_BITS (fdsp)[__FDELT (fd)]) : "r" (((int) (fd)) % __NFDBITS) :
"cc","memory")
Your toolchain is broken, you have x86 headers that are being used for mips.
The x86 assembly in there is rightly rejected by the assembler.
David Daney