Posted by Robert Denham on June 17, 1998 at 21:06:23:
I have obtained the linux code and am trying to install it
on my pc running linux (RedHat 5.0), but I am having a
few problems. I am using gcc. If I install it as is,
I get an error something like
cc -c -DShip_f2c_Undefs -o err.c
err.c in function 'f_init'
err.c:174 structure has no member named '_flag'
which I think is caused by the library not using the
standard unix stdio.h library. If I insert the line
#define NON_UNIX_STDIO in fio.h as suggested in the
Clapack FAQ, I can compile a bit further until I get a
new error message:
cc -c -DSkip_f2c_Undefs -O2 err.c
In file included from err.c:16:
/usr/include/stdlib.h:307: parse error before `4'
/usr/include/stdlib.h:307: warning: no semicolon at end of struct or union
/usr/include/stdlib.h:312: parse error before `}'
make: *** [err.o] Error 1
As you all have probably guessed my understanding of the
whole installation and compiling part is pretty shakey,
but I would appreciate it if anyone can help out here.
Let me know if I haven't supplied enough information