error compiling kdegraphics3 (openmotif-2.2.2/clients) port

Paul Hamilton paul at
Tue Apr 13 17:51:18 PDT 2004


I am trying to compile the latest KDE-3.2.1 I grabed via cvsup for FreeBSD

I have had a few problems portupgrading from KDE 3.1 to the current KDE.  I
magaged to get around the other problems, using 'pkgdb -F' etc.

This one has me though, as it seems to be a syntax error.  Here is the last
few lines, whilst doing a 'make install clean' in 'kdegraphics3':

gmake[3]: Entering directory
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include -I./../..
 -Wno-unused -Wno-comment -c send.c
In file included from /usr/X11R6/include/Xm/DragC.h:29,
                 from /usr/X11R6/include/Xm/DragDrop.h:29,
                 from /usr/X11R6/include/Xm/Transfer.h:29,
                 from send.c:42:
/usr/X11R6/include/Xm/Xm.h:1655: syntax error before
send.c: In function `WSMSendMessage':
send.c:92: warning: implicit declaration of function `GetTimestamp'
gmake[3]: *** [send.o] Error 1
gmake[3]: Leaving directory
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
gmake: *** [all-recursive] Error 1
*** Error code 2

Stop in /usr/ports/x11-toolkits/open-motif.
*** Error code 1

Stop in /usr/ports/graphics/xpdf.
*** Error code 1

Stop in /usr/ports/graphics/kdegraphics3.

Hmmm, so lets have a look at line 1655 in: '/usr/X11R6/include/Xm/Xm.h'


/**************************** Direction.c *********************************/

Boolean XmDirectionMatch(XmDirection dir1, XmDirection dir2);
Boolean XmDirectionMatchPartial(XmDirection dir1, XmDirection dir2,
XmDirection dir_mask);
XmStringDirection XmDirectionToStringDirection(XmDirection dir);
XmDirection XmStringDirectionToDirection(XmStringDirection sdir);

/******************************* Xme.c ************************************/

void XmeConvertMerge(XtPointer data, Atom type,
                     int format, unsigned long length,
                     XmConvertCallbackStruct *call_data);	 <----- Line 1655.
Syntax error on this line?

#ifdef __cplusplus

Or is the real error in send.c,  any clues on how to fix this?


Paul Hamilton

More information about the freebsd-questions mailing list