Subject: Zoularis on Solaris 9
To: None <tech-pkg@netbsd.org>
From: None <atlan@utanet.at>
List: tech-pkg
Date: 09/08/2002 06:49:13
Hey,
I'm using binaries from the zoularis homepage and pkgsrc,
which is about one week old. If I compile a package, it first tries
to compile pkgtools/digest leading to the following errors


# bmake
===> Building for digest-20010807
gcc -I/usr/pkg/include   -Werror  -I/usr/pkg/include
-I/usr/pkg/bsd/include -D__EXTENSIONS__ -D_XPG4_2 -DSUNOS_5_8
-I/usr/pkgsrc/pkgtools/digest/work -DVERSION="20010807" -c digest.c
digest.c:36: parse error before string constant
cc1: warnings being treated as errors
digest.c:36: warning: data definition has no type or storage class
digest.c:38: parse error before string constant
digest.c:38: warning: data definition has no type or storage class
In file included from digest.c:44:
/usr/pkgsrc/pkgtools/digest/work/md5.h:39: parse error before
`u_int32_t'
/usr/pkgsrc/pkgtools/digest/work/md5.h:39: warning: no semicolon at end
of struct or union
/usr/pkgsrc/pkgtools/digest/work/md5.h:40: warning: data definition has
no type or storage class
/usr/pkgsrc/pkgtools/digest/work/md5.h:42: parse error before `}'
/usr/pkgsrc/pkgtools/digest/work/md5.h:42: warning: data definition has
no type or storage class
/usr/pkgsrc/pkgtools/digest/work/md5.h:45: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/md5.h:46: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/md5.h:47: parse error before `MD5_CTX'
/usr/pkgsrc/pkgtools/digest/work/md5.h:49: parse error before `*'
In file included from digest.c:45:
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:31: parse error before
`u_int32_t'
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:31: warning: no semicolon at
end of struct or union
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:32: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:34: parse error before
`buflen'
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:34: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:35: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:38: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:39: parse error before `['
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:40: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:41: parse error before
`RMD160_CTX'
/usr/pkgsrc/pkgtools/digest/work/rmd160.h:43: parse error before `*'
In file included from digest.c:46:
/usr/pkgsrc/pkgtools/digest/work/sha1.h:15: parse error before
`u_int32_t'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:15: warning: no semicolon at end
of struct or union
/usr/pkgsrc/pkgtools/digest/work/sha1.h:16: warning: data definition has
no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha1.h:18: parse error before `}'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:18: warning: data definition has
no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha1.h:20: parse error before `state'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:21: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:22: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:23: parse error before
`SHA1_CTX'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:25: parse error before `*'
In file included from digest.c:47:
/usr/pkgsrc/pkgtools/digest/work/sha2.h:112: parse error before
`u_int32_t'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:112: warning: no semicolon at
end of struct or union
/usr/pkgsrc/pkgtools/digest/work/sha2.h:113: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:114: parse error before `buffer'

/usr/pkgsrc/pkgtools/digest/work/sha2.h:114: conflicting types for
`buffer'
/usr/pkgsrc/pkgtools/digest/work/sha1.h:17: previous declaration of
`buffer'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:114: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:115: parse error before `}'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:115: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:117: parse error before
`u_int64_t'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:117: warning: no semicolon at
end of struct or union
/usr/pkgsrc/pkgtools/digest/work/sha2.h:118: conflicting types for
`bitcount'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:113: previous declaration of
`bitcount'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:118: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:119: parse error before `buffer'

/usr/pkgsrc/pkgtools/digest/work/sha2.h:119: conflicting types for
`buffer'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:114: previous declaration of
`buffer'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:119: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:120: parse error before `}'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:120: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:124: parse error before
`SHA384_CTX'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:124: warning: data definition
has no type or storage class
/usr/pkgsrc/pkgtools/digest/work/sha2.h:154: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:155: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:156: parse error before `['
/usr/pkgsrc/pkgtools/digest/work/sha2.h:157: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:158: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:161: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:162: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:163: parse error before `['
/usr/pkgsrc/pkgtools/digest/work/sha2.h:164: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:165: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:168: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:169: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:170: parse error before `['
/usr/pkgsrc/pkgtools/digest/work/sha2.h:171: parse error before `*'
/usr/pkgsrc/pkgtools/digest/work/sha2.h:172: parse error before `*'
digest.c: In function `md5_digest_file':
digest.c:57: `MD5_CTX' undeclared (first use in this function)
digest.c:57: (Each undeclared identifier is reported only once
digest.c:57: for each function it appears in.)
digest.c:57: parse error before `m'
digest.c:63: `m' undeclared (first use in this function)
digest.c: In function `sha1_digest_file':
digest.c:81: `SHA1_CTX' undeclared (first use in this function)
digest.c:81: parse error before `sha'
digest.c:87: `sha' undeclared (first use in this function)
digest.c: In function `rmd160_digest_file':
digest.c:105: `RMD160_CTX' undeclared (first use in this function)
digest.c:105: parse error before `rmd'
digest.c:111: `rmd' undeclared (first use in this function)
digest.c: In function `sha256_digest_file':
digest.c:129: `SHA256_CTX' undeclared (first use in this function)
digest.c:129: parse error before `sha256'
digest.c:135: `sha256' undeclared (first use in this function)
digest.c: In function `sha384_digest_file':
digest.c:153: `SHA384_CTX' undeclared (first use in this function)
digest.c:153: parse error before `sha384'
digest.c:159: `sha384' undeclared (first use in this function)
digest.c: In function `sha512_digest_file':
digest.c:177: `SHA512_CTX' undeclared (first use in this function)
digest.c:177: parse error before `sha512'
digest.c:183: `sha512' undeclared (first use in this function)
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest/work
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
*** Error code 1

Stop.
bmake: stopped in /usr/pkgsrc/pkgtools/digest
#



chris