Comments (11)
Hi Alvaro,
You don't need those exact versions but you need to install the -dev packages, e.g apt-get install libglib2.0-dev.
Best regards,
Edgar
from qemu.
I am using Ubuntu 20.04. I cannot solve this problem.
Here is my error log.
❯ ./configure --target-list=riscv64-softmmu && make Using './build' as the directory for build output ERROR: glib-2.56 gthread-2.0 is required to compile QEMUI've already installed
libglib2.0-dev
and cannot find gthread. What should I do?
After installing the package libglib2.0-dev
(by the way, thanks for the name, needed that), together with libpixman-1-dev
due to later errors, I was able to run sudo ./configure
errorless. Just wouldn't work without sudo.
from qemu.
for CentOS
# yum install glib2
# yum install glib2-devel
from qemu.
I am using Ubuntu 20.04. I cannot solve this problem.
Here is my error log.
❯ ./configure --target-list=riscv64-softmmu && make
Using './build' as the directory for build output
ERROR: glib-2.56 gthread-2.0 is required to compile QEMU
I've already installed libglib2.0-dev
and cannot find gthread. What should I do?
from qemu.
I had a totally different experience to say that the error ERROR: glib-2.48 gthread-2.0 is required to compile QEMU
is ambiguous.
I did have the package libglib2.0-dev
installed, so the error was not related to it.
After inspecting the config.log
file (a file in one's build directory), I discovered that some libraries and headers where missing because the compilation failed after adding a library or because of an undefined function. Some libraries were (in my case) namely: libibumad, libibverbs. Thus, I installed libibumad-dev
, libibverbs-dev
packages in my system (Ubuntu).
The missing libraries or headers in your case may vary so inspect the lasts lines of the config.log
file in your build directory to see which libraries/headers you don't have installed.
from qemu.
from qemu.
for CentOS
# yum install glib2 # yum install glib2-devel
however, I have glib2.4,and the error still remain.
I run
yum install glib2
the log in the terminal is
Package glib2-2.40.0-4.x86_64 already installed and latest version
I run
yum install glib2-devel
the log in the terminal is
Package glib2-devel-2.40.0-4.x86_64 already installed and latest version
How can I fix it?
from qemu.
you have already installed glib2 and glib2-devel,
sudo ./configure
sudo make
that works for me
from qemu.
I am using Ubuntu 20.04. I cannot solve this problem.
Here is my error log.
❯ ./configure --target-list=riscv64-softmmu && make Using './build' as the directory for build output ERROR: glib-2.56 gthread-2.0 is required to compile QEMUI've already installed
libglib2.0-dev
and cannot find gthread. What should I do?
I have also encountered this problem. Have you solved it?
from qemu.
Hi Jialong, As you are on ubuntu. Did you ever try apt build-dep qemu Regards, Sai Pavan From: Jiaolong @.> Sent: Tuesday, August 30, 2022 2:48 PM To: Xilinx/qemu @.> Cc: Subscribed @.> Subject: Re: [Xilinx/qemu] ERROR: glib-2.48 gthread-2.0 is required to compile QEMU (#40) CAUTION: This message has originated from an External Source. Please use proper judgment and caution when opening attachments, clicking links, or responding to this email. I am using Ubuntu 20.04. I cannot solve this problem. Here is my error log. ❯ ./configure --target-list=riscv64-softmmu && make Using './build' as the directory for build output ERROR: glib-2.56 gthread-2.0 is required to compile QEMU I've already installed libglib2.0-dev and cannot find gthread. What should I do? I have also encountered this problem. Have you solved it? — Reply to this email directly, view it on GitHub<#40 (comment)>, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AD73MGLDP6DL3OZECOTYQ3LV3XGWLANCNFSM4K4BU62Q. You are receiving this because you are subscribed to this thread.Message ID: @.>
Thank you for your advice, but after downloading some files, the problem is still unsolved and the same error message remains.
from qemu.
here's my error:
./configure
Using './build' as the directory for build output
ERROR: glib-2.56 gthread-2.0 is required to compile QEMU
from qemu.
Related Issues (20)
- ERROR: glib-2.22 gthread-2.0 is required to compile QEMU HOT 1
- Xilinx QEMU for Windows 10
- SRIOV support to remote-port
- How to run QNX OS on qemu HOT 6
- MPSoC CAN QEMU acceptance filter register layout not compatible with hardware HOT 2
- arm: cp15 support
- cadence_i2c.c DATA register issue
- Cannot recreate QEMU Petalinux commands HOT 1
- Enable virtfs in xilinx-qemu?
- Remote for `dtc` submodule points to deprecated git.qemu-project.org HOT 2
- Assessment of the difficulty in porting CPU architecture for qemu
- Block device read operation misses one byte(8 bit) per chip per SPI transaction HOT 3
- Error:undefined reference to `fcntl64'
- No null check on info leads to segfault
- QEMU Object Model for PL
- QEMU - How to enable two GEMs on xilinx-zcu102 machine HOT 4
- qemu support of VCR register on Cortex-A9
- Remote Port: need to disable/enable byte_enable
- Secure Boot with Xilinx QEMU
- qemu-system-aarch64: Connection refused
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from qemu.