[omnetpp] module type definition not found

1 view
Skip to first unread message

Vincenzo Morgante

unread,
Mar 16, 2007, 6:58:02 AM3/16/07
to omne...@omnetpp.org
Dear all,
I should make simulation of a mobile net, so I developed some mobility modules which will be used by another module. Since the files which implement the mobility modules are 32 and in the directory there is already enough confusion, I would create a directory with only the mobility modules and a directory with the "mobile net" module which should use the mobility modules.
In this way the two directory will be at the same level.

How can I edit the "makefile.gen" file in order to reach my target?
I tried to compile separately the content of the two directory, but when I start the simulation, the following error appears:
"Error in module (PlainMobilityHost) mobileNet.host[0]: module type definition RandomWalkMobility not found (Define_Module() missing from C++ code?)."

I think that the "mobile net" module don't find the mobility module.
Why?
I would resolve the problem without putting the mobility modules in the mobility directory contained into the MobilityFramework one...

Thanks a lot!

Vincenzo


---------------------------------
L'email della prossima generazione? Puoi averla con la nuova Yahoo! Mail
_______________________________________________
OMNeT++ Mailing List
options: http://lists.omnetpp.org/mailman/listinfo/omnetpp-l
archive: http://www.omnetpp.org/listarchive/index.php

Daniel Willkomm

unread,
Mar 19, 2007, 4:40:27 AM3/19/07
to omne...@omnetpp.org
Please try the -r (recursive) option of opp_makemake.

You need to provide a Makefile in the top level dir and then in echa subdir.

For for hints look at the MF makefiles - they use recursive build

Daniel

--
-----------------------------------------
o Dipl.-Ing. Daniel Willkomm
o TU-Berlin
o Telecommunication Networks Group
o Mail: will...@tkn.tu-berlin.de

Reply all
Reply to author
Forward
0 new messages