[Home] [Downloads] [Search] [Help/forum]

Gammon Software Solutions forum

See www.mushclient.com/spam for dealing with forum spam. Please read the MUSHclient FAQ!

[Folder]  Entire forum
-> [Folder]  SMAUG
. -> [Folder]  SMAUG coding
. . -> [Subject]  Converting C to C++, dynamic linker problem

Home  |  Users  |  Search  |  FAQ
Username:
Register forum user name
Password:
Forgotten password?
(New message)
Subject: Converting C to C++, dynamic linker problem
Name:
Your forum user name.
Register forum user name
Password:
Your forum password.
Forgotten password?
Message:
Message to be posted (in English, please)
Maximum of 6000 characters. Text only please, no HTML.
Forum codes:
Check this if your message uses 'forum codes' or templates (auto-detected for new posts).
Forum codes Templates

Save this message ...


Subject review (reverse sequence)

Posted by Samson   USA  (683 posts)  [Biography] bio
Date Mon 04 Sep 2006 04:12 AM (UTC)  quote  ]

Amended on Tue 11 Mar 2008 03:29 AM (UTC) by Nick Gammon

Message
http://forums.smaugfuss.org/index.php?a=topic&t=82

[EDIT - 11 March 2008] - The Smaug FUSS site is now http://www.smaugmuds.org/

SmaugMuds.org: http://www.smaugmuds.org - The Smaug MUDs Community Center

"The past was erased, the erasure was forgotten, the lie became truth." -- George Orwell, 1984
[Go to top] top

Posted by Nick Gammon   Australia  (18,770 posts)  [Biography] bio   Forum Administrator
Date Mon 04 Sep 2006 12:40 AM (UTC)  quote  ]
Message
I suspect this is a name-mangling problem. I converted to C++ ok, but not with dynamic linking.

C++ mangles names so that it can build in the function argument types into each name (as you can have identically-named functions with different argument lists).

Thus the problem is probably either:


  • You are looking for a mangled name, but the dynamic library has them un-mangled; or

  • You are looking for an un-mangled name, but the dynamic library has them mangled


- Nick Gammon

www.gammon.com.au, www.mushclient.com
[Go to top] top

Posted by Zeno   USA  (2,867 posts)  [Biography] bio   Moderator
Date Sun 03 Sep 2006 12:50 AM (UTC)  quote  ]
Message
Using FUSS right? Make sure you have the right Makefile flags toggled.

Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org
[Go to top] top

Posted by RosenGuild   USA  (1 post)  [Biography] bio
Date Sun 03 Sep 2006 12:04 AM (UTC)  quote  ]
Message
Alrighty. I'm trying to update my MUD to c++, but have run into a bit of trouble... namely:

Quote:
Sat Sep 2 18:47:20 2006 :: [*****] BUG: Error locating do_say in symbol table. ../bin/swr: undefined symbol: do_say
Sat Sep 2 18:47:20 2006 :: [*****] BUG: Fread_command: Function do_say not found for '


I know this is because I updated the MUD from C to C++, something dlopen and whatnot don't like. I'm operating Fedora Core 5, and the MUD is SWFOTEFUSS. So... comments on how to solve this situation? I appreciate it, thanks.

-RosenGuild

"Hmmm. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads. Heads."
[Go to top] top

The dates and times for posts above are shown in Universal Co-ordinated Time (UTC).

To show them in your local time you can join the forum, and then set the 'time correction' field in your profile to the number of hours difference between your location and UTC time.


1,929 views.

[Reply to this subject]  Reply to this subject   [New subject]  Start a new subject   [Refresh] Refresh page

Go to topic:           Search the forum


[Go to top] top

[Home]

Written by Nick Gammon - 5K

Comments to: Gammon Software support
[RH click to get RSS URL] Forum RSS feed ( http://www.gammon.com.au/rss/forum.xml )

[Best viewed with any browser - 2K]    [Internet Contents Rating Association (ICRA) - 2K]    [Web site powered by FutureQuest.Net]