Skip to main content

Thread: ctr1.o, ctri.o needed to compile FORTRAN 77 code with g77 compiler


hello,

using ubuntu 12.04... needed compile fortran 77 code , installed g77 8.04's repos...when try compile gives me following...
code:
/usr/bin/ld: cannot find crt1.o: no such file or directory  /usr/bin/ld: cannot find crti.o: no such file or directory  collect2: ld returned 1 exit status
there libgcc_so problem eliminated linking so.1 there in system...however couldn't locate these ctri.o files...

fyi...i've 32-bit os , have libc6-dev installed

appreciated...

some searching on internet , trying many options found following link

http://askubuntu.com/questions/69119...ating-to-11-10

reinstalled binutils, build-essential, libc6-dev packages , found ctri.o etc. in folder /usr/lib/i386-* linking /usr/lib/. worked me...i'm able compile code...

p.s. can't locate .o files again...

can shed light on what's happening?


Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk [SOLVED] ctr1.o, ctri.o needed to compile FORTRAN 77 code with g77 compiler


Ubuntu

Comments

Popular posts from this blog

Thread: gpg: Conflicting Commands

Adobe Acrobat Pro , Terminal Server Use

when i try using AE CC 3d camera tracker after the first step it says "Analysis solve failed." help?