![]() |
|
![]() |
#1 |
Member
Join Date: Mar 2012
Posts: 1
|
![]()
i think this error maybe come from conflicts between mingw header and msys header.
========== mingw stdint.h typedef signed char int8_t; msys types.h typedef char int8_t; ================ even if i resolve this conflicts new error(ctype related undefined) occured. welcome any suggestions. Master@kuh3h3 /d/new-ffmpeg/libmpc $ make [ 21%] Built target mpcdec_static [ 41%] Built target mpcpsy_static [ 56%] Built target mpcenc_static [ 60%] Built target wavformat_static [ 63%] Built target mpcgain [ 65%] Built target mpcdec_cmd [ 82%] Built target mpcenc [ 85%] Built target mpc2sv8 [ 87%] Built target mpccut Scanning dependencies of target mpcchap [ 90%] Building C object mpcchap/CMakeFiles/mpcchap.dir/mpcchap.obj In file included from D:/MSYS/include/sys/unistd.h:9:0, from D:/MSYS/include/unistd.h:6, from D:/new-ffmpeg/libmpc/mpcchap/dictionary.h:35, from D:/new-ffmpeg/libmpc/mpcchap/iniparser.h:35, from D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:23: D:/MSYS/include/sys/types.h:106:14: error: conflicting types for 'int8_t' d:\msys\mingw\bin\../lib/gcc/i686-pc-mingw32/4.6.2/../../../../i686-pc-mingw32/include/stdint.h:27:21: note: previous declaration of 'int8_t ' was here D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c: In function 'add_chaps_ini': D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:104:3: warning: implicit declaration of function 'atoll' [-Wimplicit-function-declaration] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:108:12: warning: unknown conversion type character 'l' in format [-Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:108:12: warning: unknown conversion type character 'l' in format [-Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:108:12: warning: too many arguments for format [-Wformat-extra-args] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:144:2: warning: implicit declaration of function 'ftruncate' [-Wimplicit-function-declaration] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c: In function 'add_chaps_cue': D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:194:12: warning: unknown conversion type character 'l' in format [-Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:194:12: warning: unknown conversion type character 'l' in format [-Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:194:12: warning: too many arguments for format [-Wformat-extra-args] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c: In function 'dump_chaps': D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:250:3: warning: unknown conversion type character 'l' in format [-Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:250:3: warning: format '%i' expects argument of type 'int', but argument 3 has type 'mpc_uint64_t' [- Wformat] D:/new-ffmpeg/libmpc/mpcchap/mpcchap.c:250:3: warning: too many arguments for format [-Wformat-extra-args] make[2]: *** [mpcchap/CMakeFiles/mpcchap.dir/mpcchap.obj] Error 1 make[1]: *** [mpcchap/CMakeFiles/mpcchap.dir/all] Error 2 make: *** [all] Error 2 Master@kuh3h3 /d/new-ffmpeg/libmpc $ |
![]() |
![]() |
![]() |
#2 |
Member
Join Date: Aug 2004
Posts: 5
|
![]()
What did you select as target in cmake? If you select mingw makefiles, you should use mingw32-make.exe, if you select msys makefiles everything should be compiled with the regular msys make.exe
|
![]() |
![]() |
![]() |
Thread Tools | Search this Thread |
Display Modes | |
|
|