postproc compile error

VLC for Android and Chrome OS specific usage questions
ROOKIE12
New Cone
New Cone
Posts: 7
Joined: 26 Jun 2012 11:06

postproc compile error

Postby ROOKIE12 » 21 Aug 2012 13:28

I got some error msgs during compilation.

what should i do?


cd postproc && make install-libs install-headers
make[1]: Entering directory `/Android/android/vlc/contrib/android/postproc'
CC libpostproc/postprocess.o
In file included from /Android/android/vlc/contrib/arm-linux-androideabi/include/libavutil/log.h:26:0,
from /Android/android/vlc/contrib/arm-linux-androideabi/include/libavutil/avassert.h:32,
from libpostproc/postprocess.c:78:
/Android/android/vlc/contrib/arm-linux-androideabi/include/libavutil/attributes.h:36:0: warning: "av_always_inline" redefined [enabled by default]
./config.h:14:0: note: this is the location of the previous definition
In file included from libpostproc/postprocess.c:89:0:
libpostproc/postprocess_internal.h:131:5: error: expected specifier-qualifier-list before 'DECLARE_ALIGNED'
libpostproc/postprocess.c:130:19: error: expected declaration specifiers or '...' before numeric constant
libpostproc/postprocess.c:130:27: error: unknown type name 'deringThreshold'
libpostproc/postprocess.c: In function 'isHorizDC_C':
libpostproc/postprocess.c:207:28: error: 'PPContext' has no member named 'nonBQP'
libpostproc/postprocess.c:207:38: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c:220:21: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c: In function 'isVertDC_C':
libpostproc/postprocess.c:230:28: error: 'PPContext' has no member named 'nonBQP'
libpostproc/postprocess.c:230:38: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c:245:21: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c: In function 'horizClassify_C':
libpostproc/postprocess.c:280:45: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c: In function 'vertClassify_C':
libpostproc/postprocess.c:292:44: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c: In function 'doHorizDefFilter_C':
libpostproc/postprocess.c:307:9: error: implicit declaration of function 'FFABS' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:307:37: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c:312:13: error: implicit declaration of function 'FFMIN' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:313:13: error: implicit declaration of function 'FFMAX' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:316:13: error: implicit declaration of function 'FFSIGN' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c: In function 'doHorizLowPass_C':
libpostproc/postprocess.c:344:53: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c:345:51: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c: In function 'horizX1Filter':
libpostproc/postprocess.c:387:9: error: implicit declaration of function 'av_malloc' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:387:13: warning: assignment makes pointer from integer without a cast [enabled by default]
libpostproc/postprocess.c: In function 'do_a_deblock_C':
libpostproc/postprocess.c:440:20: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess.c:441:28: error: 'PPContext' has no member named 'nonBQP'
libpostproc/postprocess.c:441:38: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c:457:21: error: 'PPContext' has no member named 'ppMode'
In file included from libpostproc/postprocess.c:573:0:
libpostproc/postprocess_template.c: In function 'doVertLowPass_C':
libpostproc/postprocess_template.c:331:53: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess_template.c:332:53: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess_template.c: In function 'vertX1Filter_C':
libpostproc/postprocess_template.c:478:18: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess_template.c: In function 'doVertDefFilter_C':
libpostproc/postprocess_template.c:1022:37: error: 'PPContext' has no member named 'QP'
In file included from libpostproc/postprocess.c:573:0:
libpostproc/postprocess_template.c: In function 'dering_C':
libpostproc/postprocess_template.c:1286:21: error: 'PPContext' has no member named 'QP'
libpostproc/postprocess_template.c:1299:19: error: 'deringThreshold' undeclared (first use in this function)
libpostproc/postprocess_template.c:1299:19: note: each undeclared identifier is reported only once for each function it appears in
libpostproc/postprocess_template.c: In function 'postProcess_C':
libpostproc/postprocess_template.c:3179:5: error: implicit declaration of function 'DECLARE_ALIGNED' [-Werror=implicit-function-declaration]
libpostproc/postprocess_template.c:3179:24: error: expected expression before 'PPContext'
libpostproc/postprocess_template.c:3180:5: error: ISO C90 forbids mixed declarations and code [-Werror=declaration-after-statement]
libpostproc/postprocess_template.c:3184:31: error: 'c' undeclared (first use in this function)
libpostproc/postprocess.c: In function 'postProcess':
libpostproc/postprocess.c:625:6: error: 'PPContext' has no member named 'ppMode'
libpostproc/postprocess.c: In function 'pp_get_mode_by_name_and_quality':
libpostproc/postprocess.c:726:11: warning: assignment makes pointer from integer without a cast [enabled by default]
libpostproc/postprocess.c:886:9: error: implicit declaration of function 'av_free' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c: In function 'reallocAlign':
libpostproc/postprocess.c:898:5: error: implicit declaration of function 'av_mallocz' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:898:7: warning: assignment makes pointer from integer without a cast [enabled by default]
libpostproc/postprocess.c: In function 'reallocBuffers':
libpostproc/postprocess.c:906:6: error: 'PPContext' has no member named 'stride'
libpostproc/postprocess.c:907:6: error: 'PPContext' has no member named 'qpStride'
libpostproc/postprocess.c:909:29: error: 'PPContext' has no member named 'tempDst'
libpostproc/postprocess.c:910:29: error: 'PPContext' has no member named 'tempSrc'
libpostproc/postprocess.c:918:33: error: 'PPContext' has no member named 'tempBlurred'
libpostproc/postprocess.c:919:33: error: 'PPContext' has no member named 'tempBlurredPast'
libpostproc/postprocess.c:922:29: error: 'PPContext' has no member named 'deintTemp'
libpostproc/postprocess.c:923:29: error: 'PPContext' has no member named 'nonBQPTable'
libpostproc/postprocess.c:924:29: error: 'PPContext' has no member named 'stdQPTable'
libpostproc/postprocess.c:925:29: error: 'PPContext' has no member named 'forcedQPTable'
libpostproc/postprocess.c: In function 'pp_get_context':
libpostproc/postprocess.c:935:19: warning: initialization makes pointer from integer without a cast [enabled by default]
libpostproc/postprocess.c:936:5: error: implicit declaration of function 'FFALIGN' [-Werror=implicit-function-declaration]
libpostproc/postprocess.c:941:6: error: 'PPContext' has no member named 'cpuCaps'
libpostproc/postprocess.c:943:10: error: 'PPContext' has no member named 'hChromaSubSample'
libpostproc/postprocess.c:944:10: error: 'PPContext' has no member named 'vChromaSubSample'
libpostproc/postprocess.c:946:10: error: 'PPContext' has no member named 'hChromaSubSample'
libpostproc/postprocess.c:947:10: error: 'PPContext' has no member named 'vChromaSubSample'
libpostproc/postprocess.c:952:6: error: 'PPContext' has no member named 'frameNum'
libpostproc/postprocess.c: In function 'pp_free_context':
libpostproc/postprocess.c:961:33: error: 'PPContext' has no member named 'tempBlurred'
libpostproc/postprocess.c:962:33: error: 'PPContext' has no member named 'tempBlurredPast'
libpostproc/postprocess.c:966:14: error: 'PPContext' has no member named 'tempDst'
libpostproc/postprocess.c:967:14: error: 'PPContext' has no member named 'tempSrc'
libpostproc/postprocess.c:968:14: error: 'PPContext' has no member named 'deintTemp'
libpostproc/postprocess.c:969:14: error: 'PPContext' has no member named 'stdQPTable'
libpostproc/postprocess.c:970:14: error: 'PPContext' has no member named 'nonBQPTable'
libpostproc/postprocess.c:971:14: error: 'PPContext' has no member named 'forcedQPTable'
libpostproc/postprocess.c: In function 'pp_postprocess':
libpostproc/postprocess.c:992:9: error: 'PPContext' has no member named 'stride'
libpostproc/postprocess.c:992:34: error: 'PPContext' has no member named 'qpStride'
libpostproc/postprocess.c:994:42: error: 'PPContext' has no member named 'stride'
libpostproc/postprocess.c:995:31: error: 'PPContext' has no member named 'qpStride'
libpostproc/postprocess.c:999:20: error: 'PPContext' has no member named 'forcedQPTable'
libpostproc/postprocess.c:1002:39: error: 'PPContext' has no member named 'forcedQPTable'
libpostproc/postprocess.c:1004:39: error: 'PPContext' has no member named 'forcedQPTable'
libpostproc/postprocess.c:1011:26: error: 'PPContext' has no member named 'stdQPTable'
libpostproc/postprocess.c:1014:14: error: 'PPContext' has no member named 'stdQPTable'
libpostproc/postprocess.c:1016:20: error: 'PPContext' has no member named 'stdQPTable'
libpostproc/postprocess.c:1036:30: error: 'PPContext' has no member named 'nonBQPTable'
libpostproc/postprocess.c:1039:18: error: 'PPContext' has no member named 'nonBQPTable'
libpostproc/postprocess.c:1045:22: error: 'PPContext' has no member named 'nonBQPTable'
libpostproc/postprocess.c:1057:25: error: 'PPContext' has no member named 'hChromaSubSample'
libpostproc/postprocess.c:1058:25: error: 'PPContext' has no member named 'vChromaSubSample'
cc1: some warnings being treated as errors

make[1]: *** [libpostproc/postprocess.o] Error 1
make[1]: Leaving directory `/Android/android/vlc/contrib/android/postproc'
make: *** [.postproc] Error 2

