#197 LiVES-2.0.6 won't compile against current ffmpeg

generic
closed
Salsaman
None
1
2016-01-13
2013-10-14
Alec
No

System: Arch Linux x86_64.
ffmpeg: extra/ffmpeg-1:2.0.2-2

libtool: compile: gcc -DPACKAGE_NAME=\"LiVES\" -DPACKAGE_TARNAME=\"lives\" -DPACKAGE_VERSION=\"2.0.6\" "-DPACKAGE_STRING=\"LiVES 2.0.6\"" -DPACKAGE_BUGREPORT=\"https://sourceforge.net/p/lives/bugs/\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lives\" -DVERSION=\"2.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DEXTENSIONS=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"lives\" "-DLOCALEDIR=\"\${datarootdir}/locale\"" -DPREFIX=\"/usr\" -DLiVES_VERSION=\"2.0.6\" -DHAVE_VISIBILITY=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG_INT=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DUSE_POSIX_THREADS=1 -DUSE_POSIX_THREADS_WEAK=1 -DHAVE_PTHREAD_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_H=1 -DHAVE_JACK_TRANSPORT_H=1 -DHAVE_BZLIB_H=1 -DHAVE_LADSPA_H=1 -DHAVE_LIBV4L1_VIDEODEV_H=1 -DHAVE_LINUX_VIDEODEV2_H=1 -DHAVE_FREI0R_H=1 -DHAVE_LIBRAW1394_RAW1394_H=1 -DHAVE_LIBAVC1394_AVC1394_H=1 -DHAVE_LIBAVC1394_ROM1394_H=1 -I. -D_FORTIFY_SOURCE=2 -fPIC -DPIC -Wno-deprecated-declarations -march=core2 -O2 -pipe -Wall -MT flv_decoder_la-flv_decoder.lo -MD -MP -MF .deps/flv_decoder_la-flv_decoder.Tpo -c flv_decoder.c -o flv_decoder_la-flv_decoder.o >/dev/null 2>&1
asf_decoder.c:66:21: error: return type is an incomplete type
static enum CodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag)
^
asf_decoder.c: In function 'ff_codec_get_id':
asf_decoder.c:71:7: warning: 'return' with a value, in function returning void [enabled by default]
return tags[i].id;
^
asf_decoder.c:74:5: warning: implicit declaration of function 'toupper' [-Wimplicit-function-declaration]
if( toupper((tag >> 0)&0xFF) == toupper((tags[i].tag >> 0)&0xFF)
^
asf_decoder.c:78:7: warning: 'return' with a value, in function returning void [enabled by default]
return tags[i].id;
^
asf_decoder.c:80:3: warning: 'return' with a value, in function returning void [enabled by default]
return CODEC_ID_NONE;
^
libtool: compile: gcc -DPACKAGE_NAME=\"LiVES\" -DPACKAGE_TARNAME=\"lives\" -DPACKAGE_VERSION=\"2.0.6\" "-DPACKAGE_STRING=\"LiVES 2.0.6\"" -DPACKAGE_BUGREPORT=\"https://sourceforge.net/p/lives/bugs/\" -DPACKAGE_URL=\"\" -DPACKAGE=\"lives\" -DVERSION=\"2.0.6\" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -DEXTENSIONS=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_DLFCN_H=1 -DLT_OBJDIR=\".libs/\" -DSTDC_HEADERS=1 -DGETTEXT_PACKAGE=\"lives\" "-DLOCALEDIR=\"\${datarootdir}/locale\"" -DPREFIX=\"/usr\" -DLiVES_VERSION=\"2.0.6\" -DHAVE_VISIBILITY=1 -DHAVE_STDINT_H_WITH_UINTMAX=1 -DHAVE_ALLOCA_H=1 -DHAVE_ALLOCA=1 -DHAVE_STDLIB_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETPAGESIZE=1 -DHAVE_MMAP=1 -DINTDIV0_RAISES_SIGFPE=1 -DHAVE_INTTYPES_H_WITH_UINTMAX=1 -DHAVE_UNSIGNED_LONG_LONG_INT=1 -DHAVE_UINTMAX_T=1 -DHAVE_INTTYPES_H=1 -DUSE_POSIX_THREADS=1 -DUSE_POSIX_THREADS_WEAK=1 -DHAVE_PTHREAD_RWLOCK=1 -DHAVE_PTHREAD_MUTEX_RECURSIVE=1 -DHAVE_BUILTIN_EXPECT=1 -DHAVE_ARGZ_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_LIMITS_H=1 -DHAVE_UNISTD_H=1 -DHAVE_SYS_PARAM_H=1 -DHAVE_GETCWD=1 -DHAVE_GETEGID=1 -DHAVE_GETEUID=1 -DHAVE_GETGID=1 -DHAVE_GETUID=1 -DHAVE_MEMPCPY=1 -DHAVE_MUNMAP=1 -DHAVE_STPCPY=1 -DHAVE_STRCASECMP=1 -DHAVE_STRDUP=1 -DHAVE_STRTOUL=1 -DHAVE_TSEARCH=1 -DHAVE_ARGZ_COUNT=1 -DHAVE_ARGZ_STRINGIFY=1 -DHAVE_ARGZ_NEXT=1 -DHAVE
FSETLOCKING=1 -DHAVE_DECL_FEOF_UNLOCKED=1 -DHAVE_DECL_FGETS_UNLOCKED=1 -DHAVE_ICONV=1 -DICONV_CONST= -DHAVE_NL_LOCALE_NAME=1 -DHAVE_LONG_LONG_INT=1 -DHAVE_WCHAR_T=1 -DHAVE_WINT_T=1 -DHAVE_INTMAX_T=1 -DHAVE_POSIX_PRINTF=1 -DHAVE_STDINT_H=1 -DHAVE_STDINT_H=1 -DHAVE_STDDEF_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_ASPRINTF=1 -DHAVE_FWPRINTF=1 -DHAVE_PUTENV=1 -DHAVE_SETENV=1 -DHAVE_SETLOCALE=1 -DHAVE_SNPRINTF=1 -DHAVE_WCSLEN=1 -DHAVE_DECLSNPRINTF=0 -DHAVE_DECLSNWPRINTF=0 -DHAVE_DECL_GETC_UNLOCKED=1 -DHAVE_LANGINFO_CODESET=1 -DHAVE_LC_MESSAGES=1 -DENABLE_NLS=1 -DHAVE_GETTEXT=1 -DHAVE_DCGETTEXT=1 -DHAVE_LIBDL=1 -DHAVE_POSIX_MEMALIGN=1 -DHAVE_LINUX_JOYSTICK_H=1 -DHAVE_JACK_JACK_H=1 -DHAVE_JACK_TRANSPORT_H=1 -DHAVE_BZLIB_H=1 -DHAVE_LADSPA_H=1 -DHAVE_LIBV4L1_VIDEODEV_H=1 -DHAVE_LINUX_VIDEODEV2_H=1 -DHAVE_FREI0R_H=1 -DHAVE_LIBRAW1394_RAW1394_H=1 -DHAVE_LIBAVC1394_AVC1394_H=1 -DHAVE_LIBAVC1394_ROM1394_H=1 -I. -D_FORTIFY_SOURCE=2 -fPIC -DPIC -DHAVE_THEORA=1 -I/usr/include/schroedinger-1.0 -I/usr/include/orc-0.4 -DHAVE_DIRAC=1 -march=core2 -O2 -pipe -Wall -MT ogg_decoder_la-ogg_decoder.lo -MD -MP -MF .deps/ogg_decoder_la-ogg_decoder.Tpo -c ogg_decoder.c -o ogg_decoder_la-ogg_decoder.o >/dev/null 2>&1
asf_decoder.c: In function 'attach_stream':
asf_decoder.c:1351:30: error: void value not ignored as it ought to be
priv->st->codec->codec_id = ff_codec_get_id((const AVCodecTag)(codec_bmp_tags), tag1);
^
asf_decoder.c:2006:3: warning: implicit declaration of function 'avcodec_open' [-Wimplicit-function-declaration]
if ((retval=avcodec_open(vidst->codec, codec)) < 0) {
^
make[3]:
** [asf_decoder_la-asf_decoder.lo] Error 1

Discussion

  • Salsaman

    Salsaman - 2013-10-15

    Thanks. Testing a fix right now.

     
  • Salsaman

    Salsaman - 2013-10-15
    • status: open --> accepted
    • assigned_to: Salsaman
     
  • Salsaman

    Salsaman - 2013-10-16

    Fixed in subversion.

     
  • Schoinobates Volans

    Since it is fixed (for more than two years), how about closing this bug?

     
  • Salsaman

    Salsaman - 2016-01-13
    • status: accepted --> closed
     
  • Salsaman

    Salsaman - 2016-01-13

    Thanks. Closing as fixed.

     

Log in to post a comment.