Page 1 of 1

cann't compile xintface

PostPosted: Thu Jul 17, 2008 4:19 pm
by flamingo
Hello,
Could anyone help me on this?
I try to compile xintface to get information about variable INTFACE in Bmake.inc file, but when I type in 'make xintface', I got:
g77 -o /home/flamingo/BLACS/INSTALL/EXE/xintface Fintface.o Cintface.o
Fintface.o: In function `MAIN__':
Fintface.f:(.text+0xf): undefined reference to `_gfortran_set_options'
Fintface.f:(.text+0x28): undefined reference to `_gfortran_stop_numeric'
collect2: ld returned 1 exit status
make: *** [/home/flamingo/BLACS/INSTALL/EXE/xintface] Error 1

So I cannot compile xintface. Is there something missing in library?
Thanks a lot in advance.

Sincerely,
Gang

Re: cann't compile xintface

PostPosted: Thu Jul 17, 2008 4:46 pm
by Julien Langou
it looks like your .o files have been compiled with gfortran, and you are trying to link with g77,
so then the linker (g77) is complaining that it does not find the gfortran library. In the file
Bmake.inc, put the same compiler for F77, for F77LOADER and for CCLOADER.
Julien.