www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/04/04/02:26:05

Message-ID: <Mutt.19970404093105.kuku@gil.physik.rwth-aachen.de>
Date: Fri, 4 Apr 1997 09:31:05 +0200
From: kuku AT gilberto DOT physik DOT rwth-aachen DOT de (Christoph Kukulies)
To: gurmen AT eng DOT usf DOT edu (Nihat M. Gurmen)
Cc: djgpp AT delorie DOT com
Subject: Re: g77 trouble
References: <3342DCBC DOT 39C8 AT eng DOT usf DOT edu> <330D08FC DOT 4034 AT mbnet DOT mb DOT ca>
Mime-Version: 1.0
In-Reply-To: <3342DCBC.39C8@eng.usf.edu>; from Nihat M. Gurmen on Apr 2, 1997 17:25:00 -0500

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019