FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian GCC

 
 
LinkBack Thread Tools
 
Old 05-29-2010, 01:34 PM
kiger
 
Default How to install gfotran under debian linux

Hello all,
I am a green hand for Linux, but I want to complier some *.f90 codes. These
days, I am trying to install the gfortran on my Debian linux platform using
the command "sudo apt-get install gfortran". And then It seemed ok and I
also checked with the command "gfortran --version" in the PATH "/usr/bin/".
The response was as following:
GNU Fortran (Debian 4.3.2-1.1) 4.3.2
Copyright (C) 2008 Free Software Foundation, Inc.

GNU Fortran comes with NO WARRANTY, to the extent permitted by law.
You may redistribute copies of GNU Fortran
under the terms of the GNU General Public License.
For more information about these matters, see the file named COPYING

And then I began to run the *.f90 codes with gfortran but errors appeared as
following:

caokai@debian:~/Pecube/source$ gfortran Pecube.f90 -o Pecube
/tmp/ccgFpUtB.o: In function `MAIN__':
Pecube.f90.text+0x6a5): undefined reference to `create_pecube_in_'
Pecube.f90.text+0x37ca): undefined reference to `isostatic_rebound_'
Pecube.f90.text+0x3a11): undefined reference to `find_dt_'
Pecube.f90.text+0x3c50): undefined reference to `find_velo_'
Pecube.f90.text+0x3fab): undefined reference to `move_fault_'
Pecube.f90.text+0x6138): undefined reference to `define_proc_'
Pecube.f90.text+0x691e): undefined reference to `find_neighbours_'
Pecube.f90.text+0x778f): undefined reference to `find_dt_'
Pecube.f90.text+0x7eb4): undefined reference to `isostatic_rebound_'
Pecube.f90.text+0x8352): undefined reference to `make_matrix_'
Pecube.f90.text+0x86f6): undefined reference to `solve_iterative_'
Pecube.f90.text+0x8a75): undefined reference to `move_fault_'
Pecube.f90.text+0x8b6e): undefined reference to `interpolate_'
Pecube.f90.text+0x8d2f): undefined reference to `find_velo_'
Pecube.f90.text+0x91fa): undefined reference to `find_element_'
Pecube.f90.text+0xaf2c): undefined reference to `calculate_ages_'
Pecube.f90.text+0xb4dc): undefined reference to `find_velo_'
Pecube.f90.text+0xbcd7): undefined reference to `find_velo_'
collect2: ld returned 1 exit status

I don't know what's the problem.
I hope some can help me. Thanks a lot!
Best regards,
Kai Cao
--
View this message in context: http://old.nabble.com/How-to-install-gfotran-under-debian-linux-tp28716004p28716004.html
Sent from the debian-gcc mailing list archive at Nabble.com.


--
To UNSUBSCRIBE, email to debian-gcc-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 28716004.post@talk.nabble.com">http://lists.debian.org/28716004.post@talk.nabble.com
 

Thread Tools




All times are GMT. The time now is 05:17 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org