#6 build errors on Solaris 9 (sparc)

open
None
5
2006-07-06
2006-07-05
No

Hello,
I have problems with building dcfldd 1.3.4 ( or any
other version) on Solaris 9 (sparc) using gcc 3.3.2 or
gcc 3.4.2.
After doing ./configure --prefix=/usr/local and
make I get the following error:
make[1]: Entering directory
`/home/solaris-ir/packages/dcfldd-1.3.4'
if gcc -DHAVE_CONFIG_H -I. -I. -I. -g -O2 -MT
dcfldd.o -MD -MP -MF ".deps/dcfldd.Tpo" -c -o dcfldd.o
dcfldd.c; \ then mv -f ".deps/dcfldd.Tpo" ".deps/dcfldd.Po"; else
rm -f ".deps/dcfldd.Tpo"; exit 1; fi
In file included from hash.h:30,
from dcfldd.h:41,
from dcfldd.c:22:
sha2.h:113: error: parse error before "u_int32_t"
sha2.h:113: warning: no semicolon at end of struct or union
sha2.h:114: warning: data definition has no type or
storage class
sha2.h:115: error: parse error before "buffer"
sha2.h:115: warning: data definition has no type or
storage class
sha2.h:116: error: parse error before '}' token
sha2.h:116: warning: data definition has no type or
storage class
sha2.h:118: error: parse error before "u_int64_t"
sha2.h:118: warning: no semicolon at end of struct or union
sha2.h:119: error: conflicting types for 'bitcount'
sha2.h:114: error: previous declaration of 'bitcount'
was here
sha2.h:119: warning: data definition has no type or
storage class
sha2.h:120: error: parse error before "buffer"
sha2.h:120: error: conflicting types for 'buffer'
sha2.h:115: error: previous declaration of 'buffer' was
here
sha2.h:120: warning: data definition has no type or
storage class
sha2.h:121: error: parse error before '}' token
sha2.h:121: warning: data definition has no type or
storage class
sha2.h:125: error: parse error before "SHA384_CTX"
sha2.h:125: warning: data definition has no type or
storage class
sha2.h:152: error: parse error before '*' token
sha2.h:153: error: parse error before '*' token
sha2.h:154: error: parse error before '*' token
sha2.h:155: error: parse error before '*' token
sha2.h:156: error: parse error before '*' token
sha2.h:158: error: parse error before '*' token
sha2.h:159: error: parse error before '*' token
sha2.h:160: error: parse error before '*' token
sha2.h:161: error: parse error before '*' token
sha2.h:162: error: parse error before '*' token
sha2.h:164: error: parse error before '*' token
sha2.h:165: error: parse error before '*' token
sha2.h:166: error: parse error before '*' token
sha2.h:167: error: parse error before '*' token
sha2.h:168: error: parse error before '*' token
dcfldd.c:45:20: getopt.h: No such file or directory
make[1]: *** [dcfldd.o] Error 1
make[1]: Leaving directory
`/home/solaris-ir/packages/dcfldd-1.3.4'
make: *** [all] Error 2
root@sparky:5.9/home/solaris-ir/packages/dcfldd-1.3.4#
gcc -v
Reading specs from
/usr/local/lib/gcc/sparc-sun-solaris2.9/3.4.2/specs
Configured with: ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj --enable-languages=c,c+ :
(reconfigured) ../configure --with-as=/usr/ccs/bin/as
--with-ld=/usr/ccs/bin/ld --disable-nls
--disable-libgcj --enable-languages=c,c++
Thread model: posix
gcc version 3.4.2

Any idea?

Thanks
Martin

Discussion

    • assigned_to: nobody --> harbourn