help-xlogmaster
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: ANSI C++ forbids declaration


From: Georg C. F. Greve
Subject: Re: ANSI C++ forbids declaration
Date: 27 Mar 2001 15:05:05 +0200
User-agent: Gnus/5.090001 (Oort Gnus v0.01) Emacs/20.7

Hi Thomas,

 || On Tue, 27 Mar 2001 14:27:54 +0100
 || "Thomas Siegfried" <address@hidden> wrote: 

 ts> I´m just trying to compile xlogmaster 1.6.0.0 on Solaris 2.6
 ts> using gmake. The compile end with the followings errors:
 ts> ......
 ts> /usr/openwin/include/X11/Xlib.h:4121: ANSI C++ forbids declaration 
`XUnmapWindow' with no type
 ts> /usr/openwin/include/X11/Xlib.h:4141: ANSI C++ forbids declaration 
`XWarpPointer' with no type
 ts> /usr/openwin/include/X11/Xlib.h:4162: ANSI C++ forbids declaration 
`XWindowEvent' with no type
 ts> In file included from sysinc.H:8,
 ts>                  from xlogmaster.cc:36:
 ts> /usr/openwin/include/X11/Xresource.h:249: ANSI C++ forbids declaration 
`XrmQGetResource' with no type
 ts> gmake[2]: *** [xlogmaster.o] Error 1
 ts> gmake[2]: Leaving directory `/opt/SOFTWARE/2.6/xlogmaster-1.6.0/src'
 ts> gmake[1]: *** [all-recursive] Error 1
 ts> gmake[1]: Leaving directory `/opt/SOFTWARE/2.6/xlogmaster-1.6.0'
 ts> gmake: *** [all-recursive-am] Error 2
 ts> ......

 ts> Does anybody knows this Problem or how to solve it ???

This is a problem with broken X-Window includes (as you can see, the
problematic file is /usr/openwin/include/X11/Xresource.h - which is
not part of the Xlogmaster) that apparently happens fairly often on
Sun machines, it seems.

What compiler are you using? Where did you get the includes? Very
often this happens with mixed installations and reinstallation of some
parts often solve the problem. Having all the GNU tools (GCC, gmake
and so on) somewhere on the system is one solution to the problem that
seems to be working.

If you can supply more information (see file README for what a bug
report should normally contain), I'll try to help.

Regards,
                Georg

-- 
Georg C. F. Greve                                       <address@hidden>
Free Software Foundation Europe                  (http://fsfeurope.org)
Brave GNU World                            (http://brave-gnu-world.org)

Attachment: pgpAUE06roCo7.pgp
Description: PGP signature


reply via email to

[Prev in Thread] Current Thread [Next in Thread]