[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-devel
Subject:    Re: kdebase compile error
From:       Waldo Bastian <bastian () suse ! de>
Date:       2000-01-21 10:17:34
[Download RAW message or body]

On Fri, 21 Jan 2000, ne... wrote:
> When trying to compile kdebase 2preAlpha from CVS, it bombs
> out with the following error:
>
> make[3]: Entering directory `/home/guhvies/work/KDE2/kdebase/kdm'
> g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/opt/kde/include
> -I/home/guhvies/work/KDE2/qt-copy/include -I/usr/X11R6.4/include
> -O2 -fno-exceptions -fno-rtti -fno-check-new -Wall -pedantic -W
> -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long
> -fno-builtin  -c chooser.cpp
> chooser.cpp:24: warning: ANSI C does not allow `#warning'
> chooser.cpp:24: warning: #warning TODO: Fill in this description
> /usr/X11R6.4/include/X11/Xdmcp.h:139: previous declaration of `int
> XdmcpARRAY8Equal(struct _ARRAY8 *, struct _ARRAY8 *)' with C++
> linkage In file included from DXdmcp.h:26,
>                  from chooser.cpp:17:
> CXdmcp.h:75: conflicts with new declaration with C linkage
> /usr/X11R6.4/include/X11/Xdmcp.h:164: previous declaration of `int
> XdmcpAllocARRAY8(struct _ARRAY8 *, int)' with C++ linkage
> CXdmcp.h:76: conflicts with new declaration with C linkage
[SNAP]
> make[3]: *** [chooser.o] Error 1
>
> System:
> RH6.1 with updates.
> XFree86 3.9.17

Seems like a mix up of C and C++ headers. Could it be that XFree 3.9.x 
comes with C++ where older version only had C headers?

Always tricky to get right without breaking it on older version of X.

Cheers,
Waldo

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic