<!> Error during startup: Global simtime_t variable found, with value 2e-005. Global simtime_t variables are forbidden, because scale exponent is not yet known at the time they get initialized. Please use double or const_simtime_t instead.
OMNeT++ Discrete Event Simulation (C) 1992-2008 Andras Varga, OpenSim Ltd.
Version: 4.0, build: 090310-10709, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer
End.
Simulation terminated with exit code: 1
Command line: G:/inetmanet/INET.exe -r 0 -n G:/inetmanet/examples;G:/inetmanet/src -l G:/inetmanet/src/INET G:/inetmanet/examples/adhoc/net80211_aodv/omnetpp.ini
Working directory: G:/inetmanet/examples/adhoc/net80211_aodv
OMNETPP_ROOT=G:/OMNETPP-4.0
PATH=;G:/INETMANET/SRC;G:\OMNETPP-4.0\BIN;G:\OMNETPP-4.0\MSYS\BIN;G:\OMNETPP-4.0\MINGW\BIN;C:/PROGRAM FILES/JAVA/JRE6/BIN/CLIENT;C:/PROGRAM FILES/JAVA/JRE6/BIN;.;G:\OMNETPP-4.0\MSYS\LOCAL\BIN;G:\OMNETPP-4.0\MINGW\BIN;G:\OMNETPP-4.0\MSYS\BIN;G:\OMNETPP-4.0\BIN;C:\PROGRAM FILES\MIKTEX 2.6\MIKTEX\BIN;C:\WINDOWS\SYSTEM32;C:\WINDOWS;C:\WINDOWS\SYSTEM32\WBEM;C:\PROGRAM FILES\QUICKTIME\QTSYSTEM\;D:\MATLAB\BIN;D:\MATLAB\BIN\WIN32;.
OMNETPP_IMAGE_PATH=G:\OMNETPP-4.0\IMAGES
Actually, there is no interconection between the original examples and the imported Ieee80216, because of that I don't understand why this error occur and how to find it.
I hope that someone of you can help me to solve this problem.
I thank you for your responses in advance.
best regards,
void SimTime::initError(double d)
function, src/sim/simtime.cc#60 -- this function is what raises the
exception. When breakpoint is hit, the debugger might be able to display
which variable the "this" pointer corresponds to in the program.
Regards
Andras
________________________________________
From: omnetpp-...@omnetpp.org [mailto:omnetpp-...@omnetpp.org]
On Behalf Of Alfonso Ariza
Sent: Monday, March 30, 2009 9:47 AM
To: omne...@omnetpp.org
Subject: Re: [Omnetpp-l] Problem with global simtime variable in INET
I changed the lines in the file Ieee80216Const.h as you said, but it didn't
help unfortunately. Then I tried to find other matches to value "20E-6" and
there are several files, which also contain this value. These are:
Ieee80211-->mac-->Ieee80211Consts.h, Ieee80211-->mac-->Ieee80211gMac.cc,
mf80211-->macLayer-->Consts80211.h .
I tried to change the declaration variables, but then some errors occur
within the functions.
Could you take a look at these files and tell me, how to make changes? It
would be very kind.
Thanks a lot for your help.
regards,
Vitali Anselm
> Message: 1
> Date: Mon, 30 Mar 2009 16:42:04 +0200
> From: "Alfonso Ariza" <aari...@hotmail.com>
> Subject: Re: [Omnetpp-l] Problem with global simtime variable in INET
> To: <omne...@omnetpp.org>
> Message-ID: <COL113-DS24B53453C...@phx.gbl>
> Content-Type: text/plain; charset="iso-8859-1"
_______________________________________________
I have compiled all, after changing the file Ieee80216Const.h and tried to
run the "handover" example from wireless directory and to my surprise there
is now another error :) Somehow, no one of the ned files in the src/
directory has a correct package declaration. Every ned file contain now
errors like : declared package "inet.applications.ethernet" does not match
expected package "ethernet" EtherAppCli.ned INET/src/applications/ethernet
line 18 NED Consistency Problem
But I didn't change anything in the ned files! It seems to be a magic
generating new types of errors every time :)
Some advices for it?
regards,
Vitali
_______________________________________________________________________
sorry for spaming the mailinglist... The last problem with the ned files is
solved. I had to "Clean Up NED files". I did the job.
Now the "handover" example runs withoot problems, but the net80211_aodv
opens the TkEnv and throws an error:
Error in module (cCompoundModule) Net80211_aodv.host[0] (id=3):
Submodule mobility: no module type named "inet.mobility.NullMobilty" found
that implements module interface
BasicMobility (not in the loaded NED files?), at
G:\inetmanet\src\node\adhoc\MobileManetRoutingHost.ned:109.
In this ned file there is the following entry on the line 109:
mobility: <mobilityType> like BasicMobility {
parameters:
@display("p=149,307");
}
Has it something to do with "like" which should not be used in 4.0 anymore?
regards,
Vitali
____________________________________________________________
You probably set mobilityType="NullMobilty" in omnetpp.ini (btw, there's a
"i" missing -- maybe that's the problem?). This means OMNeT++ will look for
a module which looks like
simple NullMobilty like BasicMobility {
...
}
and obviously could not find it.
http://omnetpp.org/doc/omnetpp40/manual/usman.html#sec133 and
http://omnetpp.org/doc/omnetpp40/manual/usman.html#sec136, "Name resolution
with 'like'"
> Has it something to do with "like" which should not be used in 4.0
> anymore?
Where did you hear that? It's complete misinformation. "like" **IS**
supported. See the manual.
Regards
Andras
No, it is not my own module, but the existing module of INETMANET framework,
which can be found in examples/wireless/handover directory.
> Message: 6
> Date: Wed, 1 Apr 2009 17:08:20 +0300
> From: cem akpolat <akpol...@gmail.com>
> Subject: Re: [Omnetpp-l] Problem with global simtime variable in INET
> To: omne...@omnetpp.org
> Message-ID:
> <a6880ae60904010708j784...@mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL:
> http://lists.omnetpp.org/pipermail/omnetpp-l/attachments/20090401/7539fc1d/attachment.html
>
> ------------------------------
>
> _______________________________________________
> Omnetpp-l mailing list
> Omne...@omnetpp.org
> http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
>
>
> End of Omnetpp-l Digest, Vol 10, Issue 3
> ****************************************
>
> __________ Information from ESET NOD32 Antivirus, version of virus
> signature database 3981 (20090401) __________
>
> The message was checked by ESET NOD32 Antivirus.
>
> http://www.eset.com
Hello,
I have compiled all, after changing the file Ieee80216Const.h and tried to
run the "handover" example from wireless directory and to my surprise there
is now another error :) Somehow, no one of the ned files in the src/
directory has a correct package declaration. Every ned file contain now
errors like : declared package "inet.applications.ethernet" does not match
expected package "ethernet" EtherAppCli.ned INET/src/applications/ethernet
line 18 NED Consistency Problem