I have the exact same error and I am unable to resolve it myself. If you are
using Ubuntu of Debian  the binary package from heroinewarrior seems to
work.

On Fri, Dec 12, 2008 at 10:13 AM, Stephane <[email protected]>wrote:

> Hello everyboby,
>
> I have a big problem with my attemp to compil cinellera 4 (from heroine
> warrior sources).
> Configure seems to be ok : no problem
> Then Itype "make" : th compilation starts and fails with this :
>
> codec_plugin.h:1277: error: expected constructor, destructor, or type
> conversion before ')' token
> codec_plugin.h:1279: error: expected unqualified-id before '<' token
> codec_plugin.h:1279: error: expected constructor, destructor, or type
> conversion before '&' token
> codec_plugin.h:1279: error: expected unqualified-id before '<' token
> codec_plugin.h:1319: error: expected unqualified-id before '<' token
> codec_plugin.h:1321: error: expected constructor, destructor, or type
> conversion before ';' token
> codec_plugin.h:1321: error: expected constructor, destructor, or type
> conversion before ';' token
> codec_plugin.h:1321: error: expected unqualified-id before '<' token
> codec_plugin.h:1323: error: expected constructor, destructor, or type
> conversion before ';' token
> codec_plugin.h:1323: error: expected constructor, destructor, or type
> conversion before ';' token
> codec_plugin.h:1323: error: expected unqualified-id before '<' token
> faad2.h:63: error: expected constructor, destructor, or type conversion
> before ';' token
> faad2.h:70: error: variable or field 'aac_close' declared void
> faad2.h:70: error: 'codec_data_t' was not declared in this scope
> faad2.h:70: error: 'ptr' was not declared in this scope
> faad2.h:73: error: expected constructor, destructor, or type conversion
> before '*' token
> faad2.h:82: error: 'codec_data_t' was not declared in this scope
> faad2.h:82: error: 'ifptr' was not declared in this scope
> faad2.h:83: error: expected primary-expression before '*' token
> faad2.h:84: error: expected primary-expression before '*' token
> faad2.h:84: error: 'ts' was not declared in this scope
> faad2.h:84: error: initializer expression list treated as compound
> expression
> faad2.h:85: error: 'codec_data_t' was not declared in this scope
> faad2.h:85: error: 'ifptr' was not declared in this scope
> faad2.h:87: error: variable or field 'aac_file_used_for_frame' declared
> void
> faad2.h:87: error: 'codec_data_t' was not declared in this scope
> faad2.h:87: error: 'ifptr' was not declared in this scope
> faad2.h:88: error: expected primary-expression before 'bytes'
> faad2.h:88: error: initializer expression list treated as compound
> expression
> faad2.h:90: error: 'codec_data_t' was not declared in this scope
> faad2.h:90: error: 'ifptr' was not declared in this scope
> faad2.h:91: error: expected primary-expression before 'ts'
> faad2.h:91: error: initializer expression list treated as compound
> expression
> ./mpeg4_sdp.h:50: error: 'lib_message_func_t' has not been declared
> ./mpeg4_sdp.h:51: error: 'lib_message_func_t' has not been declared
> faad2.cpp:38: error: expected initializer before '*' token
> faad2.cpp:119: error: variable or field 'aac_close' declared void
> faad2.cpp:119: error: redefinition of 'int aac_close'
> faad2.h:70: error: 'int aac_close' previously defined here
> faad2.cpp:119: error: 'codec_data_t' was not declared in this scope
> faad2.cpp:119: error: 'ptr' was not declared in this scope
> faad2.cpp:137: error: variable or field 'aac_do_pause' declared void
> faad2.cpp:137: error: 'codec_data_t' was not declared in this scope
> faad2.cpp:137: error: 'ifptr' was not declared in this scope
> faad2.cpp:138: error: expected ',' or ';' before '{' token
> faad2.cpp:150: error: 'codec_data_t' was not declared in this scope
> faad2.cpp:150: error: 'ptr' was not declared in this scope
> faad2.cpp:151: error: expected primary-expression before 'ts'
> faad2.cpp:152: error: expected primary-expression before 'int'
> faad2.cpp:153: error: expected primary-expression before 'int'
> faad2.cpp:154: error: expected primary-expression before '*' token
> faad2.cpp:155: error: expected primary-expression before 'buflen'
> faad2.cpp:156: error: expected primary-expression before 'void'
> faad2.cpp:156: error: initializer expression list treated as compound
> expression
> faad2.cpp:157: error: expected ',' or ';' before '{' token
> faad2.cpp:287: error: 'format_list_t' has not been declared
> faad2.cpp: In function 'int aac_codec_check(void (*)(int, const char*,
> const char*, ...), const char*, int, int, int*, const uint8_t*, uint32_t)':
> faad2.cpp:310: error: request for member 'rtpmap' in '* fptr', which is of
> non-class type 'int'
> faad2.cpp:311: error: request for member 'rtpmap' in '* fptr', which is of
> non-class type 'int'
> faad2.cpp:312: error: request for member 'rtpmap' in '* fptr', which is of
> non-class type 'int'
> faad2.cpp:316: error: request for member 'fmt_param' in '* fptr', which is
> of non-class type 'int'
> ./mpeg4_audio_config.h:63: error: too few arguments to function 'void
> decode_mpeg4_audio_config(const uint8_t*, uint32_t, mpeg4_audio_config_t*,
> bool)'
> faad2.cpp:325: error: at this point in file
> faad2.cpp: At global scope:
> faad2.cpp:356: error: expected constructor, destructor, or type conversion
> before '(' token
> make[6]: *** [faad2.lo] Erreur 1
> make[6]: quittant le répertoire «
> /home/steph/Programmes/cinelerra-4/quicktime/thirdparty/faad2-2.0/plugins/mpeg4ip
> »
> make[5]: *** [all-recursive] Erreur 1
> make[5]: quittant le répertoire «
> /home/steph/Programmes/cinelerra-4/quicktime/thirdparty/faad2-2.0/plugins »
> make[4]: *** [all-recursive] Erreur 1
> make[4]: quittant le répertoire «
> /home/steph/Programmes/cinelerra-4/quicktime/thirdparty/faad2-2.0 »
> make[3]: *** [all] Erreur 2
> make[3]: quittant le répertoire «
> /home/steph/Programmes/cinelerra-4/quicktime/thirdparty/faad2-2.0 »
> make[2]: *** [i686/faad] Erreur 2
> make[2]: quittant le répertoire «
> /home/steph/Programmes/cinelerra-4/quicktime »
> make[1]: *** [all] Erreur 2
> make[1]: quittant le répertoire « /home/steph/Programmes/cinelerra-4 »
> make: *** [all] Erreur 2
>
>
> I've tried to find solution via Google but without success. So, if anybody
> have an idea to solve this problem it should be great. Thank you in advance
> (and sorry for my poor english !)
>
> Stephane
>
>
> _______________________________________________
> Cinelerra mailing list
> [email protected]
> https://init.linpro.no/mailman/skolelinux.no/listinfo/cinelerra
>

Reply via email to