gcc-debug error while compiling proect in OMNeT++ IDE

1,877 views
Skip to first unread message

Tobias Krauthoff

unread,
Jun 9, 2013, 1:53:24 PM6/9/13
to omn...@googlegroups.com
Hi together,

i'm really new to omnet and thats why i've got no idea for solving my little problem. Currently i am working on an simpel project with a few classes and modules. However, everytime i want to compile and run the project, i'm getting the same error:

19:48:41 **** Incremental Build of configuration gcc-debug for project Projektarbeit ****
make MODE
=debug CONFIGNAME=gcc-debug all
cd src
&& make
make
[1]: Entering directory `/d/Sonstiges/omnetpp-4.3-workspace/Projektarbeit/src'
Creating executable: ../out/gcc-debug/src/Projektarbeit.exe
../out/gcc-debug/src/queues_upload/CDSQ.o:CDSQ.cc:(.rdata$_ZTVN7projekt4CDSQE[__ZTVN7projekt4CDSQE]+0x140):
 undefined reference to `
projekt::CDSQ::addPacketToQueue(MyPacket*)'
../out/gcc-debug/src/queues_upload/CDSQ.o:CDSQ.cc:(.rdata$_ZTVN7projekt4CDSQE[__ZTVN7projekt4CDSQE]+0x144):
 undefined reference to `projekt::CDSQ::calculateLatency()'

make
[1]: Leaving directory `/d/Sonstiges/omnetpp-4.3-workspace/Projektarbeit/src'
../out/gcc-debug/src/queues_upload/CRSQ.o:CRSQ.cc:(.rdata$_ZTVN7projekt4CRSQE[__ZTVN7projekt4CRSQE]+0x84):
 undefined reference to `
projekt::CRSQ::finish()'
collect2.exe: error: ld returned 1 exit status
make[1]: *** [../out/gcc-debug/src/Projektarbeit.exe] Error 1
make: *** [all] Error 2a

19:48:42 Build Finished (took 891ms)



FIY: OS Win8 with omnet++ ide 4.3

Thanks all and greetings,
Tobias

Alfonso Ariza Quintana

unread,
Jun 9, 2013, 9:07:49 PM6/9/13
to omn...@googlegroups.com
the methods are defined in the class but not implementation is present


Date: Sun, 9 Jun 2013 10:53:24 -0700
From: tobias.k...@gmx.de
To: omn...@googlegroups.com
Subject: [Omnetpp-l] gcc-debug error while compiling proect in OMNeT++ IDE
--
--
Sent from the OMNeT++ mailing list. To configure your membership,
visit http://groups.google.com/group/omnetpp
 
---
You received this message because you are subscribed to the Google Groups "omnetpp" group.
To unsubscribe from this group and stop receiving emails from it, send an email to omnetpp+u...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

Tobias Krauthoff

unread,
Jun 10, 2013, 3:00:35 AM6/10/13
to omn...@googlegroups.com
Thanks a lot.
This was even a part of the error message and i was so blind O:-)

Mohamed Mbida

unread,
Jun 15, 2014, 3:58:05 PM6/15/14
to omn...@googlegroups.com
i have the same error and i dont knew how i can do it , can you help me plz 

Tobias Krauthoff

unread,
Jun 15, 2014, 4:17:32 PM6/15/14
to omn...@googlegroups.com
Hi, the answer was already given. Have a look at the second post.

Mohamed Mbida

unread,
Jun 15, 2014, 4:37:26 PM6/15/14
to omn...@googlegroups.com
Thanks Tobias i see :) 


2014-06-15 22:17 GMT+02:00 Tobias Krauthoff <tobias.k...@googlemail.com>:
Hi, the answer was already given. Have a look at the second post.

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

Mohamed Mbida

unread,
Jun 17, 2014, 3:36:16 PM6/17/14
to omn...@googlegroups.com
good morning i compile my project i try to make connection of idealwirelessmac and ioutputqueue and i dont knew how i can do it plz help me . best regards 
Reply all
Reply to author
Forward
0 new messages