dolfin team mailing list archive
-
dolfin team
-
Mailing list archive
-
Message #04197
GTSInterface.cpp compile error (64bit issue?)
There seems to be a problem compiling GTSInterface on a 64bit computer, see
the attached compile.log.
Is there a simple fix I can apply?
Ola
Making all in src
make[1]: Entering directory `/home/skavhaug/devel/dolfin/src'
Making all in kernel
make[2]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel'
Making all in common
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/common'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/common/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/common/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/common'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/common'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/common'
Making all in fem
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/fem'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/fem/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/fem/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/fem'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/fem'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/fem'
Making all in form
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/form'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/form/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/form/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/form'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/form'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/form'
Making all in function
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/function'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/function/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/function/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/function'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/function'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/function'
Making all in io
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/io'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/io/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/io/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/io'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/io'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/io'
Making all in log
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/log'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/log/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/log/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/log'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/log'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/log'
Making all in la
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/la'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/la/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/la/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/la'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/la'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/la'
Making all in math
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/math'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/math/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/math/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/math'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/math'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/math'
Making all in main
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/main'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/main/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/main/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/main'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/main'
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/main'
Making all in mesh
make[3]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/mesh'
Making all in dolfin
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/mesh/dolfin'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/mesh/dolfin'
make[4]: Entering directory `/home/skavhaug/devel/dolfin/src/kernel/mesh'
if /bin/bash ../../../libtool --mode=compile --tag=CXX g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" -DPACKAGE_VERSION=\"0.6.4\" -DPACKAGE_STRING=\"DOLFIN\ 0.6.4\" -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -I. -I. -I../../../src/kernel/common -I../../../src/kernel/fem -I../../../src/kernel/form -I../../../src/kernel/function -I../../../src/kernel/io -I../../../src/kernel/la -I../../../src/kernel/main -I../../../src/kernel/math -I../../../src/kernel/mesh -I../../../src/kernel/mf -I../../../src/kernel/nls -I../../../src/kernel/ode -I../../../src/kernel/pde -I../../../src/kernel/quadrature -I../../../src/kernel/parameter -I../../../src/kernel/log -I/usr/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GTS_H=1 -I/usr/include/python2.4 -I/usr/lib/python2.4/site-packages/numpy/core/include -g -O2 -DNDEBUG -pedantic -Wno-long-long -std=c++98 -fPIC -MT GTSInterface.lo -MD -MP -MF ".deps/GTSInterface.Tpo" -c -o GTSInterface.lo GTSInterface.cpp; \
then mv -f ".deps/GTSInterface.Tpo" ".deps/GTSInterface.Plo"; else rm -f ".deps/GTSInterface.Tpo"; exit 1; fi
g++ -DPACKAGE_NAME=\"DOLFIN\" -DPACKAGE_TARNAME=\"dolfin\" -DPACKAGE_VERSION=\"0.6.4\" "-DPACKAGE_STRING=\"DOLFIN 0.6.4\"" -DPACKAGE_BUGREPORT=\"http://www.fenics.org/bugzilla/\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DHAVE_DLFCN_H=1 -DHAVE_BOOST= -I. -I. -I../../../src/kernel/common -I../../../src/kernel/fem -I../../../src/kernel/form -I../../../src/kernel/function -I../../../src/kernel/io -I../../../src/kernel/la -I../../../src/kernel/main -I../../../src/kernel/math -I../../../src/kernel/mesh -I../../../src/kernel/mf -I../../../src/kernel/nls -I../../../src/kernel/ode -I../../../src/kernel/pde -I../../../src/kernel/quadrature -I../../../src/kernel/parameter -I../../../src/kernel/log -I/usr/include -I/usr/include/libxml2 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -DHAVE_GTS_H=1 -I/usr/include/python2.4 -I/usr/lib/python2.4/site-packages/numpy/core/include -g -O2 -DNDEBUG -pedantic -Wno-long-long -std=c++98 -fPIC -MT GTSInterface.lo -MD -MP -MF .deps/GTSInterface.Tpo -c GTSInterface.cpp -fPIC -DPIC -o .libs/GTSInterface.o
GTSInterface.cpp: In static member function 'static void dolfin::GTSInterface::overlap(dolfin::Cell&, GNode*, dolfin::Mesh&, dolfin::Array<unsigned int>&)':
GTSInterface.cpp:105: error: cast from 'void*' to 'dolfin::uint' loses precision
make[4]: *** [GTSInterface.lo] Error 1
make[4]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/mesh'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel/mesh'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/skavhaug/devel/dolfin/src/kernel'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/skavhaug/devel/dolfin/src'
make: *** [all-recursive] Error 1
Follow ups