From owner-freebsd-ports Fri May 19 9:26:23 2000 Delivered-To: freebsd-ports@freebsd.org Received: from sabami.seaslug.org (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by hub.freebsd.org (Postfix) with ESMTP id 06D3637BEBC for ; Fri, 19 May 2000 09:26:20 -0700 (PDT) (envelope-from scott@sabmail.rresearch.com) Received: from sabmail.rresearch.com (ip18.gte13.rb1.bel.nwlink.com [207.202.150.18]) by sabami.seaslug.org (Postfix) with SMTP id 12B4E1F86 for ; Fri, 19 May 2000 09:26:02 -0700 (PDT) To: freebsd-ports@freebsd.org Subject: Re: KDE2: make install 'fails' ... References: Reply-To: scott@sabami.seaslug.org From: Scott Blachowicz Date: 19 May 2000 09:26:01 -0700 In-Reply-To: The Hermit Hacker's message of "Fri, 19 May 2000 01:19:35 -0300 (ADT)" Message-ID: <87ln16fqw6.fsf@sabmail.rresearch.com> Lines: 43 User-Agent: Gnus/5.0805 (Gnus v5.8.5) XEmacs/21.1 (Canyonlands) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Hi- Well...my build fails like this: g++295 -DHAVE_CONFIG_H -I. -I. -I.. -I./../libltdl/ -I../dcop -I../kdecore -I../kdeui -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -I/usr/X11R6/kde2/include -DQT_NO_ASCII_CAST -DQT_NO_COMPAT -I/usr/local/include -I/usr/X11R6/kde2/include -O -pipe -I/usr/X11R6/kde2/include -I/usr/X11R6/include/qt2 -I/usr/X11R6/include -frtti -c ksock.cpp -fPIC -DPIC -o ksock.lo In file included from ksock.cpp:47: /usr/include/arpa/nameser.h:143: parse error before `;' gmake[3]: *** [ksock.lo] Error 1 gmake[3]: Leaving directory `/files1/ports/x11/kdelibs2/work/kdelibs-1.90/kdecore' gmake[2]: *** [all-recursive] Error 1 gmake[2]: Leaving directory `/files1/ports/x11/kdelibs2/work/kdelibs-1.90/kdecore' gmake[1]: *** [all-recursive] Error 1 gmake[1]: Leaving directory `/files1/ports/x11/kdelibs2/work/kdelibs-1.90' gmake: *** [all-recursive-am] Error 2 *** Error code 2 on a FreeBSD 3.2 system (that I need to update one of these days :-)). That bit of header files looks like this: /* * This is a parsed record. It is caller allocated and has no dynamic data. */ typedef struct __ns_rr { char name[NS_MAXDNAME]; /* XXX need to malloc */ u_int16_t type; u_int16_t class; u_int32_t ttl; u_int16_t rdlength; const u_char *rdata; } ns_rr; I don't think that C++ is going to like "class" as a field name there. Wrapping the #include in ksock.cpp like this: #ifndef __FreeBSD__ // defines MAXDNAME under Solaris #include #endif seems to get the build going again. Probably ought to mention this to the KDE2 developers...where's the best place to do that? -- Scott Blachowicz To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message