LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 08-26-2005, 02:42 AM   #1
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Rep: Reputation: 15
in linux fortran: problem with the command "make"


hello all
i have the following problem when i try to run the make command for an optics program:

make optics
(cd /lib; make liboptics.a)
make[1]: Entering directory `/lib'
make[1]: *** No rule to make target `liboptics.a'. Stop.
make[1]: Leaving directory `/lib'
make: *** [/liboptics.a] Error 2


any ideas what the errors are about?
btw i have no fortran background, just java.
 
Old 08-26-2005, 03:24 AM   #2
Ike M.
Member
 
Registered: Aug 2005
Posts: 60

Rep: Reputation: 15
Are you sure

that you have all of the appropriate compilers installed on your system? That is not a message that I am accustomed to getting from any of mine. Usually if I run into a problem, it is more towards the end of a whole list of stuff, and it is usually a message telling me that I donīt have this or that required package or this or that in the directory that the compiler was expecting to find this or that in.
 
Old 08-27-2005, 04:02 AM   #3
terrence
LQ Newbie
 
Registered: Aug 2005
Location: carribean
Distribution: fedora core 4
Posts: 26

Original Poster
Rep: Reputation: 15
thanks for the reply

it turns out, i needed to switch csh shell and setup the enviornmental variables. However, when tried to run the 'make optics' command once again, the following errors resulted:

make optics
f77 -static -fpe -cpp -C -I. -I/root/Desktop/optics -c optics.f
f77: unrecognized option `-cpp'
f771: unrecognized option `-fpe'
make: *** [optics.o] Error 1


this is a project i've been working on for months now, i'm very new to linux, so i've been inching by just to try to setup and get the program running. the program and its info can be found at
http://pibeta.phys.virginia.edu/public_html/optics/
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
Linux "make" command questions. schapman43 Linux - Hardware 12 09-02-2005 11:26 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 08:22 AM
How to install "make" command from rpm on cd 2 - red hat linux 7.0 ZARGON Linux - Newbie 2 08-31-2004 10:53 AM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 12:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration