Date: Wed, 20 Nov 1996 18:14:55 -0800 (PST) From: Steve Reid <steve@edmweb.com> To: freebsd-questions@freebsd.org Subject: Gnu dc 1.03 compile problems Message-ID: <Pine.BSF.3.91.961120165434.381A-100000@bitbucket.edmweb.com>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.961120165434.381A-100000>
