<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt">
<div style="font-family: times new roman,new york,times,serif; font-size: 12pt; color: rgb(83, 143, 0);"><div><div>Hi, all. I'm using ubuntu 7.10 and VLC 0.8.6f<br>
<br>
I try to build small function for vlc. However, now I face a big problem to compile the code.<br>
<br>
I add small tcp server thread to "libvlc.c" file in function "int
VLC_Create( void )". I put my program at there because I found out that
while VLC initialize, It will execute that function. The server will
receive an IPv6 address from the client and then try to receive
streaming video from that address. However, I found out this problem
when compile.<br>
<br>
the error is shown as:<br>
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++<br>
make[4]: Entering directory `/home/ims/Desktop/vlc-0.8.6f/src'<br>
if gcc -DHAVE_CONFIG_H -I. -I. -I.. -DSYS_LINUX -I../include
`top_builddir=".." ../vlc-config --cflags vlc pic` -Wsign-compare
-Wall -pipe -MT libvlc_a-libvlc.o -MD -MP -MF
".deps/libvlc_a-libvlc.Tpo" -c -o libvlc_a-libvlc.o `test -f 'libvlc.c'
|| echo './'`libvlc.c; \<br>
then mv -f ".deps/libvlc_a-libvlc.Tpo" ".deps/libvlc_a-libvlc.Po"; else rm -f ".deps/libvlc_a-libvlc.Tpo"; exit 1; fi<br>
libvlc.c: In function ¡sthr_do¢:<br>
libvlc.c:340: warning: pointer targets in passing argument 3 of ¡accept¢ differ in signedness<br>
libvlc.c:388: warning: passing argument 1 of ¡__playlist_Create¢ from incompatible pointer type<br>
libvlc.c:439:7: warning: "/*" within comment<br>
libvlc.c:455:11: warning: "/*" within comment<br>
libvlc.c:465:5: warning: "/*" within comment<br>
libvlc.c:480:4: warning: "/*" within comment<br>
libvlc.c:514:11: warning: "/*" within comment<br>
libvlc.c:2165: error: invalid storage class for function ¡AddIntfInternal¢<br>
libvlc.c:2225: error: invalid storage class for function ¡SetLanguage¢<br>
libvlc.c:2292: error: invalid storage class for function ¡GetFilenames¢<br>
libvlc.c:2342: error: invalid storage class for function ¡Help¢<br>
libvlc.c:2374: error: invalid storage class for function ¡Usage¢<br>
libvlc.c:2658: error: invalid storage class for function ¡ListModules¢<br>
libvlc.c:2705: error: invalid storage class for function ¡Version¢<br>
libvlc.c:2784: error: invalid storage class for function ¡ConsoleWidth¢<br>
libvlc.c:2819: error: invalid storage class for function ¡VerboseCallback¢<br>
libvlc.c:2835: error: invalid storage class for function ¡InitDeviceValues¢<br>
libvlc.c:2921: error: expected declaration or statement at end of input<br>
make[4]: *** [libvlc_a-libvlc.o] Error 1<br>
make[4]: Leaving directory `/home/ims/Desktop/vlc-0.8.6f/src'<br>
make[3]: *** [all-recursive] Error 1<br>
make[3]: Leaving directory `/home/ims/Desktop/vlc-0.8.6f/src'<br>
make[2]: *** [all] Error 2<br>
make[2]: Leaving directory `/home/ims/Desktop/vlc-0.8.6f/src'<br>
make[1]: *** [all-recursive] Error 1<br>
make[1]: Leaving directory `/home/ims/Desktop/vlc-0.8.6f'<br>
make: *** [all] Error 2<br>
ims@ims-laptop:~/Desktop/vlc-0.8.6f$ <br>
++++++++++++++++++++++++++++++++++++++++++++++++<br>
<br>
the portion of code are:<br>
// CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC <br>
char recv_data[1024]; <br>
int bytes_received;<br>
vlc_t * p_vlc = NULL;<br>
playlist_item_t * p_item;<br>
<br>
playlist_t *p_playlist;<br>
p_playlist = __playlist_Create (p_vlc);<br>
<br>
char *try;<br>
try = "[ff3e::33]";<br>
<br>
p_item = playlist_ItemNew(p_playlist, try, NULL );<br>
<br>
playlist_AddItem( p_playlist, p_item, PLAYLIST_APPEND, PLAYLIST_END );<br>
<br>
playlist_Control( p_playlist, PLAYLIST_ITEMPLAY, p_item );<br>
//CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC<br>
the code not yet complete, but i face big problem during compile.<br>
<br>
Is there are other method or suggestion for me? <br>
<br>
Please help me. Thanks for you all in advance.<br>
<br>
Sincerely,<br>
<span style="text-decoration: underline;">wssoh</span><br>
</div></div></div></div><br>
</body></html>