[prev in list] [next in list] [prev in thread] [next in thread] 

List:       sr-dev
Subject:    Re: [Serdev] Error loadmodule
From:       "Greger Viken Teigre" <greger () teigre ! com>
Date:       2007-09-26 16:56:40
Message-ID: 200709261634.l8QGYeNn014527 () pontius ! teigre ! com
[Download RAW message or body]

Or look at dispatcher. It is probably even simpler. You know what "undefined symbol" \
means? g-)

------- Original message -------
From: Minh Nguyen <tuan.minh.nguyen.vn@googlemail.com>
Cc: serdev@lists.iptel.org
Sent: 26.9.'07,  17:33

> Hi Greger,
> you mean that define is "the module interface"? I read this part in book
> "Developer's guide" - chapter 7, but this book said that it related with
> the file sr_module.h and .c . I haven't really understand how module
> textops works?
> regards
> M. 
> Am Mittwoch, den 26.09.2007, 12:26 +0200 schrieb Greger Viken Teigre:
> > All modules must define the exports struct so that the module loader knows what \
> > to find in the module. See ex textops. g-)
> > 
> > ------- Original message -------
> > From: Minh Nguyen <tuan.minh.nguyen.vn@googlemail.com>
> > Sent: 26.9.'07,  12:15
> > 
> > > Hello,
> > > 
> > > I am newbei. I want to develop one module in SER. I have made one module
> > > "audio_analyse" and compile (of course now only head file) and then i
> > > got the file lib /usr/local/ser/modules/audio_analyse.so
> > > 
> > > Now i want to try load this module from ser configuration file with:
> > > loadmodule "/usr/local/lib/ser/modules/audio_analyse.so" but there is
> > > one eeror that i don't know how correct it. 
> > > 
> > > ser -f ser_basic.cfg
> > > 0(32766) ERROR:load_module: /usr/local/lib/ser/modules/audio_analyse.so:
> > > undefined symbol: exports
> > > 0(32766) parse error (46,13-14): failed to load module
> > > 
> > > 
> > > Please some one tell me why? Thanks in advance
> > > M.
> > > 
> > > _______________________________________________
> > > Serdev mailing list
> > > Serdev@lists.iptel.org
> > > http://lists.iptel.org/mailman/listinfo/serdev
> > 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic