OMNeT++ 4.2.2 and MiXiM 2.2.1 Build Error

1,689 views
Skip to first unread message

Sebastian Helmle

unread,
Apr 10, 2012, 11:02:17 AM4/10/12
to omn...@googlegroups.com
Hi there,

I tried to update my simulation to the current version of OMNeT++, INET, and MiXiM as well. The installation and the download from the
GIT repository worked fine. Hence, when building the MiXiM project, I get the following error message:

make[1]: *** No rule to make target `miximtests.exe', needed by `all'.  Stop.
make[1]: Leaving directory `/c/Programme/omnetpp-4.2.2/git/mixim/tests'

make
: *** [tests_dir] Error 2
**** Build Finished ****

Does anybody know what is the reason for this issue? BTW: I strictly followed the installation instructions from here: http://sourceforge.net/apps/trac/mixim/wiki/WhatChanged,
i.e. I use the INET integration branch and the MiXiM master branch. Although when performing the "git clone" I only cloned INET's intergration branch. Don't know if this was
correct :)

I would be very thankful for any suggestions.



Cheers!
Sebastian

Sebastian Helmle

unread,
Apr 10, 2012, 11:09:24 AM4/10/12
to omn...@googlegroups.com
Ah, there was an additional information missing you might need: my workspace is C:\omnetworkspace and the two git clones are located in C:\Programme\omnetpp-4.2.2\git\
and there is only something like a reference in my workspace (see picture attached).


Cheers!
Sebastian

Sebastian Helmle

unread,
Apr 11, 2012, 6:37:59 AM4/11/12
to omn...@googlegroups.com
Hello everyone,

I made some further tests. I deleted the projects inet and MiXiM from my workspace as well as from my disc. Then, I downloaded
the ZIP files from github and imported them into my workspace (this is note like in the instructions from the mixim web page). after
a build I get the same error message.

Is there anyone from the MiXiM or INET team who is able to check this please?!



Cheers!
Sebastian

Sebastian Helmle

unread,
Apr 12, 2012, 4:51:00 AM4/12/12
to omn...@googlegroups.com
Hi,

is there nobody from the MiXiM (or: INET) developers who can check this issue? I don't know how to
move on as long as this problem occurs.


Thanks in advance.
Sebastian

On Tuesday, 10 April 2012 17:02:17 UTC+2, Sebastian Helmle wrote:

Humberto Escudero Argumanez

unread,
Apr 13, 2012, 4:38:41 AM4/13/12
to omn...@googlegroups.com
This is not a problem of omnet or mixim, but a problem of how you use
your oppmakemake

This fail

> |Norule to make target|
from "make" opp_makemake in omnet is well know and means that you do not
find the proper .c files and possibly neither your make file.
Check out your paths, who knows if you use an space in between names or
you might be dealing with another issue.


I hope this works.


Regards,
Humberto

--
MSc.-Ing. Humberto Escudero Argumanez
Kommunikationssysteme

Fraunhofer-Institut f�r Kommunikation, Informationsverarbeitung und Ergonomie (FKIE)
Neuenahrer Stra�e 20 | 53343 Wachtberg
Telefon +49 (0)228 9435-616 | Fax 0228 856277
E-mail:humberto.escu...@fkie.fraunhofer.de
http://www.fkie.fraunhofer.de

Sebastian Helmle

unread,
Apr 13, 2012, 6:46:07 AM4/13/12
to omn...@googlegroups.com
Hi Humberto,

thank you for your reply. I checked my Windows path variables. There was also an
 entry for the OMNeT++ 4.1. I deleted this entry and now there is only the entry
for 4.2.2 left.

However my problem still exists and I don't know how to resolve this.

Other or additional suggestions?


Regards
Sebastian

On Friday, 13 April 2012 10:38:41 UTC+2, Humberto Escudero Argumanez wrote:
This is not a problem  of omnet or mixim, but a problem of how you use
your oppmakemake

This fail

> |Norule to make target|
from "make" opp_makemake in omnet is well know and means that you do not
find the proper .c files and possibly neither your make file.
Check out your paths, who knows if you use an space in between names or
you might be dealing with another issue.


I hope this works.


Regards,
Humberto

--
MSc.-Ing. Humberto Escudero Argumanez
Kommunikationssysteme

Fraunhofer-Institut f�r Kommunikation, Informationsverarbeitung und Ergonomie (FKIE)
Neuenahrer Stra�e 20 | 53343 Wachtberg


Telefon +49 (0)228 9435-616 | Fax 0228 856277

Humberto Escudero Argumanez

unread,
Apr 13, 2012, 7:27:37 AM4/13/12
to omn...@googlegroups.com, Sebastian Helmle
Check this link if it might help
https://groups.google.com/forum/?fromgroups#!topic/omnetpp/0OdPbotaCcw

if still it does not help, at this point you should focus on different
and independet parts.

My suggestions are:
- Try to run properly OMNeT 4.2.2 alone without mixim as it is
indicated in chapter 8 User Manual
http://www.omnetpp.org/doc/omnetpp/manual/usman.html#sec310
- execute the tic toc if you want

- if OMNeT is not the problem, the install mixim, BUILD first the
project and try to run it.

lets see if still it does not work and you get the same problem ......

Sebastian Helmle

unread,
Apr 13, 2012, 7:55:11 AM4/13/12
to omn...@googlegroups.com, Sebastian Helmle
Thanks Humberto for responding,

I'm still working on a solution. When I installed OMNeT++ 4.2.2 I verified my installation
running the Dyna example. Hence, the TicToc example should run properly, too, shouldn't it?
However I can check that.

I've created a new workspace and imported INET 1.99.4.x and MiXiM 2.2.1 from the ZIP files.
Now, I'm building these two projects as MiXiM is no longer  able to operate as a stand alone project.
Let's see what happens.

Stay tuned - I will keep you up to date.



Cheers!
Sebastian

Sebastian Helmle

unread,
Apr 13, 2012, 8:07:49 AM4/13/12
to omn...@googlegroups.com
Hi there,

here is a small update. Also when importing INET and MiXiM directly from the ZIP files the problem remains.
However, now I've got additional errors from the INET framework, i.e. from inet/src/networklayer/bgpv4/.

I don't know what happens there and if this is a problem of my system. I have to use the integration branch
of the INET framework, haven't I? Or should I use the miximintegration branch?


Cheers!
Sebastian

On Tuesday, 10 April 2012 17:02:17 UTC+2, Sebastian Helmle wrote:

Michael

unread,
Apr 13, 2012, 9:44:01 AM4/13/12
to omn...@googlegroups.com
Normaly you do not need the test folder, if you have problems with it try to disable it in the OMNeT++ project makemake options.

Manolis

unread,
Apr 13, 2012, 11:45:45 AM4/13/12
to omn...@googlegroups.com

In MiXiM, disable the Makefrag file for the tests/ subdir.
  
From the IDE:
   - Select/Open the MiXiM project, then
   - Project > Properties > OMNeT++ > Makemake
   - On the right pane select "tests: makemake.." and in "Build" click "Options.."
   - Then, Custom > Makefrag and either delete everything
   or comment out everything).

Try clean and re-build the whole project.

Seems this makefile fragment was forgotten there because it adds targets that override the correct ones further down in the tests/Makefile

Hope this helps

M.

Sebastian Helmle

unread,
Apr 16, 2012, 6:31:13 AM4/16/12
to omn...@googlegroups.com
Hi folks,

thanks for your help. I found nearly the same solution like Manolis: I simply deleted the makefile and the makefrag
from the tests subdirectory and re-built the project without any errors. However I tried Manolis' solution too and it works
great for me.


Thanks a million!



Sebastian

sriyanjana adhikary

unread,
Dec 18, 2014, 1:41:03 AM12/18/14
to omn...@googlegroups.com
hi al.. 

Multiple markers at this line
- more undefined references to `vtable for 
PhyLayer' follow
- undefined reference to `vtable for PhyLayer'

This is the error I am getting after building mixim over omnetpp 4.2.2. I have tried out manolia's method also. but still the error is there. please help

sriyanjana adhikary

unread,
Dec 18, 2014, 2:10:47 AM12/18/14
to omn...@googlegroups.com
Exception occurred executing command line.
Cannot run program "F:/my_omnetpp/omnetpp-4.2.2/samples/MiXiM/examples/baseNetwork/baseNetwork.exe" (in directory "F:\my_omnetpp\omnetpp-4.2.2\samples\MiXiM\examples\baseNetwork"): CreateProcess error=2, The system cannot find the file specified

There is no error showing in any subpart of mixim , bt only in mixim 2.2.1 folder there is an error sign. when I am trying to run a .ini file it is showing the above error. please help


On Tuesday, 10 April 2012 20:32:17 UTC+5:30, Sebastian Helmle wrote:
Reply all
Reply to author
Forward
0 new messages