gaute

thanks a lot, it now compiles without warnings and errros with and without -fbouds-check.

jens

On Wed, 24 Jul 2013, Gaute Hope wrote:

On 24. juli 2013 16:07, Jens Havskov wrote:

it would be nice if some seisan user knew more c than me and was able to
fix these compilation problems.

jens

On Wed, 24 Jul 2013, Branden Christensen wrote:


Many of the Google forums I am reading suggest that we are missing
"#include <stdlib.h>" (/usr/include/stdlib.h).


Kind Regards,
Branden Christensen [email protected] Volcan, Panama

There is an missing #include <stdlib.h>, see attached patch for
suggested changes. This also removes an obsolete definition of SWAP.

To fix the compile error (with -fbounds-check) tdmt_invc_seisan.c must
be linked to gfortran (probably since seisan.a is fortran and includes
libgfortran functions because of the -fbounds-check). Add -lgfortran to
the corresponding SEISARCH line in PRO/Makefile. A -L option with the
path to the gfortran libraries may be required.

Regards, Gaute


_______________________________________________
seisan mailing list
[email protected]
http://mailman.uib.no/listinfo/seisan

Reply via email to