Notice: Any messages purporting to come from this site telling you that your password has expired, or that you need to verify your details, confirm your email, resolve issues, making threats, or asking for money, are
spam. We do not email users with any such messages. If you have lost your password you can obtain a new one by using the
password reset link.
Due to spam on this forum, all posts now need moderator approval.
Entire forum
➜ SMAUG
➜ SMAUG coding
➜ Converting C to C++, dynamic linker problem
Converting C to C++, dynamic linker problem
|
It is now over 60 days since the last post. This thread is closed.
Refresh page
Posted by
| RosenGuild
USA (1 post) Bio
|
Date
| Sun 03 Sep 2006 12:04 AM (UTC) |
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." | Top |
|
Posted by
| Zeno
USA (2,871 posts) Bio
|
Date
| Reply #1 on Sun 03 Sep 2006 12:50 AM (UTC) |
Message
| Using FUSS right? Make sure you have the right Makefile flags toggled. |
Zeno McDohl,
Owner of Bleached InuYasha Galaxy
http://www.biyg.org | Top |
|
Posted by
| Nick Gammon
Australia (23,133 posts) Bio
Forum Administrator |
Date
| Reply #2 on Mon 04 Sep 2006 12:40 AM (UTC) |
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 | Top |
|
Posted by
| Samson
USA (683 posts) Bio
|
Date
| Reply #3 on Mon 04 Sep 2006 04:12 AM (UTC) 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/ | 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.
14,196 views.
It is now over 60 days since the last post. This thread is closed.
Refresh page
top