← Back to team overview

dolfin team mailing list archive

Re: Compilation failed: --enable-debug --enable-petsc --with-petsc-dir=/home/dolfin/local/lib/petsc

 

Should be fixed now.

/Anders


On Wed, Sep 20, 2006 at 06:21:28PM +0200, DOLFIN wrote:
> This is an automated message from the FEniCS compile bot.
> Compilation failed with configure options --enable-debug --enable-petsc --with-petsc-dir=/home/dolfin/local/lib/petsc.
> Revision number and compilation log follow below.
> 
> changeset:   2247:befff741fe86
> tag:         tip
> user:        "Johan Jansson <johanjan@xxxxxxxxxxxxxxxx>"
> date:        Tue Sep 19 21:06:47 2006 +0200
> summary:     PyDOLFIN:
> 
> 
> [snip]
> Making all in functional
> make[3]: Entering directory `/home/dolfin/tmp/cron/compilebot/dolfin/src/demo/pde/functional'
> `dolfin-config --compiler` `dolfin-config --cflags` -c main.cpp
> main.cpp:18:24: error: EnergyNorm.h: No such file or directory
> main.cpp: In function 'int main()':
> main.cpp:35: error: 'EnergyNorm' has not been declared
> main.cpp:35: error: no matching function for call to 'dolfin::Functional::Functional(main()::MyFunction&)'
> /home/dolfin/tmp/cron/compilebot/dolfin/local/include/dolfin/Functional.h:26: note: candidates are: dolfin::Functional::Functional(dolfin::uint)
> /home/dolfin/tmp/cron/compilebot/dolfin/local/include/dolfin/Functional.h:22: note:                 dolfin::Functional::Functional(const dolfin::Functional&)
> main.cpp:35: error: cannot declare variable 'M' to be of abstract type 'dolfin::Functional'
> /home/dolfin/tmp/cron/compilebot/dolfin/local/include/dolfin/Functional.h:22: note:   because the following virtual functions are pure within 'dolfin::Functional':
> /home/dolfin/tmp/cron/compilebot/dolfin/local/include/dolfin/Functional.h:32: note:  virtual void dolfin::Functional::eval(dolfin::real*, const dolfin::AffineMap&) const
> /home/dolfin/tmp/cron/compilebot/dolfin/local/include/dolfin/Functional.h:35: note:  virtual void dolfin::Functional::eval(dolfin::real*, const dolfin::AffineMap&, dolfin::uint) const
> make[3]: *** [main.o] Error 1
> make[3]: Leaving directory `/home/dolfin/tmp/cron/compilebot/dolfin/src/demo/pde/functional'
> make[2]: *** [all-recursive] Error 1
> make[2]: Leaving directory `/home/dolfin/tmp/cron/compilebot/dolfin/src/demo/pde'
> make[1]: *** [all-recursive] Error 1
> make[1]: Leaving directory `/home/dolfin/tmp/cron/compilebot/dolfin/src/demo'
> make: *** [demo] Error 2
> _______________________________________________
> DOLFIN-dev mailing list
> DOLFIN-dev@xxxxxxxxxx
> http://www.fenics.org/mailman/listinfo/dolfin-dev


References