[Serusers] Re: Module programming question

Daniel Corbe daniel.junkmail at gmail.com
Sun May 22 22:41:55 CEST 2005


Here's another question:

I got my module to compile by taking _init out and reworking the
initalization of the module into something else.

Now when SER loads I get:

May 22 21:34:00 proxy2 ser: ERROR: no version info in module
</usr/local/lib/ser/modules/radius_cache.so>: Undefined symbol
"module_version"

What is module_version?  How do I define it?

Thanks.

-Daniel


On 5/22/05, Daniel Corbe <daniel.junkmail at gmail.com> wrote:
> Hello,
> 
> I have a SER module which I've written in C and I'm trying to compile.
>  When I compile it I get this error:
> 
> 20:53:24 root#proxy2:/usr/local/src/ser-0.9.0/modules/radius_cache>gcc
> -shared -o radius_cache.so radius_cache.o
> radius_cache.o: In function `_init':
> radius_cache.o(.text+0x0): multiple definition of `_init'
> /usr/lib/crti.o(.init+0x0): first defined here
> 
> Is there something else in SER that exports _init already?
> 
> Thanks.
> 
> -Daniel
>




More information about the sr-users mailing list