Can't compile omnetpp 4.3

732 views
Skip to first unread message

Omnet Student

unread,
May 20, 2013, 6:12:58 AM5/20/13
to omn...@googlegroups.com
Hi
    I just downloaded omnetpp 4.3, but I'm not able to compile it.

./configure was fine, then i executed make, this is the output

...
===== Compiling sim ====
make[2]: Entering directory `/home/carl/sw/omnetpp-4.3/src/sim'
LEX: expr.lex
YACC: expr.y
lex.expryy.cc
expr.tab.cc
MSGC: sim_std.msg
sim_std_m.cc
In file included from sim_std_m.cc:13:0:
sim_std_m.h:13:6: error: #error Version mismatch! Probably this file was generated by an earlier version of opp_msgc: 'make clean' should help.
make[2]: *** [/home/carl/sw/omnetpp-4.3/out/gcc-release/src/sim/sim_std_m.o] Error 1
make[2]: Leaving directory `/home/carl/sw/omnetpp-4.3/src/sim'
make[1]: *** [sim] Error 2
make[1]: Leaving directory `/home/carl/sw/omnetpp-4.3'
make: *** [allmodes] Error 2
carl@whome:~/sw/omnetpp-4.3$

Any idea? I tried to clean and rebuild, but no luck.

Best

Alfonso Ariza Quintana

unread,
May 20, 2013, 10:14:40 AM5/20/13
to omn...@googlegroups.com

$make clean

$make

--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Rudolf Hornig

unread,
May 20, 2013, 1:03:57 PM5/20/13
to omn...@googlegroups.com, aari...@hotmail.com
And be sure NOT to have older versions of OMNeT++ in your path.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

wli

unread,
Jul 4, 2014, 8:31:46 AM7/4/14
to omn...@googlegroups.com, aari...@hotmail.com
Hi how should I run these two commands from a linux command window I tried but it didn't work. When I ran make clean it says "No rule to make target 'clean'. Stop. " Thanks.

To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+unsubscribe@googlegroups.com.

Michael Kirsche

unread,
Jul 4, 2014, 8:36:57 AM7/4/14
to omn...@googlegroups.com
Makefiles need to be generated before make clean and other make commands work.
./configure is the first command that you need to execute after decompression your OMNeT installation. Afterwards you can generate makefiles by calling make, which also starts the compiling process.
The installation manual describes everything: http://omnetpp.org/doc/omnetpp/InstallGuide.pdf
Reply all
Reply to author
Forward
0 new messages