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...
there libgcc_so problem eliminated linking so.1 there in system...however couldn't locate these ctri.o files...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
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
Post a Comment