Share your knowledge at the LQ Wiki.
Go Back > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.


  Search this Thread
Old 08-15-2008, 08:23 PM   #1
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?

Old 08-22-2008, 12:57 PM   #2
Senior Member
Registered: Jan 2008
Distribution: Arch/Slackware/Knoppix
Posts: 1,789
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


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

All times are GMT -5. The time now is 02:01 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration