Project

General

Profile

Bug #1037

[qmake] No check for required X11 extensions

Added by legluondunet about 12 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Low
Assignee:
Category:
-
Target version:
Start date:
2012-05-07
% Done:

100%


Description

Hello,

I try to compile doomsday from last git snapshot and I obtain this error:

displaymode_x11.o: In function `DisplayMode_Native_SetColorTransfer\':
displaymode_x11.cpp:(.text+0xe9): undefined reference to `XF86VidModeGetGammaRampSize\'
displaymode_x11.cpp:(.text+0x19e): undefined reference to `XF86VidModeSetGammaRamp\'
displaymode_x11.o: In function `DisplayMode_Native_Init\':
displaymode_x11.cpp:(.text+0x213): undefined reference to `XRRGetScreenInfo\'
displaymode_x11.cpp:(.text+0x22f): undefined reference to `XRRConfigSizes\'
displaymode_x11.cpp:(.text+0x270): undefined reference to `XRRConfigRates\'
displaymode_x11.cpp:(.text+0x32e): undefined reference to `XRRConfigTimes\'
displaymode_x11.cpp:(.text+0x374): undefined reference to `XRRConfigCurrentConfiguration\'
displaymode_x11.cpp:(.text+0x3a0): undefined reference to `XRRConfigCurrentRate\'
displaymode_x11.cpp:(.text+0x3f9): undefined reference to `XRRFreeScreenConfigInfo\'
displaymode_x11.o: In function `DisplayMode_Native_Change\':
displaymode_x11.cpp:(.text+0x4e5): undefined reference to `XRRGetScreenInfo\'
displaymode_x11.cpp:(.text+0x501): undefined reference to `XRRConfigSizes\'
displaymode_x11.cpp:(.text+0x550): undefined reference to `XRRConfigRates\'
displaymode_x11.cpp:(.text+0x60e): undefined reference to `XRRConfigTimes\'
displaymode_x11.cpp:(.text+0x660): undefined reference to `XRRConfigRates\'
displaymode_x11.cpp:(.text+0x794): undefined reference to `XRRSetScreenConfigAndRate\'
displaymode_x11.cpp:(.text+0x7e8): undefined reference to `XRRFreeScreenConfigInfo\'
displaymode_x11.o: In function `DisplayMode_Native_GetColorTransfer\':
displaymode_x11.cpp:(.text+0xb55): undefined reference to `XF86VidModeQueryExtension\'
displaymode_x11.cpp:(.text+0xbc4): undefined reference to `XF86VidModeGetGammaRampSize\'
displaymode_x11.cpp:(.text+0xcfd): undefined reference to `XF86VidModeGetGammaRamp\'
displaymode_x11.o: In function `RRInfo::~RRInfo()\':
displaymode_x11.cpp:(.text._ZN6RRInfoD2Ev[_ZN6RRInfoD5Ev]+0x12): undefined reference to `XRRFreeScreenConfigInfo\'
collect2: ld a retourné 1 code d\'état d\'exécution
make1: * [doomsday] Erreur 1
make1: quittant le répertoire « /home/legluondunet/Bureau/Ordi/Jeux/Dooms-Like/doomsday_rep/doomsday/engine »
make: *
[sub-engine-make_default-ordered] Erreur 2

thanks for your help.

Labels: Build System

History

#1 Updated by skyjake almost 12 years ago

Added the appropriate checks to engine.pro.

#2 Updated by skyjake over 11 years ago

You can do one of two things:

1) Install the XVideoMode86 and XRandR extensions (find the suitable dev packages).
2) Add deng_nodisplaymode to your CONFIG to disable this functionality in the engine.

Also available in: Atom PDF