Mixim 2.3 build error on Ubuntu 12.10 and omnet 4.3

1,798 views
Skip to first unread message

dimitris p.

unread,
Apr 26, 2013, 12:20:12 PM4/26/13
to omn...@googlegroups.com
Hi I have the following problem when trying to build Mixim 2.3 with omnet 4.3 on Ubuntu 12.10 64 bit. The build stops with the following errors:

In file included from modules/mac/Mac80211MultiChannel.h:22:0,
                 from modules/mac/Mac80211MultiChannel.cc:16:
modules/mac/./Mac80211.h:28:27: fatal error: Mac80211Pkt_m.h: No such file or directory
compilation terminated.
make[1]: Leaving directory `/home/dim/Downloads/omnetpp-4.3/samples/MiXiM/src'
make[1]: *** [../out/gcc-debug/src/modules/mac/Mac80211MultiChannel.o] Error 1
make: *** [all] Error 2

Can anyone please help me or have any idea about how to solve this problem?

Thank you in advance.

Dominik

unread,
May 1, 2013, 7:49:14 AM5/1/13
to omn...@googlegroups.com
Hi Dimitris,

I faced the same error message. Here is how I bypassed the problem:

1. Extract "mixim-2.3.tar.gz" (tar xvzf mixim-2.3.tar.gz)
2. Change into the directory just extracted (cd mixim-2.3)
3. Execute "make makefiles"
4. Start the build by "make"
5. Import the just built project using the omnet++ IDE

HTH,
Dominik

Jin

unread,
May 3, 2013, 11:41:17 PM5/3/13
to omn...@googlegroups.com
That is the peoblem of opp_msgc.
opp_msgc generates <filename>_m.h and  <filename>_m.cc  files from <filename>_m.msg
If you face with same problem, then manually generate <filename>_m.h/cc file from <filename>_m.msg

Just go to your mixim folder, and run "opp_msgc -I ./ *.msg" at every sub-folder. 
This looks fool, but it works. You only spend 5min

-JS

Search "opp_msgc" on OMNET manual, 

Ramon Hofer

unread,
Dec 18, 2013, 11:35:41 AM12/18/13
to omn...@googlegroups.com
I had the same problem.

If anybody has the same problem, wants to save the 5 min and runs linux, you could use something like the following from the MiXiM directory:

find . -type d -exec sh -c '(cd {} && opp_msgc -I ./ *.msg)' \;


Best
Ramon

Timmay😏

unread,
May 2, 2015, 5:17:34 AM5/2/15
to omn...@googlegroups.com
Worked like a champ!
Reply all
Reply to author
Forward
0 new messages