make error

34 views
Skip to first unread message

Peng Ding

unread,
Dec 2, 2016, 10:09:31 PM12/2/16
to deal.II User Group
Dear friends:
     I met the following error after make, 

  /home/ztdep/Downloads/dealii-8.4.1/source/fe/mapping_q_eulerian.cc:100:79: warning: ‘dealii::MappingQEulerian<dim, VectorType, spacedim>::MappingQEulerian(unsigned int, const EulerVectorType&, const dealii::DoFHandler<dim, spacedim>&) [with int dim = 3; VectorType = dealii::TrilinosWrappers::MPI::BlockVector; int spacedim = 3]’ is deprecated (declared at /home/ztdep/Downloads/dealii-8.4.1/source/fe/mapping_q_eulerian.cc:51) [-Wdeprecated-declarations]
[100%] Built target obj_fe.debug
Makefile:149: recipe for target 'all' failed
make: *** [all] Error 2

 Could you please give me some suggestions.
Regards

Wolfgang Bangerth

unread,
Dec 2, 2016, 10:29:21 PM12/2/16
to dea...@googlegroups.com
This is only a warning. There must have been an error higher up. Can you post
what that would have been?

Best
W.

--
------------------------------------------------------------------------
Wolfgang Bangerth email: bang...@colostate.edu
www: http://www.math.colostate.edu/~bangerth/

Peng Ding

unread,
Dec 3, 2016, 3:40:00 AM12/3/16
to deal.II User Group
thank you sir , the following is the error i met. the cmake log is also attached. It seems about" no rule to make target '/usr/lib64/libboost-serialization-mt.so", but this lib is indeed in the /usr /lib64 directory.

