Press Enter to Search

Basic Guide to OMNeT++ : Installation, Configuration and Building

September 9th, 2011

3 Comments

Post Comment
  • Thanks for the tutorial. Ekendra, I am facing a problem to initialize the tictoc example. Would you please see my problem and please mention the solution if you have some time to help me. The problem is explained via the following link as I could not attach any snapshot here and so i posted it through a page. The link of the problem is:

    http://omnetproblems.blogspot.com/2011/10/plz-help-to-solve-problem.html

  • Tutorial was good, however my installation did not work as above. When I type ./configure I get the following:

    $ ./configure
    checking build system type… i686-pc-mingw32
    checking host system type… i686-pc-mingw32
    configure: ———————————————–
    configure: reading configure.user for your custom settings
    configure: ———————————————–
    checking for icc… no
    checking for gcc… gcc
    checking for C compiler default output file name… a.exe
    checking whether the C compiler works… yes
    checking whether we are cross compiling… no
    checking for suffix of executables… .exe
    checking for suffix of object files… o
    checking whether we are using the GNU C compiler… yes
    checking whether gcc accepts -g… yes
    checking for gcc option to accept ISO C89… none needed
    checking for icpc… no
    checking for g++… g++
    checking whether we are using the GNU C++ compiler… yes
    checking whether g++ accepts -g… yes
    checking for g++… g++
    checking for ranlib… ranlib
    checking whether g++ supports -fno-stack-protector… yes
    checking whether g++ supports -Wl,–no-as-needed… yes
    checking whether g++ supports -Wl,–as-needed… yes
    checking for swapcontext… no
    checking if shared libs need -fPIC… no
    checking for dlopen with CFLAGS=”" LIBS=”"… no
    checking if –export-dynamic linker option is supported/needed… test
    failed
    checking for flags needed to link with static libs containing simple
    modules…
    –whole-archive
    configure: NOTE: Use the following syntax when linking with static
    libraries
    configure: containing simple modules and other dynamically registered
    components
    :
    configure: g++ … -Wl,–whole-archive -Wl,–no-whole-
    archive …
    checking whether linker supports -rpath… yes
    checking for bison… bison -y
    checking for flex… flex
    checking lex output file root… lex.yy
    checking lex library… none needed
    checking whether yytext is a pointer… no
    checking for make… make
    checking for perl… perl
    checking for swig… not found
    checking for math with CFLAGS=”" LIBS=”"… yes
    checking for standard C++ lib with CFLAGS=”" LIBS=”-lstdc++”… no
    checking for standard C++ lib with CFLAGS=”" LIBS=”-lcxx”… no
    checking for standard C++ lib with CFLAGS=”" LIBS=”-lcxa”… no
    configure: error: Standard C++ library -lstdc++_s or -lstdc++ or -lcxx
    or -lcxa not found

    Can you please let me know what I might be doing wrong?

    Many Thanks

t Twitter f Facebook g Google+