Share your knowledge at the LQ Wiki.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
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.


  Search this Thread
Old 08-26-2005, 03:42 AM   #1
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, 04:24 AM   #2
Ike M.
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, 05:02 AM   #3
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


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 03:33 PM
Linux "make" command questions. schapman43 Linux - Hardware 12 09-03-2005 12:26 AM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
Ndiswrapper install failure - LBA-Linux "make" command fails petteril Linux - Wireless Networking 1 04-23-2005 09:22 AM
How to install "make" command from rpm on cd 2 - red hat linux 7.0 ZARGON Linux - Newbie 2 08-31-2004 11:53 AM > Forums > Non-*NIX Forums > Programming

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

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