[ubuntu-in] problem regarding lgfortran

SUDHIR BHARDWAJ sudhir.hep at gmail.com
Sat Oct 11 04:05:40 BST 2008


Hi
I have to compile a software HIJING which is written in fortran.
when i run make file I found the following problem regarding lgfortran.
Any help to solved this problem is welcomed.

I am attaching the make file.
_____________________________________________________________________

sudhir at sudhir-laptop:~/Desktop/HIJING$ make -f hijing.mk
f77 -c -g -w -O -fno-second-underscore -fno-automatic    hijjet.f
f77 -c -g -w -O -fno-second-underscore -fno-automatic    hipyset1.35.f
f77 -c -g -w -O -fno-second-underscore -fno-automatic    hijev.f
f77 -c -g -w -O -fno-second-underscore -fno-automatic    heptup.f
f77 -c -g -w -O -fno-second-underscore -fno-automatic    hijing1.35.f
f77 -c -g -w -O -fno-second-underscore -fno-automatic    makhvy.f
f77 -g -w -O -fno-second-underscore -fno-automatic    -o hijjet hijjet.o
hipyset1.35.o hijev.o heptup.o hijing1.35.o makhvy.o `cernlib graflib
packlib mathlib kernlib`
/usr/bin/ld: cannot find -lgfortran
collect2: ld returned 1 exit status
make: *** [hijjet] Error 1

___________________________________________________________

-- 
Sudhir Bhardwaj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: https://lists.ubuntu.com/archives/ubuntu-in/attachments/20081011/c29e58ae/attachment.htm 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: hijing.mk
Type: application/octet-stream
Size: 2232 bytes
Desc: not available
Url : https://lists.ubuntu.com/archives/ubuntu-in/attachments/20081011/c29e58ae/attachment.obj 


More information about the ubuntu-in mailing list