[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

conflicting symbol name



i've posted this question on comp.os.linux.development.system some days
ago without success.

i'm coding a module for kernel 2.4.3.
i've managed the way of exporting no symbols with the macro
EXPORT_NO_SYMBOLS.
now, as far as my module is derived  from another module (khttpd), some
functions have the same name of khttpd's ones but behave differently. my
module is standalone and does not need khttpd.
if i insert my module after khttpd and i look at /proc/modules i find
this:

my_module	20877	1
khttpd		24272	3	[my_module]

this avoids to remove khttpd before my_module and, maybe, it causes
interference between the modules.
how can i avoid this?
should i change my function's names?

doing some tests i found that if i call one of that incriminated
functions, my version is used, not khttpd's one. so, where is this
dependence claimed by /proc/modules?

ciao
-- 
maruko.cjb.net - Seti@Home applets
Designed for Windows 
Powered by Linux
-
Kernelnewbies: Help each other learn about the Linux kernel.
Archive:       http://mail.nl.linux.org/
IRC Channel:   irc.openprojects.net / #kernelnewbies
Web Page:      http://www.kernelnewbies.org/