From owner-freebsd-questions@FreeBSD.ORG Tue Apr 13 17:51:18 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3C90E16A4CE for ; Tue, 13 Apr 2004 17:51:18 -0700 (PDT) Received: from cwe.compwest.com.au (computerwest.com.au [202.72.158.79]) by mx1.FreeBSD.org (Postfix) with ESMTP id B653443D5E for ; Tue, 13 Apr 2004 17:51:14 -0700 (PDT) (envelope-from paul@bdug.org.au) Received: from mail.bdug.org.au (ant.parkview.compwest.com.au [202.72.170.31]) by cwe.compwest.com.au (8.12.6/8.12.6) with ESMTP id i3E0pAb1037149 for ; Wed, 14 Apr 2004 08:51:11 +0800 (WST) (envelope-from paul@bdug.org.au) Received: from wks (wks.bdug.org.au [192.168.0.2]) by mail.bdug.org.au (Postfix) with SMTP id B66245BA1 for ; Wed, 14 Apr 2004 08:51:10 +0800 (WST) From: "Paul Hamilton" To: "Freebsd-Questions" Date: Wed, 14 Apr 2004 08:51:43 +0800 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Subject: error compiling kdegraphics3 (openmotif-2.2.2/clients) port X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Apr 2004 00:51:18 -0000 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