Posted: Tue May 27, 2008 9:43 am Post subject: [Asterisk-video] app_swf compilation
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
Posted: Tue May 27, 2008 11:49 am Post subject: [Asterisk-video] app_swf compilation
Hi Low,
I started the devolopment of the swf application last summer. I got it working with the svn version of gnash that time and was able to play a swf in asterisk.
The main problem is that gnash is still in heavy development and has no clean development apis and the ones they have are very unestable and changes almos constanlty so i had to stop the development until a more mature version of gnash is available.
Best regards
Sergio
----- Original Message -----
From: Low Yu Siang [mailto:yusiang@yahoo.com]
To: asterisk-video@lists.digium.com
Sent: Tue, 27 May 2008 11:35:18 +0100 (BST)
Subject: [Asterisk-video] app_swf compilation
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
You can post new topics in this forum You can reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum