[Asterisk-video] app_swf compilation

Low Yu Siang yusiang at yahoo.com
Tue May 27 05:35:18 CDT 2008


Hi!

Have anyone managed to run sergio's app_swf code? I
can compile app_swf but it throws the following error
when asterisk is loading the module.

asterisk: symbol lookup error:
/usr/lib/asterisk/modules/app_swf.so: undefined
symbol: CreateFlashClient

I added these lines to the apps/Makefile:-
app_swf.so : app_swf.o
        $(CC) $(SOLINK) -o $@ ${CYGSOLINK} $<
${CYGSOLIB} -lmcuclient

During make compilation:-
   [CC] app_swf.c -> app_swf.o
app_swf.c: In function ‘swf_play_exec’:
app_swf.c:71: warning: format ‘%x’ expects type
‘unsigned int’, but argument 6 has type ‘struct
ast_channel *’
app_swf.c:98: warning: format ‘%x’ expects type
‘unsigned int’, but argument 6 has type ‘struct
ast_channel *’
gcc -shared -Xlinker -x -o app_swf.so  app_swf.o  -lmcuclient


      __________________________________________________________
Sent from Yahoo! Mail.
A Smarter Email http://uk.docs.yahoo.com/nowyoucan.html



More information about the asterisk-video mailing list