success "../configure", but fail to "make"in build folder

Bug #1704414 reported by miaolei he
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
coinor-ipopt (Ubuntu)
Undecided
Unassigned

Bug Description

alex@alex-Precision-5510:~/Ipopt-3.11.9/build$ make
Making all in ThirdParty/HSLold
make[1]: Entering directory `/home/alex/Ipopt-3.11.9/build/ThirdParty/HSLold'
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make all-am
make[2]: Entering directory `/home/alex/Ipopt-3.11.9/build/ThirdParty/HSLold'
cd . && /bin/bash ./config.status config.h
config.status: creating config.h
config.status: config.h is unchanged
make[2]: Leaving directory `/home/alex/Ipopt-3.11.9/build/ThirdParty/HSLold'
make[1]: Leaving directory `/home/alex/Ipopt-3.11.9/build/ThirdParty/HSLold'
Making all in Ipopt
make[1]: Entering directory `/home/alex/Ipopt-3.11.9/build/Ipopt'
Making all in src/Common
make[2]: Entering directory `/home/alex/Ipopt-3.11.9/build/Ipopt/src/Common'
make all-am
make[3]: Entering directory `/home/alex/Ipopt-3.11.9/build/Ipopt/src/Common'
if /bin/bash ../../../libtool --tag=CXX --mode=compile g++ -DHAVE_CONFIG_H -I. -I`echo ../../../../Ipopt/src/Common` -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DIPOPT_BUILD -MT IpUtils.lo -MD -MP -MF ".deps/IpUtils.Tpo" -c -o IpUtils.lo ../../../../Ipopt/src/Common/IpUtils.cpp; \
 then mv -f ".deps/IpUtils.Tpo" ".deps/IpUtils.Plo"; else rm -f ".deps/IpUtils.Tpo"; exit 1; fi
 g++ -DHAVE_CONFIG_H -I. -I../../../../Ipopt/src/Common -O3 -pipe -DNDEBUG -pedantic-errors -Wparentheses -Wreturn-type -Wcast-qual -Wall -Wpointer-arith -Wwrite-strings -Wconversion -Wno-unknown-pragmas -Wno-long-long -DIPOPT_BUILD -MT IpUtils.lo -MD -MP -MF .deps/IpUtils.Tpo -c ../../../../Ipopt/src/Common/IpUtils.cpp -fPIC -DPIC -o .libs/IpUtils.o
../../../../Ipopt/src/Common/IpUtils.cpp:182:6: error: #error "don't have function for random number generator"
 # error "don't have function for random number generator"
      ^
../../../../Ipopt/src/Common/IpUtils.cpp:203:6: error: #error "don't have function for random number generator"
 # error "don't have function for random number generator"
      ^
../../../../Ipopt/src/Common/IpUtils.cpp: In function 'Ipopt::Number Ipopt::IpRandom01()':
../../../../Ipopt/src/Common/IpUtils.cpp:187:3: warning: no return statement in function returning non-void [-Wreturn-type]
   }
   ^
make[3]: *** [IpUtils.lo] Error 1
make[3]: Leaving directory `/home/alex/Ipopt-3.11.9/build/Ipopt/src/Common'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/home/alex/Ipopt-3.11.9/build/Ipopt/src/Common'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/alex/Ipopt-3.11.9/build/Ipopt'
make: *** [all-recursive] Error 1
××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××××
but i success configure the pakage as bellow.
**********************************************************************************************
...
config.status: creating ipopt-uninstalled.pc
config.status: creating doxydoc/doxygen.conf
config.status: creating contrib/RInterface/src/Makevars
config.status: creating src/Common/config.h
config.status: src/Common/config.h is unchanged
config.status: creating src/Common/config_ipopt.h
config.status: src/Common/config_ipopt.h is unchanged
config.status: creating examples/ScalableProblems/config.h
config.status: examples/ScalableProblems/config.h is unchanged
config.status: linking ../../Ipopt/examples/hs071_cpp/hs071_main.cpp to test/hs071_main.cpp
config.status: linking ../../Ipopt/examples/hs071_cpp/hs071_nlp.cpp to test/hs071_nlp.cpp
config.status: linking ../../Ipopt/examples/hs071_cpp/hs071_nlp.hpp to test/hs071_nlp.hpp
config.status: linking ../../Ipopt/examples/hs071_c/hs071_c.c to test/hs071_c.c
config.status: executing depfiles commands
configure: Creating VPATH links for data files
configure: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting
configure: Configuration of Ipopt successful
configure: In case of trouble, first consult the troubleshooting page at https://projects.coin-or.org/BuildTools/wiki/user-troubleshooting
configure: Main configuration of Ipopt successful
******************************************************************************************
 anyone knows how to fix it?? i follow http://wiki.icub.org/wiki/Installing_IPOPT

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers