Register forum user name Search FAQ

Gammon Forum

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 ➜ Code Snippet Issue (Dlsym)

Code Snippet Issue (Dlsym)

It is now over 60 days since the last post. This thread is closed.     Refresh page


Posted by Dralnu   USA  (277 posts)  Bio
Date Sun 01 May 2005 12:41 AM (UTC)
Message
Got the code installed, mostly made, but when I get to handle.o, I get
implicit declaration of dlclose/dlopen
RTLD_LAZY undeclared
pointer to interger without a cast

Any clues?
Top

Posted by Dralnu   USA  (277 posts)  Bio
Date Reply #1 on Sun 01 May 2005 01:02 AM (UTC)
Message
Nevermind. I've decided to go without it just so I can learn to do things the hard way so I can appreciate the easy way. Maybe between now and then I'll figure out what I'm doing for real :-P
Top

Posted by Zhamel   USA  (67 posts)  Bio
Date Reply #2 on Sun 01 May 2005 01:13 AM (UTC)
Message
Been a while since I've worked with the dlsym stuff, but try adding this

#include <dlfcn.h>


to the top of your handler.c file.
Top

Posted by Samson   USA  (683 posts)  Bio
Date Reply #3 on Tue 03 May 2005 08:26 AM (UTC)
Message
handler.c ? Why are you making dlsym related changes to that file? It's not part of the instructions.
Top

Posted by Txzeenath   USA  (54 posts)  Bio
Date Reply #4 on Wed 04 May 2005 10:51 AM (UTC)
Message
You should have this up in the includes on the tops of these files:


act_wiz.c:#include <dlfcn.h>
db.c:#include <dlfcn.h>
skills.c:#include <dlfcn.h>
special.c:#include <dlfcn.h>
tables.c:#include <dlfcn.h>

Darkness comes along thy path, searching, wanting, calling wrath,
shadows awaken, release the light, one and only.. here to fight,
challenge the darkness, the shadows they call, hunting the living,
more and all. Roaring thunder, full of hate, a single bound, seals
your fate.

-Txzeenath

telnet://divineright.org:8088
Alumuble Arda -
*Player owned shops, clans, and housing
*Multiclass & Stat training
*Random mob name generation implemented and Overland mapping.
*Realistic equipment statistics
*Interactive enviroment(weather/sectors)
*Weapon sheaths(scabbards), Throwing weapons
*Automatic crash recovery, saving, and reporting without disconnecting
*Fully customizeable color, Automapper, "Smart" mobiles, Hiscore tables, and more!

Currently running AGE v1.9.6(Originated and modified from Smaug 1.4a)
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.


17,638 views.

It is now over 60 days since the last post. This thread is closed.     Refresh page

Go to topic:           Search the forum


[Go to top] top

Information and images on this site are licensed under the Creative Commons Attribution 3.0 Australia License unless stated otherwise.