LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Qemu build fail on Slackware64-Current (https://www.linuxquestions.org/questions/slackware-14/qemu-build-fail-on-slackware64-current-4175613552/)

tux_dude 09-10-2017 12:10 PM

Qemu build fail on Slackware64-Current
 
Unable to build qemu 2.8.1.1 and qemu 2.9.1 on Slackware64-Current. It seems to be related to the recent glibc changes, but not entirely sure. Getting the following error:
Code:

In file included from /tmp/SBo/qemu-2.9.1/linux-user/qemu.h:4:0,
                from /tmp/SBo/qemu-2.9.1/exec.c:39:
/tmp/SBo/qemu-2.9.1/linux-user/host/x86_64/hostdep.h: In function ‘rewind_if_in_safe_syscall’:
/tmp/SBo/qemu-2.9.1/linux-user/host/x86_64/hostdep.h:28:24: error: dereferencing pointer to incomplete type ‘struct ucontext’
    greg_t *pcreg = &uc->uc_mcontext.gregs[REG_RIP];
                        ^~

Has anyone encounter this issue?

ponce 09-10-2017 12:12 PM

you should build 2.10.0 on slackware current.

tux_dude 09-10-2017 12:44 PM

Quote:

Originally Posted by ponce (Post 5757382)
you should build 2.10.0 on slackware current.

Thanks ponce, 2.10.0 worked.


All times are GMT -5. The time now is 01:03 AM.