Octave 3.0.3 compile error in dtgevc.f

Per Birkestad perbirkestad at gmail.com
Wed Jan 21 11:37:57 CST 2009


Thanks a lot John,

I just commented those lines away and it worked...(the compliation, at least
:)

However, I ran into a new error so I tried to change the f77 compiler to gcc
and now I got it running. Nice!

regards

Per




On Wed, Jan 21, 2009 at 4:45 PM, John W. Eaton <jwe at octave.org> wrote:

> On 21-Jan-2009, per42195 wrote:
>
> |
> | Dear all,
> |
> | I'm trying to compile octave 3.0.3 for Linux CentOS 5. I ran configure
> and
> | then make, and I run in to the following compiler messages (a lot of
> files
> | are compiled OK before this), see below:
> |
> | Not knowing too much about fortran, I really need help here
> |
> | regards
> |
> | Per
> |
> | f77 -c -fPIC -O dtgevc.f -o pic/dtgevc.o
> |
> | CDIR$          NEXTSCALAR
> |                ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 637, Column =
> 16
> |   Unsupported compiler directive.
> |
> | CDIR$          NEXT SCALAR
> |                ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 639, Column =
> 16
> |   Unsupported compiler directive.
> |
> | CDEC$          NOVECTOR
> |                ^
> | cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 641, Column = 16
> |   Conditional compilation has unexpected syntax.  Expected conditional
> | compilation directive.
> |
> | CDIR$             NEXTSCALAR
> |                   ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 651, Column =
> 19
> |   Unsupported compiler directive.
> |
> | CDIR$             NEXT SCALAR
> |                   ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 653, Column =
> 19
> |   Unsupported compiler directive.
> |
> | CDEC$             NOVECTOR
> |                   ^
> | cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 655, Column = 19
> |   Conditional compilation has unexpected syntax.  Expected conditional
> | compilation directive.
> |
> | CDIR$          NEXTSCALAR
> |                ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 678, Column =
> 16
> |   Unsupported compiler directive.
> |
> | CDIR$          NEXT SCALAR
> |                ^
> | cf90-801 f90fe64: WARNING DTGEVC, File = dtgevc.f, Line = 680, Column =
> 16
> |   Unsupported compiler directive.
> |
> | CDEC$          NOVECTOR
> |                ^
> | cf90-1165 f90fe64: ERROR DTGEVC, File = dtgevc.f, Line = 682, Column = 16
> |   Conditional compilation has unexpected syntax.  Expected conditional
> | compilation directive.
>
> Although they might be interpreted as special directives by some
> compilers, there lines are still nothing more than comments.  I don't
> understand why a compiler would ever fail on an unrecognized
> directive.
>
> | f90: Copyright Absoft Corporation 1994-2004; Absoft Fortran Compiler
> Version
> | 9.0a
>
> Hmm.  This must be your problem.  Why not use gfortran to compile the
> Fortran bits?  Or, if you really feel the need to use this compiler,
> then maybe there is a switch to tell it to treat all comments as
> comments and not try to recognize them as compiler directives?
>
> jwe
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://www-old.cae.wisc.edu/pipermail/help-octave/attachments/20090121/3509c370/attachment.html 


More information about the Help-octave mailing list