Error in Module

457 views
Skip to first unread message

Rasoul Behravesh

unread,
Jun 5, 2015, 9:33:12 AM6/5/15
to omn...@googlegroups.com
hello everyone, i use omnet++ 4.6 on windows 8 64bit. now that i run Inet 2.99.1, after successful building and completion i encountered with this error for all examples.

"<!> Error in module (cModule) ARPTest.client (id=2) during network setup: Function `firstAvailableOrEmpty()' (with 3 args) not found (Define_NED_Function() or Define_NED_Math_Function() missing from C++ code?), at C:\omnetpp-4.6\omnetpp-4.6\samples\inet\src\inet\node\inet\StandardHost.ned:59."



please help me, it is urgent. what i can do ???? 


L. Jacob Mariscal Fernández

unread,
Jun 5, 2015, 12:10:21 PM6/5/15
to omn...@googlegroups.com
I  guess some errro happened whilst building INET project. Try to recompile again, better from Mingwenv, and first clean the project, following instructions should work.
> make clenall
> make mode= release
With the second option, compiling time should educe as only compile one time.
Enjoy the weekend!

underwood

unread,
Oct 26, 2015, 10:54:30 PM10/26/15
to OMNeT++ Users
I met this problem too, and follow your way ,this error still happen. I run inet 3.1.1. so is there any other solution? Thanks!

在 2015年6月6日星期六 UTC+8上午12:10:21,L. Jacob Mariscal Fernández写道:

Varun Agarwal

unread,
Jun 8, 2017, 8:32:00 AM6/8/17
to OMNeT++ Users
I have installed Omnet++ 5.1.0 on Win 7 64 bit machine. Samples are running correctly.Next, Iv installed inet 3.5.0, getting no errors but 151 warnings all of type NED consistency problem. The examples are giving an error same as in this thread. For example, when i run adhoc, i get the following error:
"<!> Function hasVisualizer() not found (Define_NED_Function() or Define_NED_Math_Function() missing from C++ code?), at C:\omnetpp-5.1-src-windows\omnetpp-5.1\samples\inet\examples\adhoc\hostautoconf\Scenario.ned:29 -- in module (omnetpp::cModule) Scenario (id=1), during network setup".
Similarly, trying to run aodv gives the below error:
"<!> Class "inet::physicallayer::RadioMedium" not found -- perhaps its code was not linked in, or the class wasn't registered with Register_Class(), or in the case of modules and channels, with Define_Module()/Define_Channel() -- in module (omnetpp::cModule) AODVNetwork (id=1), during network setup
"
I have checked the size of libINET.dll in the inet/src folder and it is only 106 kb.
Please suggest me a solution.
Thanks in advance.

Rasoul Behravesh

unread,
Jun 8, 2017, 8:43:00 AM6/8/17
to omn...@googlegroups.com
Hello dear,
It's for long that I haven't worked on Omnet++; beside, I wasn't a professional user of Omnet to answer your questions. 

Best regards, 
--
You received this message because you are subscribed to a topic in the Google Groups "OMNeT++ Users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/omnetpp/seCpUAyjU-s/unsubscribe.
To unsubscribe from this group and all its topics, send an email to omnetpp+u...@googlegroups.com.
Visit this group at https://groups.google.com/group/omnetpp.
For more options, visit https://groups.google.com/d/optout.

Alfonso Ariza Quintana

unread,
Jun 8, 2017, 9:15:15 AM6/8/17
to omn...@googlegroups.com

Libinet.dll hasn’t been created correctly, the usual size is about several hundreds of MB

--
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.

Varun Agarwal

unread,
Jun 9, 2017, 12:28:09 AM6/9/17
to OMNeT++ Users, aari...@hotmail.com
How should I go about solving this problem. Kindly guide.

Alfonso Ariza Quintana

unread,
Jun 12, 2017, 4:16:50 AM6/12/17
to omn...@googlegroups.com

Try to rebuild, but with this information I don’t know the cause

Reply all
Reply to author
Forward
0 new messages