edwardw
Big Cone-huna
Big Cone-huna
Posts: 2346
Joined: 24 Jun 2012 23:36
VLC version: 3.0.0-git

Re: postproc compile error

Postby edwardw » 21 Aug 2012 14:33

Can you clean your contribs and try again?

dongyafeiying
Blank Cone
Blank Cone
Posts: 22
Joined: 17 Aug 2012 03:36

Re: postproc compile error

Postby dongyafeiying » 22 Aug 2012 04:04

I got the same errors, help

In file included from libpostproc/postprocess.c:89:
libpostproc/postprocess_internal.h:131:5: error: type name requires a specifier or qualifier
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:131:21: error: expected parameter declarator
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:131:21: error: expected ')'
libpostproc/postprocess_internal.h:131:20: note: to match this '('
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:131:5: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^~~~~~~~~~~~~~~
libpostproc/postprocess_internal.h:132:5: error: type name requires a specifier or qualifier
DECLARE_ALIGNED(8, uint64_t, packedYScale);
^
libpostproc/postprocess_internal.h:132:21: error: expected parameter declarator
DECLARE_ALIGNED(8, uint64_t, packedYScale);
^
libpostproc/postprocess_internal.h:132:21: error: expected ')'
libpostproc/postprocess_internal.h:132:20: note: to match this '('
DECLARE_ALIGNED(8, uint64_t, packedYScale);
^
libpostproc/postprocess_internal.h:132:5: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
DECLARE_ALIGNED(8, uint64_t, packedYScale);
^~~~~~~~~~~~~~~
libpostproc/postprocess_internal.h:132:5: error: duplicate member 'DECLARE_ALIGNED'
libpostproc/postprocess_internal.h:131:5: note: previous declaration is here
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:144:5: error: type name requires a specifier or qualifier
DECLARE_ALIGNED(8, uint64_t, pQPb);
^
libpostproc/postprocess_internal.h:144:21: error: expected parameter declarator
DECLARE_ALIGNED(8, uint64_t, pQPb);
^
libpostproc/postprocess_internal.h:144:21: error: expected ')'
libpostproc/postprocess_internal.h:144:20: note: to match this '('
DECLARE_ALIGNED(8, uint64_t, pQPb);
^
libpostproc/postprocess_internal.h:144:5: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
DECLARE_ALIGNED(8, uint64_t, pQPb);
^~~~~~~~~~~~~~~
libpostproc/postprocess_internal.h:144:5: error: duplicate member 'DECLARE_ALIGNED'
libpostproc/postprocess_internal.h:131:5: note: previous declaration is here
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:145:5: error: type name requires a specifier or qualifier
DECLARE_ALIGNED(8, uint64_t, pQPb2);
^
libpostproc/postprocess_internal.h:145:21: error: expected parameter declarator
DECLARE_ALIGNED(8, uint64_t, pQPb2);
^
libpostproc/postprocess_internal.h:145:21: error: expected ')'
libpostproc/postprocess_internal.h:145:20: note: to match this '('
DECLARE_ALIGNED(8, uint64_t, pQPb2);
^
libpostproc/postprocess_internal.h:145:5: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
DECLARE_ALIGNED(8, uint64_t, pQPb2);
^~~~~~~~~~~~~~~
libpostproc/postprocess_internal.h:145:5: error: duplicate member 'DECLARE_ALIGNED'
libpostproc/postprocess_internal.h:131:5: note: previous declaration is here
DECLARE_ALIGNED(8, uint64_t, packedYOffset);
^
libpostproc/postprocess_internal.h:147:5: error: type name requires a specifier or qualifier
DECLARE_ALIGNED(8, uint64_t, mmxDcOffset)[64];
^
libpostproc/postprocess_internal.h:147:21: error: expected parameter declarator
DECLARE_ALIGNED(8, uint64_t, mmxDcOffset)[64];
^
libpostproc/postprocess_internal.h:147:21: error: expected ')'
libpostproc/postprocess_internal.h:147:20: note: to match this '('
DECLARE_ALIGNED(8, uint64_t, mmxDcOffset)[64];
^
libpostproc/postprocess_internal.h:147:5: warning: type specifier missing, defaults to 'int'
[-Wimplicit-int]
DECLARE_ALIGNED(8, uint64_t, mmxDcOffset)[64];
^~~~~~~~~~~~~~~
libpostproc/postprocess_internal.h:147:20: error: function cannot return array type 'int [64]'
DECLARE_ALIGNED(8, uint64_t, mmxDcOffset)[64];
^
fatal error: too many errors emitted, stopping now [-ferror-limit=]
6 warnings and 20 errors generated.
make[1]: *** [libpostproc/postprocess.o] Error 1
make: *** [.postproc] Error 2

dongyafeiying
Blank Cone
Blank Cone
Posts: 22
Joined: 17 Aug 2012 03:36

Re: postproc compile error

Postby dongyafeiying » 29 Aug 2012 02:37

use lion10.8 and xcode 4.4.1 ,have a try


Return to “VLC for Android and Chrome OS”

Who is online

Users browsing this forum: No registered users and 12 guests