[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: iauth modules anyone?
>>>>> "Christophe" == Christophe Kalt <kalt@xxxxxxxxxxx> writes:
[...]
Christophe> the first error from iauth is the most interesting one,
Christophe> although it might be a good idea to make it a little more
Christophe> explicit: line 5: /usr/etc/mod_passwd.so: undefined
Christophe> symbol: myncmp
Yep. That's exactly what I thought.
Christophe> iauth failed to dynamically load your module, because of
Christophe> an undefined symbol "myncmp". While this doesn't appear
Christophe> in your source code, it is in the output of "nm".
Which is why I attached it.
Christophe> resolve this, and you should be set.
That's not quite the case.
You see, I spent all of Saturday trying to reduce all the undefined
stuff in the module. "myncmp" is actually a function in
./common/match.c, which is called because ./common/os.h has
"strncasecmp" #define'd as "myncmp".
I added my own "strncasecmp" and other strings functions to my module,
only to have it crap out on "sendto_ircd". I commented out all those
lines, and it failed on "cldata".
If I can't call "sendto_ircd" or "cldata", there's really no point to
modules at all. So I think I'm doing something wrong.
Help?
Jack.
--
Jack Twilley
jmt at tbe dot net
http colon slash slash www dot tbe dot net slash tilde jmt slash