← Back to team overview

dolfin team mailing list archive

Re: 0.7.2 install on gutsy 64 AMD

 

On Sun, Mar 09, 2008 at 09:06:21AM -0400, osman wrote:
> Hi,
> I have compiled atlas/lapack numpy/scipy  using gfortran (have deleted
> g77/f77) and it seems to be ok. Passes tests using another python based
> fe system sfe. When I installed dolfin 0.7.2 I am getting this error
> during make demo:
> stargate:/home/osman/FENICS/dolfin-0.7.2-bash-> make demo
> make -C src/demo/
> make[1]: Entering directory `/home/osman/FENICS/dolfin-0.7.2/src/demo'
> Making all in fem/assembly/cpp
> make[2]: Entering directory
> `/home/osman/FENICS/dolfin-0.7.2/src/demo/fem/assembly/cpp'
> `pkg-config --variable=compiler dolfin` -o demo main.o `pkg-config
> --cflags dolfin` `pkg-config --libs dolfin`
> /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/libdolfin.so:
> undefined reference to `e_wsfe'
> /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/libdolfin.so:
> undefined reference to `s_stop'
> /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/libdolfin.so:
> undefined reference to `do_fio'
> /usr/lib/gcc/x86_64-linux-gnu/4.1.3/../../../../lib/libdolfin.so:
> undefined reference to `s_wsfe'
> collect2: ld returned 1 exit status
> make[2]: *** [demo] Error 1
> make[2]: Leaving directory
> `/home/osman/FENICS/dolfin-0.7.2/src/demo/fem/assembly/cpp'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/osman/FENICS/dolfin-0.7.2/src/demo'
> make: *** [demo] Error 2
> stargate:/home/osman/FENICS/dolfin-0.7.2-bash->
> 
> 
> I checked and libdolfin.a does not have any of those undefined functions
> but libdolfin.so does. I think those are related to fortran but does not
> seem to be in libgfortran. I think I am missing a lib to link but which
> one?
> 
> Thanks in advance,
> -osman

Try the latest DOLFIN from the hg repository. We have a new build
system (based on scons rather than autotools) since a few days back.
Any bug fixes/improvements will be done to the new system.

-- 
Anders


References