Configure error in QEMU

Background:

Below error occured when I run “make qemu” command to compile the code.

Configure error:

vl.c: In function ‘main’:
vl.c:2857:5: error: ‘g_mem_set_vtable’ is deprecated [-Werror=deprecated-declarations]     
g_mem_set_vtable(&mem_trace);     
^ 

A solution is to add a flag to disable this error. Actually it is still exist, it just become a warnning instead of a error. Sometimes I think it is ok to do that.

 ./configure --disable-werror  

Good Luck & Have Fun.

Share this article to your social media
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments