.gdbinit: no such file or directory ???

628 views
Skip to first unread message

sassir

unread,
Nov 24, 2012, 4:02:34 AM11/24/12
to omn...@googlegroups.com
Hello everyone,

I am using Inet, and i did some modifications for my work. I created a new class of addresses (i do not have any error). When i want to use this class in my files .cc
I get this error:

<!> Warning: opp_run: Cannot check library ../../src/inet: ../../src//libinet.so: undefined symbol: _ZNK12MYAddress3strEv

<!> Error during startup: Cannot load library '../../src//libinet.so': ../../src//libinet.so: undefined symbol: _ZNK12MYGAddress3strEv.
OMNeT++ Discrete Event Simulation  (C) 1992-2011 Andras Varga, OpenSim Ltd.
Version: 4.2.2, build: 120327-7947143, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

End.

Simulation terminated with exit code: 1 (I don't know what it means)

I used the debbug and i get: .gdbinit: no such file or directory but i don't know what it means as well. 
So, i would appreaciate it if you could help me, I have no idea to solve my problem !!

sassir

unread,
Nov 24, 2012, 11:18:11 AM11/24/12
to omn...@googlegroups.com

Hello again,

I did not find nothing on the Net, any suggestion will be appreciate !!
Thanks,

Rudolf Hornig

unread,
Nov 26, 2012, 5:19:26 AM11/26/12
to omn...@googlegroups.com


On Saturday, November 24, 2012 10:02:34 AM UTC+1, sassir wrote:
Hello everyone,

I am using Inet, and i did some modifications for my work. I created a new class of addresses (i do not have any error). When i want to use this class in my files .cc
I get this error:

<!> Warning: opp_run: Cannot check library ../../src/inet: ../../src//libinet.so: undefined symbol: _ZNK12MYAddress3strEv

<!> Error during startup: Cannot load library '../../src//libinet.so': ../../src//libinet.so: undefined symbol: _ZNK12MYGAddress3strEv.
OMNeT++ Discrete Event Simulation  (C) 1992-2011 Andras Varga, OpenSim Ltd.
Version: 4.2.2, build: 120327-7947143, edition: Academic Public License -- NOT FOR COMMERCIAL USE
See the license for distribution terms and warranty disclaimer

End.

Simulation terminated with exit code: 1 (I don't know what it means)

Your Address code is not linked into the executable. Probably because:

- You have your code in a file with an extension that is not .cc
- your forgot to recreate your makefiles with opp_makemake (if you are working from the command line, IDE does it for you automatically).
 

I used the debbug and i get: .gdbinit: no such file or directory but i don't know what it means as well. 

This warning is harmless, please ignore, but debugging will not help you in this case as  this is a linker problem.
Reply all
Reply to author
Forward
0 new messages