The LAPACK forum has moved to https://github.com/Reference-LAPACK/lapack/discussions.

cann't compile xintface

Open discussion regarding features, bugs, issues, vendors, etc.

cann't compile xintface

Postby flamingo » Thu Jul 17, 2008 4:19 pm

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
flamingo
 
Posts: 1
Joined: Thu Jul 17, 2008 4:11 pm

Re: cann't compile xintface

Postby Julien Langou » Thu Jul 17, 2008 4:46 pm

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.
Julien Langou
 
Posts: 835
Joined: Thu Dec 09, 2004 12:32 pm
Location: Denver, CO, USA


Return to User Discussion

Who is online

Users browsing this forum: No registered users and 4 guests