vlc compile error on Linux
Posted: 21 Mar 2006 11:55
vl c gives compile error on Red Hat Linux 9:
smb.c:101: parse error before "SMBCCTX"
smb.c:101: warning: no semicolon at end of struct or union
smb.c:102: warning: type defaults to `int' in declaration of `p_file'
smb.c:102: warning: data definition has no type or storage class
smb.c:106: parse error before '}' token
smb.c: In function `Open':
smb.c:131: `SMBCCTX' undeclared (first use in this function)
smb.c:131: (Each undeclared identifier is reported only once
smb.c:131: for each function it appears in.)
smb.c:131: `p_smb' undeclared (first use in this function)
smb.c:132: `SMBCFILE' undeclared (first use in this function)
smb.c:212: warning: implicit declaration of function `smbc_new_context'
smb.c:221: warning: implicit declaration of function `smbc_init_context'
smb.c:224: warning: implicit declaration of function `smbc_free_context'
smb.c:279: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:283: dereferencing pointer to incomplete type
smb.c:284: dereferencing pointer to incomplete type
smb.c: In function `Close':
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:309: dereferencing pointer to incomplete type
smb.c: In function `Seek':
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c: In function `Read':
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
make[1]: *** [libaccess_smb_plugin_a-smb.o] Error 1
make[1]: Leaving directory `/home/ramandeeps/Wallpapers/vlc-0.8.4a/modules/access'
please help
smb.c:101: parse error before "SMBCCTX"
smb.c:101: warning: no semicolon at end of struct or union
smb.c:102: warning: type defaults to `int' in declaration of `p_file'
smb.c:102: warning: data definition has no type or storage class
smb.c:106: parse error before '}' token
smb.c: In function `Open':
smb.c:131: `SMBCCTX' undeclared (first use in this function)
smb.c:131: (Each undeclared identifier is reported only once
smb.c:131: for each function it appears in.)
smb.c:131: `p_smb' undeclared (first use in this function)
smb.c:132: `SMBCFILE' undeclared (first use in this function)
smb.c:212: warning: implicit declaration of function `smbc_new_context'
smb.c:221: warning: implicit declaration of function `smbc_init_context'
smb.c:224: warning: implicit declaration of function `smbc_free_context'
smb.c:279: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:280: sizeof applied to an incomplete type
smb.c:283: dereferencing pointer to incomplete type
smb.c:284: dereferencing pointer to incomplete type
smb.c: In function `Close':
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:305: dereferencing pointer to incomplete type
smb.c:309: dereferencing pointer to incomplete type
smb.c: In function `Seek':
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c:330: dereferencing pointer to incomplete type
smb.c: In function `Read':
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
smb.c:357: dereferencing pointer to incomplete type
make[1]: *** [libaccess_smb_plugin_a-smb.o] Error 1
make[1]: Leaving directory `/home/ramandeeps/Wallpapers/vlc-0.8.4a/modules/access'
please help