Dear Omnet, I've download the version 4.5 of your software in my laptop which has Ubuntu 14.04 such as O.S. I've contacted you 'cause I've some trouble with the compilation of Your product. When I compile Omnet with the make command I've this following error: |make MODE=release make[1]: Entering directory `/home/p3/Omnet422/omnetpp-4.2.2' ***** Configuration: MODE=release, TOOLCHAIN_NAME=gcc, LIB_SUFFIX=.so **** ===== Checking environment ===== mkdir -p /home/p3/Omnet422/omnetpp-4.2.2/bin ===== Compiling utils ==== cd /home/p3/Omnet422/omnetpp-4.2.2/src/utils && make make[2]: Entering directory `/home/p3/Omnet422/omnetpp-4.2.2/src/utils' g++ abspath.cc -o /home/p3/Omnet422/omnetpp-4.2.2/out/gcc-release/src/utils/abspath abspath.cc: In function ‘std::string toAbsolutePath(const char*)’: abspath.cc:63:38: error: ‘getcwd’ was not declared in this scope return std::string(getcwd(wd,1024)) + "/" + pathname; //XXX results in double slash if wd is the root ^ make[2]: *** [/home/p3/Omnet422/omnetpp-4.2.2/out/gcc-release/src/utils/abspath] Error 1 make[2]: Leaving directory `/home/p3/Omnet422/omnetpp-4.2.2/src/utils' make[1]: *** [utils] Error 2 make[1]: Leaving directory `/home/p3/Omnet422/omnetpp-4.2.2' make: *** [allmodes] Error 2 I've searched on the Internet the possible solution and I found that the function getcwd in abspath.cc file is deprecated for security reason in the version 14.04 of Ubuntu. I've found this information at this link: http://linux.die.net/man/3/getcwd. How can I resolve the problem ? Thanks for your time. Regards.
Hi thee,
--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/nGOMVArBFe0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
Please check this line in the log that you provided "/home/p3/Omnet422/omnetpp-4.2.2"
and for getting the latest version plz see
http://www.omnetpp.org/omnetpp/cat_view/17-downloads/1-omnet-releases
HTH
Cheers
Mohsen
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to a topic in the Google Groups "omnetpp" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/nGOMVArBFe0/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+unsubscribe@googlegroups.com.