RH7 comes with gcc 2.96 which does stricter type checking etc... I had
the same problem - I was unable to get 5.3.15 compiled with either gcc
2.96 or the newly released gcc 3.0. I eventually installed a previous
version of gcc from a redhat 6.0 cd (egcs 2.1 I think) with which I
was able to succesfully compile and set up coda.
Ajay Kang
On Wed, 4 Jul 2001, Jinsuo Zhang wrote:
> Dear coda developers:
> when I compile coda 5.3.15 in redhat 7.0, there are errors:
> .......
> vol_cml.cc:4323:50: warning: pasting would not give a valid
> preprocessing token
> ......
> lots of warning as above
> .......
> vol_cml.cc: In function `int RLE_Size (ARG *, ...)':
> vol_cml.cc:3321: non-lvalue in unary `&'
> vol_cml.cc: In function `void RLE_Pack (PARM **, ARG *, ...)':
> vol_cml.cc:3356: non-lvalue in unary `&'
> make: *** [vol_cml.o] Error 1
>
> when I compile coda in redhat 7.1, the error occur in comm.c,
> line 919, which say 7th argument mismatch.
> and there are lots of warnings similar to above.
>
> any suggestion?
> thanks.
>