qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] qemu fails to build with glibc-2.15


From: X O
Subject: Re: [Qemu-devel] qemu fails to build with glibc-2.15
Date: Mon, 16 Jul 2012 18:35:01 +0200

On Mon, Jul 16, 2012 at 5:14 PM, Avi Kivity <address@hidden> wrote:
> (fixed mailing list)
>
> On 07/16/2012 03:37 PM, X O wrote:
>> Hello,
>>
>> I suspect upgrading my system to glibc-2.15 was a mistake. It seems to
>> be qemu-1.0.1, and latter versions including qemu-1.1.1, can't be
>> compiled anymore. Yes, I did search around and that led me to glibc,
>> resp. http://sourceware.org/ml/libc-ports/2011-08/msg00019.html
>>
>> Please, could somebody confirm or deny the following error is thanks
>> to glibc-2.15?
>> Is there a way to compile qemu with glibc-2.15?
>> Or is my system broken?
>>
>> ~~~
>>   CC    i386-linux-user/syscall.o
>> /tmp/qemu-1.1.1/linux-user/syscall.c: In function 'sys_getdents':
>> /tmp/qemu-1.1.1/linux-user/syscall.c:217:1: error: '__NR_getdents'
>> undeclared (first use in this function)
>> /tmp/qemu-1.1.1/linux-user/syscall.c:217:1: note: each undeclared
>> identifier is reported only once for each function it appears in
>> /tmp/qemu-1.1.1/linux-user/syscall.c: In function '_llseek':
>> /tmp/qemu-1.1.1/linux-user/syscall.c:224:1: error: '__NR_lseek'
>> undeclared (first use in this function)
>
> Please report the output of
>
>   grep -r __NR_getdents /usr/include/
>
> on your system.
>

Here goes:

~~~
bash-3.1$ grep -r __NR_getdents /usr/include/
/usr/include/bits/syscall.h:#define SYS_getdents __NR_getdents
/usr/include/bits/syscall.h:#define SYS_getdents64 __NR_getdents64
/usr/include/bits/syscall.h:#define SYS_getdents __NR_getdents
/usr/include/bits/syscall.h:#define SYS_getdents64 __NR_getdents64
/usr/include/asm-generic/unistd_32.h:#define __NR_getdents              141
/usr/include/asm-generic/unistd_32.h:#define __NR_getdents64            220
/usr/include/asm-generic/unistd_64.h:#define __NR_getdents
                 78
/usr/include/asm-generic/unistd_64.h:__SYSCALL(__NR_getdents, sys_getdents)
/usr/include/asm-generic/unistd_64.h:#define __NR_getdents64
                 217
/usr/include/asm-generic/unistd_64.h:__SYSCALL(__NR_getdents64, sys_getdents64)
/usr/include/asm-generic/unistd.h:#define __NR_getdents64 61
/usr/include/asm-generic/unistd.h:__SC_COMP(__NR_getdents64,
sys_getdents64, compat_sys_getdents64)
/usr/include/asm-generic/unistd.h:#define __NR_getdents 1065
/usr/include/asm-generic/unistd.h:__SYSCALL(__NR_getdents, sys_getdents)
~~~

btw system is x86-64. I've neglected to mention that and it might have
been important.

Thanks,
bexoff

PS: I'm not signed up to qemu-devel (still under consideration),
please keep me on CC.

>
>
> --
> error compiling committee.c: too many arguments to function
>
>



reply via email to

[Prev in Thread] Current Thread [Next in Thread]