Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Apr 2004 08:51:43 +0800
From:      "Paul Hamilton" <paul@bdug.org.au>
To:        "Freebsd-Questions" <freebsd-questions@freebsd.org>
Subject:   error compiling kdegraphics3 (openmotif-2.2.2/clients) port
Message-ID:  <AGEHIFHGNEMPFNCPLONMKEJMGDAA.paul@bdug.org.au>

next in thread | raw e-mail | index | archive | help
Hi,

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

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
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi
b'
cc -DHAVE_CONFIG_H -I. -I. -I../../../include -I/usr/X11R6/include -I./../..
/../lib  -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI  -O -pipe  -Wall
 -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
`XmConvertCallbackStruct'
send.c: In function `WSMSendMessage':
send.c:92: warning: implicit declaration of function `GetTimestamp'
gmake[3]: *** [send.o] Error 1
gmake[3]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm/WmWsmLi
b'
gmake[2]: *** [all-recursive] Error 1
gmake[2]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients/mwm'
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory
`/usr/ports/x11-toolkits/open-motif/work/openmotif-2.2.2/clients'
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
}
#endif
------------------------------------------------------------------------

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

Cheers,

Paul Hamilton




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AGEHIFHGNEMPFNCPLONMKEJMGDAA.paul>