Scanning dependencies of target obj_multigrid.release
[ 93%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_base.cc.o
[ 93%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_level_global_transfer.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_q_bubbles.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_q_dg0.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_q_hierarchical.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_q_iso_q1.cc.o
[ 94%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_tools.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_rannacher_turek.cc.o
[ 94%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_transfer_block.cc.o
[ 94%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_raviart_thomas.cc.o
[ 94%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_transfer_component.cc.o
[ 95%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_raviart_thomas_nodal.cc.o
[ 96%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_transfer_matrix_free.cc.o
[ 96%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_system.cc.o
[ 96%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_tools.cc.o
[ 96%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_tools_interpolate.cc.o
[ 96%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/mg_transfer_prebuilt.cc.o
[ 96%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_trace.cc.o
[ 96%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_values.cc.o
[ 96%] Building CXX object source/multigrid/CMakeFiles/obj_multigrid.release.dir/multigrid.cc.o
[ 96%] Built target obj_multigrid.release
[ 97%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/fe_values_inst2.cc.o
Scanning dependencies of target obj_algorithms.release
[ 98%] Building CXX object source/algorithms/CMakeFiles/obj_algorithms.release.dir/operator.cc.o
[ 98%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_c1.cc.o
[ 98%] Building CXX object source/algorithms/CMakeFiles/obj_algorithms.release.dir/timestep_control.cc.o
[ 98%] Built target obj_algorithms.release
[ 98%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_cartesian.cc.o
Scanning dependencies of target deal_II.g
[ 98%] Building CXX object source/CMakeFiles/deal_II.g.dir/dummy.cc.o
make[2]: *** No rule to make target '/usr/lib64/libboost_serialization-mt.so', needed by 'lib/libdeal_II.g.so.8.4.1'.  Stop.
make[2]: *** Waiting for unfinished jobs....
CMakeFiles/Makefile2:656: recipe for target 'source/CMakeFiles/deal_II.g.dir/all' failed
make[1]: *** [source/CMakeFiles/deal_II.g.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping.cc.o
[ 98%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_fe_field.cc.o
[ 98%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_q_generic.cc.o
[100%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_q1.cc.o
[100%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_q1_eulerian.cc.o
[100%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_q.cc.o
[100%] Building CXX object source/fe/CMakeFiles/obj_fe.release.dir/mapping_q_eulerian.cc.o
[100%] Built target obj_fe.release
Makefile:127: recipe for target 'all' failed

make: *** [all] Error 2
ztdep@linux-4ame:~/Downloads/dealii-8.4.1/build> ls /usr/lib64/libboost_serialization-mt.so
libboost_serialization-mt.so
ztdep@linux-4ame:~/Downloads/dealii-8.4.1/build> ls /usr/lib64/libboost_serialization-mt.so
/usr/lib64/libboost_serialization-mt.so
ztdep@linux-4ame:~/Downloads/dealii-8.4.1/build>


###
#
#  deal.II configuration:
#        CMAKE_BUILD_TYPE:       DebugRelease
#        BUILD_SHARED_LIBS:      ON
#        CMAKE_INSTALL_PREFIX:   /usr/local
#        CMAKE_SOURCE_DIR:       /home/ztdep/Downloads/dealii-8.4.1
#                                (version 8.4.1)
#        CMAKE_BINARY_DIR:       /home/ztdep/Downloads/dealii-8.4.1/build
#        CMAKE_CXX_COMPILER:     GNU 4.8.5 on platform Linux x86_64
#                                /usr/bin/c++
#
#  Configured Features (DEAL_II_ALLOW_BUNDLED = ON, DEAL_II_ALLOW_AUTODETECTION = ON):
#      ( DEAL_II_WITH_64BIT_INDICES = OFF )
#        DEAL_II_WITH_ARPACK set up with external dependencies
#        DEAL_II_WITH_BOOST set up with external dependencies
#        DEAL_II_WITH_BZIP2 set up with external dependencies
#        DEAL_II_WITH_CXX11 = ON
#      ( DEAL_II_WITH_CXX14 = OFF )
#      ( DEAL_II_WITH_HDF5 = OFF )
#        DEAL_II_WITH_LAPACK set up with external dependencies
#        DEAL_II_WITH_METIS set up with external dependencies
#        DEAL_II_WITH_MPI set up with external dependencies
#        DEAL_II_WITH_MUPARSER set up with bundled packages
#      ( DEAL_II_WITH_NETCDF = OFF )
#      ( DEAL_II_WITH_OPENCASCADE = OFF )
#      ( DEAL_II_WITH_P4EST = OFF )
#      ( DEAL_II_WITH_PETSC = OFF )
#      ( DEAL_II_WITH_SLEPC = OFF )
#      ( DEAL_II_WITH_THREADS = OFF )
#      ( DEAL_II_WITH_TRILINOS = OFF )
#      ( DEAL_II_WITH_UMFPACK = OFF )
#        DEAL_II_WITH_ZLIB set up with external dependencies
#
#  Component configuration:
#      ( DEAL_II_COMPONENT_DOCUMENTATION = OFF )
#        DEAL_II_COMPONENT_EXAMPLES
#      ( DEAL_II_COMPONENT_PACKAGE = OFF )
#      ( DEAL_II_COMPONENT_PARAMETER_GUI = OFF )
#
#  Detailed information (compiler flags, feature configuration) can be found in detailed.log
#
#  Run  $ make info  to print a help message with a list of top level targets
#
###


 



 
Date: 2016-12-03 11:29
Subject: Re: [deal.II] make error
On 12/02/2016 08:09 PM, Peng Ding wrote:
This is only a warning. There must have been an error higher up. Can you post
what that would have been?
 
Best
  W.
 
--
------------------------------------------------------------------------
Wolfgang Bangerth          email:                 bang...@colostate.edu
                            www: http://www.math.colostate.edu/~bangerth/
 
--
The deal.II project is located at http://www.dealii.org/
For mailing list/forum options, see https://groups.google.com/d/forum/dealii?hl=en
---
You received this message because you are subscribed to a topic in the Google Groups "deal.II User Group" group.
To unsubscribe from this group and all its topics, send an email to dealii+un...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Wolfgang Bangerth

unread,
Dec 3, 2016, 7:21:52 AM12/3/16
to dea...@googlegroups.com
On 12/03/2016 01:40 AM, Peng Ding wrote:
> thank you sir , the following is the error i met. the cmake log is also
> attached. It seems about" no rule to make target
> '/usr/lib64/libboost-serialization-mt.so", but this lib is indeed in the /usr
> /lib64 directory.
>
> [...]
>
> [ 98%] Building CXX object source/CMakeFiles/deal_II.g.dir/dummy.cc.o
> make[2]: *** No rule to make target '/usr/lib64/libboost_serialization-mt.so',

Is the library readable? Is it a symbolic link that points to a library that
does not exist?

Best
Wolfgang

Matthias Maier

unread,
Dec 3, 2016, 12:11:34 PM12/3/16
to dea...@googlegroups.com
Peng,

> On 12/03/2016 01:40 AM, Peng Ding wrote:
>> thank you sir , the following is the error i met. the cmake log is also
>> attached. It seems about" no rule to make target
>> '/usr/lib64/libboost-serialization-mt.so", but this lib is indeed in the /usr
>> /lib64 directory.
>>
>> [...]
>>
>> [ 98%] Building CXX object source/CMakeFiles/deal_II.g.dir/dummy.cc.o
>> make[2]: *** No rule to make target '/usr/lib64/libboost_serialization-mt.so',
>
> Is the library readable? Is it a symbolic link that points to a
> library that does not exist?

The boost library very likely changed after installation - might have
gotten removed. Can you please remove the "build" directory, start fresh
by configuring with cmake?
Reply all
Reply to author
Forward
0 new messages