LinuxQuestions.org
Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 08-15-2008, 07:23 PM   #1
The_Watcher
Member
 
Registered: Mar 2007
Location: London
Posts: 40

Rep: Reputation: 15
Cool gfortran compiling problem, RHEL 4


Hi, all of a sudden I cannot compile using gfortran on my 64 bit RHEL 4.0 machine ?!

I have been compiling in the following way for as logn as I can remember:

gfortran -O3 -o d2dump d2dump.f90

but now I get the following message:

ld: crtbegin.o: No such file: No such file or directory

d2dump.f90 is a very simple fortran code of a few lines, in fact written in f77. It compiles without problem using g77 instead of gfortran (I have to change the filename to d2dump.f first.)and then I can run ./d2dump.

This problem occured out of the blue yesterday. My suspcion is that some new options must have been installed, because this problem appear soon after I had run up2date. (But it could be something else.)

Can any one advise?

Cheers
 
Old 08-22-2008, 11:57 AM   #2
mostlyharmless
Senior Member
 
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,786
Blog Entries: 14

Rep: Reputation: 279Reputation: 279Reputation: 279
Really I have no idea, but here's a dumb question: Is there, in fact, a crtbegin.o file anywhere in the filesystem? A crtbegin.* something else? Maybe your update erased old compiled object files ( a not uncommon event ) and you have to remake them. Just a suggestion
 
  


Reply


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
help gfortran mperez Programming 2 12-16-2007 12:50 PM
Easy way to get gfortran? sgware Linux - Newbie 2 10-22-2007 01:40 AM
Compiling recent mysql version in RHEL tanveer Linux - Server 2 09-04-2007 08:10 AM
undefined gfortran references when compiling with g77 StudMuffin Linux - Software 4 02-17-2007 06:06 AM
gfortran makefile c.m.klaij Programming 0 01-23-2006 05:04 AM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 01:36 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration