Hi Streamers,
I'm facing the below errors when compile VLC. It seems that it is related with samba settings.
source='smb.c' object='libaccess_smb_plugin_a-smb.o' libtool=no \
depfile='.deps/libaccess_smb_plugin_a-smb.Po' tmpdepfile='.deps/libaccess_smb_plugin_a-smb.TPo' \
depmode=gcc3 /bin/sh ../../autotools/depcomp \
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -DSYS_LINUX -I../../include `top_builddir="../.." ../../vlc-config --cflags plugin access_smb` -Wsign-compare -Wall -pipe -c -o libaccess_smb_plugin_a-smb.o `test -f 'smb.c' || echo './'`smb.c
smb.c:102: parse error before "SMBCCTX"
smb.c:102: warning: no semicolon at end of struct or union
smb.c:103: warning: type defaults to `int' in declaration of `p_file'
smb.c:103: warning: data definition has no type or storage class
smb.c:107: parse error before '}' token
smb.c: In function `Open':
smb.c:132: `SMBCCTX' undeclared (first use in this function)
smb.c:132: (Each undeclared identifier is reported only once
smb.c:132: for each function it appears in.)
smb.c:132: `p_smb' undeclared (first use in this function)
smb.c:133: `SMBCFILE' undeclared (first use in this function)
smb.c:213: warning: implicit declaration of function `smbc_new_context'
smb.c:222: warning: implicit declaration of function `smbc_init_context'
smb.c:225: warning: implicit declaration of function `smbc_free_context'
smb.c:280: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:281: sizeof applied to an incomplete type
smb.c:284: dereferencing pointer to incomplete type
smb.c:285: dereferencing pointer to incomplete type
smb.c: In function `Close':
smb.c:306: dereferencing pointer to incomplete type
smb.c:306: dereferencing pointer to incomplete type
smb.c:306: dereferencing pointer to incomplete type
smb.c:310: dereferencing pointer to incomplete type
smb.c: In function `Seek':
smb.c:331: dereferencing pointer to incomplete type
smb.c:331: dereferencing pointer to incomplete type
smb.c:331: dereferencing pointer to incomplete type
smb.c: In function `Read':
smb.c:358: dereferencing pointer to incomplete type
smb.c:358: dereferencing pointer to incomplete type
smb.c:358: dereferencing pointer to incomplete type
make[4]: *** [libaccess_smb_plugin_a-smb.o] Error 1
make[4]: Leaving directory `/root/videolan/vlc-0.8.4/modules/access'
make[3]: *** [all-modules] Error 1
make[3]: Leaving directory `/root/videolan/vlc-0.8.4/modules/access'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/root/videolan/vlc-0.8.4/modules'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/root/videolan/vlc-0.8.4'
make: *** [all] Error 2