From owner-freebsd-questions Wed Nov 20 18:15:17 1996 Return-Path: owner-questions Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id SAA27105 for questions-outgoing; Wed, 20 Nov 1996 18:15:17 -0800 (PST) Received: from bitbucket.edmweb.com (bitbucket.edmweb.com [204.244.190.9]) by freefall.freebsd.org (8.7.5/8.7.3) with SMTP id SAA27099 for ; Wed, 20 Nov 1996 18:15:12 -0800 (PST) Received: (from steve@localhost) by bitbucket.edmweb.com (8.6.12/8.6.12) id SAA00607; Wed, 20 Nov 1996 18:15:03 -0800 Date: Wed, 20 Nov 1996 18:14:55 -0800 (PST) From: Steve Reid To: freebsd-questions@freebsd.org Subject: Gnu dc 1.03 compile problems Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-questions@freebsd.org X-Loop: FreeBSD.org Precedence: bulk Has anyone been able to get GNU dc v1.03 to compile on a 2.1.0-RELEASE system? I've tried, but it produces a bunch of warnings and errors (see below). I've been told that it's fine under -current, so I tried grabbing the dc source from there but I get the same results. Looking at these error messages, it looks like it's a problem with the include files. Any suggestions? In file included from /usr/include/ctype.h:51, from dc-misc.c:36: /usr/include/runetype.h:58: parse error before `rune_t' /usr/include/runetype.h:58: warning: no semicolon at end of struct or union /usr/include/runetype.h:59: warning: data definition has no type or storage class /usr/include/runetype.h:60: parse error before `map' /usr/include/runetype.h:60: warning: data definition has no type or storage class /usr/include/runetype.h:62: parse error before `}' /usr/include/runetype.h:62: warning: data definition has no type or storage class /usr/include/runetype.h:66: parse error before `_RuneEntry' /usr/include/runetype.h:66: warning: no semicolon at end of struct or union /usr/include/runetype.h:67: warning: data definition has no type or storage class /usr/include/runetype.h:73: parse error before `rune_t' /usr/include/runetype.h:73: warning: no semicolon at end of struct or union /usr/include/runetype.h:76: parse error before `char' /usr/include/runetype.h:77: parse error before `invalid_rune' /usr/include/runetype.h:77: warning: data definition has no type or storage class /usr/include/runetype.h:80: parse error before `maplower' /usr/include/runetype.h:80: warning: data definition has no type or storage class /usr/include/runetype.h:81: parse error before `mapupper' /usr/include/runetype.h:81: warning: data definition has no type or storage class /usr/include/runetype.h:88: parse error before `runetype_ext' /usr/include/runetype.h:88: warning: data definition has no type or storage class /usr/include/runetype.h:89: parse error before `maplower_ext' /usr/include/runetype.h:89: warning: data definition has no type or storage class /usr/include/runetype.h:90: parse error before `mapupper_ext' /usr/include/runetype.h:90: warning: data definition has no type or storage class /usr/include/runetype.h:94: parse error before `}' /usr/include/runetype.h:94: warning: data definition has no type or storage class /usr/include/runetype.h:98: parse error before `_DefaultRuneLocale' /usr/include/runetype.h:98: warning: data definition has no type or storage class /usr/include/runetype.h:99: parse error before `*' /usr/include/runetype.h:99: warning: data definition has no type or storage class /usr/include/ctype.h: In function `__istype': In file included from dc-misc.c:36: /usr/include/ctype.h:147: request for member `runetype' in something not a structure or union /usr/include/ctype.h: In function `__isctype': /usr/include/ctype.h:156: request for member `runetype' in something not a structure or union /usr/include/ctype.h: In function `__toupper': /usr/include/ctype.h:165: request for member `mapupper' in something not a structure or union /usr/include/ctype.h: In function `__tolower': /usr/include/ctype.h:174: request for member `maplower' in something not a structure or union *** Error code 1 Stop.