|
From: | Giulio . |
Subject: | Re: [Linphone-developers] FW: ORTP make error on mac Os x |
Date: | Fri, 24 Oct 2014 10:47:43 +0200 |
Hi Guillaume,
I'm using MacOS 10.8.5. Whit make V=1 it works, but now when I'm run make command on linphone lib I've the error: f ! test -f ./gitversion.h ; then \ /bin/echo -n "#define GIT_VERSION \"unknown\" " > ./gitversion.h ;\ fi CC videofilters/videoenc.lo In file included from videofilters/videoenc.c:24: ../src/utils/ffmpeg-priv.h:91:17: error: conflicting types for 'avcodec_alloc_context3' AVCodecContext *avcodec_alloc_context3(AVCodec *codec); ^ /usr/local/include/libavcodec/avcodec.h:3255:17: note: previous declaration is here AVCodecContext *avcodec_alloc_context3(const AVCodec *codec); ^ In file included from videofilters/videoenc.c:24: ../src/utils/ffmpeg-priv.h:95:5: error: conflicting types for 'avcodec_open2' int avcodec_open2 (AVCodecContext *avctx, const AVCodec *codec, /*AVDict... ^ /usr/local/include/libavcodec/avcodec.h:3403:5: note: previous declaration is here int avcodec_open2(AVCodecContext *avctx, const AVCodec *codec, AVDiction... ^ 2 errors generated. make[5]: *** [videofilters/videoenc.lo] Error 1 make[4]: *** [all] Error 2 make[3]: *** [all-recursive] Error 1 make[2]: *** [all] Error 2 make[1]: *** [all-recursive] Error 1 make: *** [all] Error 2 I'm trying to reinstall ffmpeg lib, but when I run make command I receive the error: libavformat/cache.c:67:5: error: implicit declaration of function 'unlink' is invalid in C99 [-Werror,-Wimplicit-function-declaration] unlink(buffername); ^ libavformat/cache.c:79:13: error: implicit declaration of function 'read' is invalid in C99 [-Werror,-Wimplicit-function-declaration] r = read(c->fd, buf, FFMIN(size, c->end - c->pos)); ^ libavformat/cache.c:79:13: note: did you mean 'fread'? /usr/include/stdio.h:255:9: note: 'fread' declared here size_t fread(void * __restrict, size_t, size_t, FILE * __restrict); ^ libavformat/cache.c:86:21: error: implicit declaration of function 'write' is invalid in C99 [-Werror,-Wimplicit-function-declaration] int r2= write(c->fd, buf, r); ^ libavformat/cache.c:86:21: note: did you mean 'fwrite'? /usr/include/stdio.h:262:9: note: 'fwrite' declared here size_t fwrite(const void * __restrict, size_t, size_t, FILE * __restri... ^ libavformat/cache.c:110:10: error: implicit declaration of function 'lseek' is invalid in C99 [-Werror,-Wimplicit-function-declaration] pos= lseek(c->fd, pos, whence); ^ libavformat/cache.c:110:10: note: did you mean 'fseek'? /usr/include/stdio.h:259:6: note: 'fseek' declared here int fseek(FILE *, long, int); ^ libavformat/cache.c:127:5: error: implicit declaration of function 'close' is invalid in C99 [-Werror,-Wimplicit-function-declaration] close(c->fd); ^ 5 errors generated. make: *** [libavformat/cache.o] Error 1 From: address@hidden Date: Fri, 24 Oct 2014 09:37:08 +0200 To: address@hidden Subject: Re: [Linphone-developers] FW: ORTP make error on mac Os x What is the version of Mac OS that you're using? To me it looks like a version that is too old. Can you make V=1 ? On Thu, Oct 23, 2014 at 9:14 PM, Giulio . <address@hidden> wrote:
_______________________________________________ Linphone-developers mailing list address@hidden https://lists.nongnu.org/mailman/listinfo/linphone-developers |
[Prev in Thread] | Current Thread | [Next in Thread] |