[prev in list] [next in list] [prev in thread] [next in thread]
List: kde-devel
Subject: DPMS and Xfree86 pre 4.0
From: Shad <kde () cr753963-a ! glph1 ! on ! wave ! home ! com>
Date: 2000-02-24 16:22:33
[Download RAW message or body]
I'm using the cvs version of XFree86, and I can not get
kdebase/kcontrol/display to compile because of the X11 include dpms.h
Here is the output of the compiler:
/bin/sh ../../libtool --mode=compile g++ -DHAVE_CONFIG_H
-I. -I. -I../.. -I/usr/local/kde/include -I/usr/local/qt/include
-I/usr/X11R6/include -O2 -fno-exceptions -fno-rtti -fno-check-new
-Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
-Wno-long-long -fno-builtin -c energy.cpp
g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/local/kde/include
-I/usr/local/qt/include -I/usr/X11R6/include -O2 -fno-exceptions -fno-rtti
-fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
-Wwrite-strings -Wno-long-long -fno-builtin -Wp,-MD,.deps/energy.pp -c
energy.cpp -fPIC -DPIC -o energy.lo
In file included from energy.cpp:45:
/usr/X11R6/include/X11/extensions/dpms.h:48: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:48: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:48: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:49: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:49: parse error before `*'
/usr/X11R6/include/X11/extensions/dpms.h:52: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:53: type specifier omitted for
parameter
/usr/X11R6/include/X11/extensions/dpms.h:53: parse error before `*'
/usr/X11R6/include/X11/extensions/dpms.h:45: previous declaration of `int
DPMSQueryExtension(_XDisplay *, int *, int *)' with C++ linkage
energy.cpp:48: conflicts with new declaration with C linkage
energy.cpp:49: new declaration `void DPMSEnable(_XDisplay *)'
/usr/X11R6/include/X11/extensions/dpms.h:50: ambiguates old declaration
`int DPMSEnable(_XDisplay *)'
energy.cpp:50: new declaration `void DPMSDisable(_XDisplay *)'
/usr/X11R6/include/X11/extensions/dpms.h:51: ambiguates old declaration
`int DPMSDisable(_XDisplay *)'
make[1]: *** [energy.lo] Error 1
make[1]: Leaving directory `/usr/src/kde/kdebase/kcontrol/display'
make: *** [all-recursive] Error 1
Merci :)
Shad
Make money by surfing the web: http://how.to/get-cash
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic