[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Qemu-discuss] undefined reference to `XOpenDisplay'
From: |
Mahmood Naderan |
Subject: |
[Qemu-discuss] undefined reference to `XOpenDisplay' |
Date: |
Thu, 4 Jul 2019 23:53:22 +0430 |
Hi,
On a centos 7 based system, I hit the following error while "make install"
is executed.
GEN trace/generated-helpers.c
CC m68k-softmmu/trace/control-target.o
CC m68k-softmmu/gdbstub-xml.o
CC m68k-softmmu/trace/generated-helpers.o
LINK m68k-softmmu/qemu-system-m68k
[root@compute-0-4 qemu-3.1.0]# make install
CHK version_gen.h
LINK qemu-img
LINK lm32-softmmu/qemu-system-lm32
hw/lm32/milkymist.o: In function `milkymist_tmu2_create':
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:114: undefined reference to
`XOpenDisplay'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:140: undefined reference to `XFree'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:141: undefined reference to
`XCloseDisplay'
/root/qemu-3.1.0/hw/lm32/milkymist-hw.h:130: undefined reference to
`XCloseDisplay'
../hw/display/milkymist-tmu2.o: In function `tmu2_glx_init':
/root/qemu-3.1.0/hw/display/milkymist-tmu2.c:112: undefined reference to
`XOpenDisplay'
/root/qemu-3.1.0/hw/display/milkymist-tmu2.c:123: undefined reference to
`XFree'
collect2: error: ld returned 1 exit status
make[1]: *** [qemu-system-lm32] Error 1
make: *** [subdir-lm32-softmmu] Error 2
[root@compute-0-4 qemu-3.1.0]#
I found this topic
https://stackoverflow.com/questions/2975304/undefined-reference-to-xopendisplay-in-a-qt-project
Should I use it?
Regards,
Mahmood
- [Qemu-discuss] undefined reference to `XOpenDisplay',
Mahmood Naderan <=