You can, as suggested
[http://www.dbforums.com/archive/index.php/t-563609.html here]. just add
the missing typedefs to your code (then it _should_ work in gcc4.1:
// Typedefs to keep g2c.h happy
typedef int __g77_integer;
typedef unsigned int __g77_uinteger;
typedef long int __g77_longint;
typedef
You've submitted this against gcc-3.4, yet your comment indicates that
you're running gcc 4. libg2c0 is very compiler-dependant, thus it is
important that the version of the compiler matches the version for
libg2c0. There is no bug for gcc-3.4, then, since compiling with that
version of gcc works f
Confirmed and same error on AMD64 x2, latest Edgy, with gcc-3.4 or gcc-4.0.
All error lines refer to "typedef __g77_integer" lines in g2c.h
The error messages are different though with gcc-4.1, but the same lines are
concerned in g2c.h.
[EMAIL PROTECTED]:~$ gcc-4.1 -lg2c test.c
In file included