Openflow framework build error in Omnet++ 6.0

416 views
Skip to first unread message

fikayo afowowe

unread,
Apr 26, 2022, 2:52:30 AM4/26/22
to OMNeT++ Users
Hello Team,
First off I would like to appreciate Alfonso for his help on my last thread with 6LoWPAN.
Now I need to integrate an SDN controller into my network so it can handle the routing of packets hence improving network quality.
I ask
1) Is it possible to pull this off using the Openflow framework in omnet++

2)I am trying to build the openflow framework which is meant to work with omnet 6 and INET 4.3, the one posted in this link 


but I am getting the errors

make[1]: Entering directory '/home/mininet/omnetpp-6.0pre14/samples/openflow/src'
MSGC: openflow/messages/HF_ChangeNotification.msg
openflow/messages/HF_ChangeNotification.msg:8: Error: Type declarations are not needed with imports, try invoking the message compiler in legacy (4.x) mode using the --msg4 option
openflow/messages/HF_ChangeNotification.msg:14: Error: unknown type 'DataChannelEntry' for field 'entry' in 'HF_ChangeNotification'
opp_msgtool: error in 1 file(s)
make[1]: Leaving directory '/home/mininet/omnetpp-6.0pre14/samples/openflow/src'
make[1]: *** [Makefile:188: openflow/messages/HF_ChangeNotification_m.h] Error 1
make: *** [Makefile:2: all] Error 2
"make MODE=debug -j1 all" terminated with exit code 2. Build might be incomplete.

I already tried with both latest version of omnet6 and omnet6 rebuild 14.
what could be the problem here.
Thanks in advance.

fikayo afowowe

unread,
Apr 26, 2022, 6:46:13 AM4/26/22
to OMNeT++ Users
I was able to get it working by using the latest omnet6 and setting INETMANET 4.x as the project reference.
Now to the first question, any hints about how I can do that will be much appreciated.
Also, is there documentation for the Open flow framework and what version is it?

fikayo afowowe

unread,
Apr 26, 2022, 7:28:59 AM4/26/22
to OMNeT++ Users
Also, any time I try running any of the ini files in the openflow framework I keep getting this error.
Capture.PNG

Alfonso Ariza Quintana

unread,
Apr 26, 2022, 12:58:55 PM4/26/22
to omn...@googlegroups.com
I have uploaded several patch that should solve this problem

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de fikayo afowowe <afowow...@gmail.com>
Enviado: martes, 26 de abril de 2022 13:28
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0
 
--
You received this message because you are subscribed to the Google Groups "OMNeT++ Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/omnetpp/d014314d-84a2-4173-8325-c9b5aa460791n%40googlegroups.com.

fikayo afowowe

unread,
Apr 26, 2022, 7:19:50 PM4/26/22
to OMNeT++ Users
Thanks for your support.
The error is gone

fikayo afowowe

unread,
May 11, 2022, 3:32:43 AM5/11/22
to OMNeT++ Users
Hello all,
I am having an issue while running simulations with the openflow framework stated above.
The simulation stops running and I get the error below.
Capture.PNG

I tried debugging then I get the following error.

<!> Error: Cannot load library '../../src//libopenflow6_dbg.so': ../../src//libopenflow6_dbg.so: undefined symbol:  _ZNK4inet16OperationalMixinIN7omnetpp13cSimpleModuleEE14refreshDisplayEv

To fix this I ran the following commands:
make cleanall
make 
Then I rebuilt the framework, however I still get the same errors.

Kindly guide me on how to fix this error.

Thanks.

On Tuesday, April 26, 2022 at 6:58:55 PM UTC+2 Alfonso Ariza Quintana wrote:

Alfonso Ariza Quintana

unread,
May 11, 2022, 5:51:06 AM5/11/22
to omn...@googlegroups.com
I cannot reproduce the problem, apparently, the class OperationalMixin has not implemented the method refreshDisplay, but this method is implemented. I try to run one of the scenarios, and it loads the libraries correctly.

Enviado: miércoles, 11 de mayo de 2022 9:32
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0
 

fikayo afowowe

unread,
May 11, 2022, 5:13:08 PM5/11/22
to OMNeT++ Users
Thanks for replying.
Already tried everything possible for the past two days but still no change


Alfonso Ariza Quintana

unread,
May 12, 2022, 3:57:15 AM5/12/22
to omn...@googlegroups.com
You can try also to build using inet-framework, the master branch

Enviado: miércoles, 11 de mayo de 2022 23:13

fikayo afowowe

unread,
May 12, 2022, 10:37:31 AM5/12/22
to OMNeT++ Users
Okay.
If I may ask, what combination do you use for yours?
I mean what version of Omnet and INET are you using to build the Openflow framework?

Alfonso Ariza Quintana

unread,
May 12, 2022, 10:58:58 AM5/12/22
to omn...@googlegroups.com

Latest version of inetmanet, and latest version of omnet, I periodocally actualize both

 

Enviado desde Correo para Windows

 

De: fikayo afowowe
Enviado: jueves, 12 de mayo de 2022 16:37
Para: OMNeT++ Users
Asunto: Re: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0

 

Okay.

If I may ask, what combination do you use for yours?

I mean what version of Omnet and INET are you using to build the Openflow framework?

On Thursday, May 12, 2022 at 9:57:15 AM UTC+2 Alfonso Ariza Quintana wrote:

You can try also to build using inet-framework, the master branch

Enviado: miércoles, 11 de mayo de 2022 23:13


Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0

Thanks for replying.

Already tried everything possible for the past two days but still no change

 

On Wednesday, May 11, 2022 at 11:51:06 AM UTC+2 Alfonso Ariza Quintana wrote:

I cannot reproduce the problem, apparently, the class OperationalMixin has not implemented the method refreshDisplay, but this method is implemented. I try to run one of the scenarios, and it loads the libraries correctly.

Enviado: miércoles, 11 de mayo de 2022 9:32
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: Re: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0

 

Hello all,

I am having an issue while running simulations with the openflow framework stated above.

The simulation stops running and I get the error below.

 

I tried debugging then I get the following error.

 

<!> Error: Cannot load library '../../src//libopenflow6_dbg.so': ../../src//libopenflow6_dbg.so: undefined symbol:  _ZNK4inet16OperationalMixinIN7omnetpp13cSimpleModuleEE14refreshDisplayEv

 

To fix this I ran the following commands:

make cleanall

make 

Then I rebuilt the framework, however I still get the same errors.

 

Kindly guide me on how to fix this error.

 

Thanks.

On Tuesday, April 26, 2022 at 6:58:55 PM UTC+2 Alfonso Ariza Quintana wrote:

I have uploaded several patch that should solve this problem

De: omn...@googlegroups.com <omn...@googlegroups.com> en nombre de fikayo afowowe <afowow...@gmail.com>
Enviado: martes, 26 de abril de 2022 13:28
Para: OMNeT++ Users <omn...@googlegroups.com>
Asunto: [Omnetpp-l] Re: Openflow framework build error in Omnet++ 6.0

 

Also, any time I try running any of the ini files in the openflow framework I keep getting this error.

Reply all
Reply to author
Forward
Message has been deleted
0 new messages