[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-devel] Does i386-linux-user build on an i686 host?
From: |
Peter Maydell |
Subject: |
Re: [Qemu-devel] Does i386-linux-user build on an i686 host? |
Date: |
Fri, 9 Aug 2019 13:22:55 +0100 |
On Thu, 8 Aug 2019 at 16:37, Markus Armbruster <address@hidden> wrote:
>
> Fails for me, but perhaps I'm doing it wrong:
> NOTE: cross-compilers enabled: 'cc'
> $ make
> CC i386-linux-user/linux-user/syscall.o
> /home/armbru/qemu/linux-user/ioctls.h:306:9: error: ‘SNDCTL_DSP_MAPINBUF’
> undeclared here (not in a function)
> IOCTL(SNDCTL_DSP_MAPINBUF, IOC_R, MK_PTR(MK_STRUCT(STRUCT_buffmem_desc)))
> ^
> /home/armbru/qemu/linux-user/syscall.c:5023:23: note: in definition of macro
> ‘IOCTL’
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> ^
> /home/armbru/qemu/linux-user/ioctls.h:307:9: error: ‘SNDCTL_DSP_MAPOUTBUF’
> undeclared here (not in a function)
> IOCTL(SNDCTL_DSP_MAPOUTBUF, IOC_R, MK_PTR(MK_STRUCT(STRUCT_buffmem_desc)))
> ^
> /home/armbru/qemu/linux-user/syscall.c:5023:23: note: in definition of macro
> ‘IOCTL’
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> ^
> /home/armbru/qemu/linux-user/ioctls.h:362:9: error: ‘SOUND_MIXER_ACCESS’
> undeclared here (not in a function)
> IOCTL(SOUND_MIXER_ACCESS, 0, TYPE_PTRVOID)
> ^
> /home/armbru/qemu/linux-user/syscall.c:5023:23: note: in definition of macro
> ‘IOCTL’
> { TARGET_ ## cmd, cmd, #cmd, access, 0, { __VA_ARGS__ } },
> ^
We expect these to be provided by the system's "linux/soundcard.h".
For my Debian system that's provided by the linux-libc-dev package,
but I imagine you have that installed or you wouldn't have got
this far in the configure/compile process...
thanks
-- PMM
- [Qemu-devel] Does i386-linux-user build on an i686 host?, Markus Armbruster, 2019/08/08
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?,
Peter Maydell <=
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Peter Maydell, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Aleksandar Markovic, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Michael Tokarev, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Daniel P . Berrangé, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Peter Maydell, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Aleksandar Markovic, 2019/08/09
- Re: [Qemu-devel] Does i386-linux-user build on an i686 host?, Peter Maydell, 2019/08/09