Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error while building inet-dsme #7

Open
SonaliAnand24 opened this issue Mar 19, 2024 · 1 comment
Open

Error while building inet-dsme #7

SonaliAnand24 opened this issue Mar 19, 2024 · 1 comment

Comments

@SonaliAnand24
Copy link

12:36:07 **** Incremental Build of configuration debug for project inet-dsme ****
make MODE=debug all
cd src && make
make[1]: Entering directory '/home/sonali/opendsme_worspace/inet-dsme/src'
DSMEMessage.cc
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h: In member function ‘uint16_t dsme::GTSSchedulingImpl<SchedulingData, RxData>::getPriorityLink()’:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:180:36: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
180 | uint16_t slots = this->dsmeAdaptionLayer.getMAC_PIB().macDSMEACT.getNumAllocatedGTS(d.address, Direction::TX);
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h: In member function ‘virtual dsme::GTSSchedulingDecision dsme::GTSSchedulingImpl<SchedulingData, RxData>::getNextSchedulingAction(uint16_t)’:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:191:44: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
191 | uint16_t numAllocatedSlots = this->dsmeAdaptionLayer.getMAC_PIB().macDSMEACT.getNumAllocatedGTS(address, Direction::TX);
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:196:62: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
196 | uint8_t numSuperFramesPerMultiSuperframe = this->dsmeAdaptionLayer.getMAC_PIB().helper.getNumberSuperframesPerMultiSuperframe();
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:197:48: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
197 | uint8_t randomSuperframeID = this->dsmeAdaptionLayer.getRandom() % numSuperFramesPerMultiSuperframe;
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:199:40: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
199 | uint8_t numGTSlots = this->dsmeAdaptionLayer.getMAC_PIB().helper.getNumGTSlots(randomSuperframeID);
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/./GTSHelper.h:51,
from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:51,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/././scheduling/GTSScheduling.h:200:42: warning: invalid use of incomplete type ‘class dsme::DSMEAdaptionLayer’
200 | uint8_t randomSlotID = this->dsmeAdaptionLayer.getRandom() % numGTSlots;
| ~~~~~~^~~~~~~~~~~~~~~~~
In file included from openDSME/dsmeAdaptionLayer/DSMEAdaptionLayer.h:50,
from DSMEPlatform.h:57,
from dsme_platform.h:96,
from DSMEMessage.cc:44:
openDSME/dsmeAdaptionLayer/./AssociationHelper.h:51:7: note: forward declaration of ‘class dsme::DSMEAdaptionLayer’
51 | class DSMEAdaptionLayer;
| ^~~~~~~~~~~~~~~~~
In file included from dsme_platform.h:96,
from DSMEMessage.cc:44:
DSMEPlatform.h: At global scope:
DSMEPlatform.h:104:83: error: ‘intval_t’ has not been declared
104 | virtual void receiveSignal(cComponent source, omnetpp::simsignal_t signalID, intval_t l, cObject details) override;
| ^~~~~~~~
DSMEPlatform.h:104:18: error: ‘virtual void dsme::DSMEPlatform::receiveSignal(omnetpp::cComponent
, omnetpp::simsignal_t, int, omnetpp::cObject
)’ marked ‘override’, but does not override
104 | virtual void receiveSignal(cComponent *source, omnetpp::simsignal_t signalID, intval_t l, cObject *details) override;
| ^~~~~~~~~~~~~
make[1]: *** [Makefile:164: ../out/gcc-debug/src/DSMEMessage.o] Error 1
make[1]: Leaving directory '/home/sonali/opendsme_worspace/inet-dsme/src'
make: *** [Makefile:2: all] Error 2
"make MODE=debug all" terminated with exit code 2. Build might be incomplete.

12:36:09 Build Failed. 4 errors, 6 warnings. (took 1s.714ms)

@SonaliAnand24
Copy link
Author

SonaliAnand24 commented Mar 19, 2024

I am using omnetpp-6.0.2 version. Kindly let me know how to make this build successfully as I'm new to this domain. Any help would be of great use to me. Thanks in advance

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant