You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Tuesday, September 2nd 2008, 6:28am

compiling problem

Hi all

I am a newbie to both KDE and fortran programming. I am trying to run a fortran program written by some experts in KDE fortran. Run configure and Run auto make and friends are ending with the comment with 'success'. But 'Build project' ends with a comment '***exited with status 2. I am giving below the entire error messages because I do not know how better can I present the same. Please bear with me. To some other similar question in this forum, I read the answer as "










RE:
Error message: "Exited with status: 2"


You
should do "make install" as the root user.




Bram
Schoenmakers
KDE Netherlands (www.kde.nl)






cd '/home/sur/split' && WANT_AUTOCONF_2_5="1" WANT_AUTOMAKE_1_6="1" LC_MESSAGES="C" LC_CTYPE="C" gmake -k
gmake all-recursive
Making all in src
gfortran -g -O2 -c -o split.o split.f
split.f:1.1:

dimension a(2000),b(2000),c(2000)
1
Error: Non-numeric character in statement label at (1)
split.f:1.1:

dimension a(2000),b(2000),c(2000)
1
Error: Unclassifiable statement at (1)
split.f:4.72:

write (*,'(a\)') ' Enter input file name : '
1
Error: Unexpected element in format string at (1)
split.f:12.21:

read (11,*) a(i1)
1
Error: Syntax error in READ statement at (1)
split.f:15.72:

b(i2) = (a(i2) + a(i2+401) + a(i2+802) + a(i2+1203))/4.0
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
split.f:28.72:

c(j) = sum/4.0
1
Error: Unexpected STATEMENT FUNCTION statement at (1)
gmake[2]: *** [split.o] Error 1
gmake[2]: Target `all' not remade because of errors.
gmake[1]: *** [all-recursive] Error 1
gmake: *** [all] Error 2
*** Exited with status: 2 ***


Many thanks in advance for any help

Similar threads