2

Mac OS X Mountain Lion でClementineをビルドしようとしましたが、

gstreamerの依存関係に多くのエラーが発生してしまいました。クレメンタインのエラーは次のようになります

 /usr/lib/clang/4.2/include/stddef.h:31: syntax error, unexpected '(' in 'typedef __typeof__(((int*)0)-((int*)0)) ptrdiff_t;' at '('
 /usr/lib/clang/4.2/include/stddef.h:35: syntax error, unexpected SIZEOF in 'typedef __typeof__(sizeof(int)) size_t;' at 'sizeof'
/usr/include/time.h:131: syntax error, unexpected identifier in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at 'size_t'
/usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ','
/usr/include/time.h:131: syntax error, unexpected ',', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ','
/usr/include/time.h:131: syntax error, unexpected ')', expecting identifier or '(' in 'size_t strftime(char * restrict, size_t, const char * restrict, const struct tm * restrict) __asm("_" "strftime" );' at ')'
/usr/include/pthread.h:256: syntax error, unexpected identifier in '                                      size_t * restrict);' at 'size_t'
/usr/include/pthread.h:265: syntax error, unexpected identifier in '                                      void ** restrict, size_t * restrict);' at 'size_t'
/usr/include/pthread.h:269: syntax error, unexpected identifier in '                                      size_t * restrict);' at 'size_t'
/usr/include/pthread.h:273: syntax error, unexpected identifier in 'int pthread_attr_setguardsize(pthread_attr_t *, size_t );' at 'size_t'
/usr/include/pthread.h:282: syntax error, unexpected identifier in '                                      void *, size_t );' at 'size_t'
/usr/include/pthread.h:285: syntax error, unexpected identifier in 'int pthread_attr_setstacksize(pthread_attr_t *, size_t );' at 'size_t'
/usr/include/pthread.h:377: syntax error, unexpected identifier in 'int pthread_getname_np(pthread_t,char*,size_t) __attribute__((availability(macosx,introduced=10.6)));' at 'size_t'
/usr/include/pthread.h:384: syntax error, unexpected identifier in 'size_t pthread_get_stacksize_np(pthread_t);' at 'size_t'
/usr/include/stdio.h:255: syntax error, unexpected identifier in 'size_t fread(void * restrict, size_t, size_t, FILE * restrict);' at 'size_t'
/usr/include/stdio.h:255: syntax error, unexpected ',', expecting identifier or '(' in 'size_t fread(void * restrict, size_t, size_t, FILE * restrict);' at ','

私のシステムでは、Xcode4.6 をコマンドライン ツールと共にインストールし、MacPorts と HomeBrew もインストールしました。3つのシステムの間に矛盾があるのは問題でしょうか? プロジェクトのメイクファイルにさらに -I を追加しようとしましたが、エラーが修正されていないようです。

4

0 に答える 0