[Ifeffit] iffefit compile on BlueWhite64

Matt Newville newville at cars.uchicago.edu
Wed Aug 22 11:41:39 CDT 2007


Hi Chachi,


On 8/21/07, Chachi Rojas <crojasa at unmsm.edu.pe> wrote:
> Hello list
> I try to install ifeffit 1.2.9 on Linux Bluewhite64 12.0 (slackware 12.0 based)
> PGPLOt run perfectely,
> ./configure ifeffit ok
> but when compile, error message:
>
> ...
> /usr/local/src/ifeffit-1.2.9/src/lib/iff_cursor.f:68: undefined reference to
> `_gfortran_concat_string'
> /usr/X11R6/lib/libgfortranbegin.a(fmain.o): In function `main':
> (.text+0x5): undefined reference to `_gfortran_set_args'
> /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_i4_i4'
> /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_transfer_array'
> /usr/local/pgplot//libpgplot.so: undefined reference to `_gfortran_pow_r4_i4'
> collect2: ld returned 1 exit status
> make[3]: *** [ifftest1] Error 1
> make[3]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src/test'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/usr/local/src/ifeffit-1.2.9/src'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/usr/local/src/ifeffit-1.2.9'
> make: *** [all-recursive-am] Error 2
>
> My computer:
> Linux chy 2.6.21.5 #1 SMP Fri Jun 15 08:49:16 EEST 2007 x86_64 Intel(R) Core(TM)2
> CPU          6400  @ 2.13GHz GenuineIntel GNU/Linux
> Same idea about this error message,
> Thanks
> Ch


Right now, Ifeffit doesn't build correctly with gfortran.  I do have a
box with gfortran and not g77 on it, and will work on this for Ifeffit
1.2.10.  The build is broken, but I think it's fixable.   I'll work on
this and send a progress report within a few days.

But: you say that PGPLOT runs perfectly.  I believe you did not
install it with the PGPLOT_install script, as the one distributed with
Ifeffit 1.2.9 does not work with gfortran either (and libpgplot.so
does not get written).    For Ifeffit 1.2.10, using PGPLOT_install to
install PGPLOT will be a requirement.

So your choices are to build both PGPLOT and Ifeffit with g77 now, or
wait until I can get a build script that can use gfortran.

Sorry for the trouble,

--Matt



More information about the Ifeffit mailing list