We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Hi,
Getting the error below while building 3.0.5 on RHEL 7. I'm using boost 1.69, and gcc 4.8.5. Can you please take a look? Thanks!
Devrim
Scanning dependencies of target transitiveClosure [ 67%] Building CXX object src/pickDeliver/CMakeFiles/pickDeliver.dir/pickDeliver_driver.cpp.o cd /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build/src/pickDeliver && /usr/lib64/ccache/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBoost_VERSION_MACRO=106900 -DPGSQL_VERSION=134 -DPROJECT_VERSION="3.0.5" -I/var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/include -isystem /usr/pgsql-13/include/server -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -frounding-math -DNDEBUG -std=c++11 -o CMakeFiles/pickDeliver.dir/pickDeliver_driver.cpp.o -c /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliver_driver.cpp make[3]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' /usr/bin/make -f src/transitiveClosure/CMakeFiles/transitiveClosure.dir/build.make src/transitiveClosure/CMakeFiles/transitiveClosure.dir/build make[3]: Entering directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' [ 68%] Building C object src/transitiveClosure/CMakeFiles/transitiveClosure.dir/transitiveClosure.c.o cd /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build/src/transitiveClosure && /usr/lib64/ccache/cc -DBOOST_ALLOW_DEPRECATED_HEADERS -DBoost_VERSION_MACRO=106900 -DPGSQL_VERSION=134 -DPROJECT_VERSION="3.0.5" -I/var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/include -isystem /usr/pgsql-13/include/server -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -frounding-math -DNDEBUG -o CMakeFiles/transitiveClosure.dir/transitiveClosure.c.o -c /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/transitiveClosure/transitiveClosure.c [ 68%] Building CXX object src/transitiveClosure/CMakeFiles/transitiveClosure.dir/transitiveClosure_driver.cpp.o cd /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build/src/transitiveClosure && /usr/lib64/ccache/c++ -DBOOST_ALLOW_DEPRECATED_HEADERS -DBoost_VERSION_MACRO=106900 -DPGSQL_VERSION=134 -DPROJECT_VERSION="3.0.5" -I/var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/include -isystem /usr/pgsql-13/include/server -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -frounding-math -DNDEBUG -std=c++11 -o CMakeFiles/transitiveClosure.dir/transitiveClosure_driver.cpp.o -c /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/transitiveClosure/transitiveClosure_driver.cpp [ 69%] Building C object src/pickDeliver/CMakeFiles/pickDeliver.dir/pickDeliverEuclidean.c.o cd /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build/src/pickDeliver && /usr/lib64/ccache/cc -DBOOST_ALLOW_DEPRECATED_HEADERS -DBoost_VERSION_MACRO=106900 -DPGSQL_VERSION=134 -DPROJECT_VERSION="3.0.5" -I/var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/include -isystem /usr/pgsql-13/include/server -isystem /usr/include/boost169 -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -fPIC -frounding-math -DNDEBUG -o CMakeFiles/pickDeliver.dir/pickDeliverEuclidean.c.o -c /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c: In function 'process': /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c:97:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < total_pd_orders; i++) { ^ /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c:97:5: note: use option -std=c99 or -std=gnu99 to compile your code /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c:122:17: error: redefinition of 'i' for (size_t i = 0; i < total_vehicles; i++) { ^ /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c:97:17: note: previous definition of 'i' was here for (size_t i = 0; i < total_pd_orders; i++) { ^ /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/pickDeliver/pickDeliverEuclidean.c:122:5: error: 'for' loop initial declarations are only allowed in C99 mode for (size_t i = 0; i < total_vehicles; i++) { ^ make[3]: *** [src/pickDeliver/CMakeFiles/pickDeliver.dir/pickDeliverEuclidean.c.o] Error 1 make[3]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' make[2]: *** [src/pickDeliver/CMakeFiles/pickDeliver.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' [ 69%] Built target topologicalSort /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/max_flow/pgr_minCostMaxFlow.cpp: In member function 'int64_t pgrouting::graph::PgrCostFlowGraph::GetMaxFlow() const': /var/lib/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/src/max_flow/pgr_minCostMaxFlow.cpp:132:58: warning: '((void)(& e)+32).boost::detail::out_edge_iter<__gnu_cxx::__normal_iterator<boost::detail::stored_edge_property<long unsigned int, boost::property<boost::edge_capacity_t, double, boost::property<boost::edge_residual_capacity_t, double, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, long unsigned int>, boost::property<boost::edge_weight_t, double> > > > >*, std::vector<boost::detail::stored_edge_property<long unsigned int, boost::property<boost::edge_capacity_t, double, boost::property<boost::edge_residual_capacity_t, double, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, long unsigned int>, boost::property<boost::edge_weight_t, double> > > > >, std::allocator<boost::detail::stored_edge_property<long unsigned int, boost::property<boost::edge_capacity_t, double, boost::property<boost::edge_residual_capacity_t, double, boost::property<boost::edge_reverse_t, boost::detail::edge_desc_impl<boost::directed_tag, long unsigned int>, boost::property<boost::edge_weight_t, double> > > > > > > >, long unsigned int, boost::detail::edge_desc_impl<boost::directed_tag, long unsigned int>, long int>::m_src' may be used uninitialized in this function [-Wmaybe-uninitialized] if (((capacity[*e] - residual_capacity[*e]) > 0) && ^ make[3]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' [ 69%] Built target max_flow make[3]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' [ 69%] Built target transitiveClosure make[2]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' make[1]: *** [all] Error 2 make[1]: Leaving directory /home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' error: Bad exit status from /var/tmp/rpm-tmp.VOHm0p (%install)
/home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' /usr/bin/make -f src/transitiveClosure/CMakeFiles/transitiveClosure.dir/build.make src/transitiveClosure/CMakeFiles/transitiveClosure.dir/build make[3]: Entering directory
/home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' make[2]: *** [src/pickDeliver/CMakeFiles/pickDeliver.dir/all] Error 2 make[2]: *** Waiting for unfinished jobs.... make[3]: Leaving directory
/home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' [ 69%] Built target max_flow make[3]: Leaving directory
/home/pgsql/git/pgrpms/rpm/redhat/master/non-common/pgrouting30/EL-7/pgrouting-3.0.5/build' make[1]: *** [all] Error 2 make[1]: Leaving directory
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Hi,
Getting the error below while building 3.0.5 on RHEL 7. I'm using boost 1.69, and gcc 4.8.5. Can you please take a look? Thanks!
Devrim
The text was updated successfully, but these errors were encountered: