Mail Archives: djgpp/1997/04/04/02:26:05
Nihat M. Gurmen writes:
> Hi I installed EzGcc and g770519.
>
> GCC works just fine. But when I try to compile fortran programs with
> G77
> I get the error below (I just quoted last of the 30+ other similar
> errors.)
>
> lread.c(.text+0x315): more undefined references to __dj_ctype_flags
> follow
>
> It looks like as it doesn't see libf2c.a, but it is there among the
> other libfiles.
It *does* see libf2c.a. lread.c is part of libf2c (libI77/lread.c).
It contains an #include <ctype.h>. I suspect you have a mix of
v1 and v2 of djgpp and libf2c is compiled with the wrong one.
I cannot say right now offhand which version of djgpp uses __dj_ctype_flags.
But I suspect you gotta get the right libs.
BTW, I was refering f2c here. I'm not sure whether you mean g77 or f2c.
I assume g77 uses the f2c runtime system.
>
> Any help? Thanks.
> --
> Nihat M. GURMEN | University of South Florida
> gurmen AT eng DOT usf DOT edu | Chemical Engineering Department
> (813) 974-2139 (w) | 4202 E. Fowler Av., ENG 320
> (813) 974-3651 (fax) | Tampa, FL, 33620
> (813) 984-9497 (h) | http://www.usf.edu
--
--Chris Christoph P. U. Kukulies kuku AT gil DOT physik DOT rwth-aachen DOT de
- Raw text -