Mailing List archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[linux-dvb] Re: Problems compiling kvdr-0.31, DPMS
>When I try to compile kvdr-0.31 I get the following errors:
>
>make[3]: Entering directory `/root/kvdr/kvdr'
>g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/include -I/usr/local/qt/include
>-I/usr/X11R6/include -O2 -c kvdr.cpp
>kvdr.cpp:46: new declaration
>`bool DPMSQueryExtension(_XDisplay *, int *, int *)
>'
>/usr/include/X11/extensions/dpms.h:49: ambiguates old declaration `int
>DPMSQueryExtension(_XDisplay *, int *, int *)'
<snip>
That is because the DPMS code has moved from libXDPMS into libXext for
XFree86 >4.0.0.
The solution should be
1. in kvdr.cpp removing the lines
extern "C" {
bool DPMSQueryExtension(Display*, int*, int*);
bool DPMSCapable(Display*);
void DPMSInfo(Display*, CARD16*, bool*);
void DPMSEnable(Display*);
void DPMSDisable(Display*);
}
and
2. if it complains about not finding libXdpms during linking, remove that
-lXdpms simply from the Makefile (in directory kvdr)
(Currently i'am stuck with 2.2.14 kernel and can not switch to XF4.0.1
unless i get ReiserFS working with a 2.4.xx kernel, which i need
for the DRI, so i can not test it).
---
Info:
To unsubscribe send a mail to listar@linuxtv.org with unsubscribe as subject.
Home |
Main Index |
Thread Index