Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Can't compile latest version from CVS

Help
Andrey
2012-10-14
2013-05-29
  • Andrey
    Andrey
    2012-10-14

    metadata.o: In function `GetVideoMetadata':
    metadata.c:727: undefined reference to `av_strerror'

    This is the only error that stops it from compiling.

     
  • Jeff Joker
    Jeff Joker
    2013-01-06

    I have the same issue

     
  • Jeff Joker
    Jeff Joker
    2013-01-06

    Surely due to a too old version of ffmpeg
    I updated the dependency libs and it works

     

  • Anonymous
    2013-03-06

    So what does that mean? I am stuck in lenny for my little NAS and I would like to know how to get past that point.

     
  • Craig Chambers
    Craig Chambers
    2013-03-07

    I presume that it means that you either have to compile (or source pre-compiled)  new versions of those dependencies to bring them up to the required versions, or stick with an older version of minidlna.

     

  • Anonymous
    2013-03-08

    So download ffmpeg and compile with what exact options? If anyone knows, please share the info.

     
  • Justin Maggard
    Justin Maggard
    2013-03-09

    I just checked in some changes to CVS to fix this on old ffmpeg version.  Try pulling the latest code and give it a shot.

     

  • Anonymous
    2013-03-11

    Unfortunately it isn't fixed. I still get the same error.

    metadata.o: In function `GetVideoMetadata':
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:741: undefined reference to `av_strerror'
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:1519: undefined reference to `av_metadata_get'
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:1519: undefined reference to `av_metadata_get'
    collect2: ld returned 1 exit status

     
  • Justin Maggard
    Justin Maggard
    2013-03-11

    What is your libavutil package version?

     

  • Anonymous
    2013-03-16

    debian-armel:~# apt-show-versions libavutil
    libavutil not installed (even not available)
    .
    .
    .
    :(

     
  • Justin Maggard
    Justin Maggard
    2013-03-25

    How about this?

    # dpkg -l libavutil*

     

  • Anonymous
    2013-04-08

    Hey jmaggard, here is the output.

    debian-armel:~# dpkg -l libavutil*
    Desired=Unknown/Install/Remove/Purge/Hold
    | Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
    |/ Err?=(none)/Hold/Reinst-required/X=both-problems (Status,Err: uppercase=bad)
    ||/ Name           Version        Description
    +++-==============-==============-============================================
    ii  libavutil-dev  0.svn20080206- development files for libavutil
    un  libavutil-unst <none>         (no description available)
    ii  libavutil49    0.svn20080206- ffmpeg utility library
    un  libavutilcvs-d <none>         (no description available)
    un  libavutilcvs49 <none>         (no description available)
    un  libavutilcvs49 <none>         (no description available)
    debian-armel:~#

     
  • Justin Maggard
    Justin Maggard
    2013-04-09

    It works fine for me on lenny with code from CVS, both HEAD and v1-0-stable.  I'm going to do a new release in the next week or so, so I suppose you could try it then.

    ii  libavutil-dev                                   0.svn20080206-18+lenny3                         development files for libavutil
    ii  libavutil49                                     0.svn20080206-18+lenny3                         ffmpeg utility library

     

  • Anonymous
    2013-04-11

    Still getting

      CCLD     minidlnad
    metadata.o: In function `GetVideoMetadata':
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:741: undefined reference to `av_strerror'
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:1519: undefined reference to `av_metadata_get'
    /media/Data/Public/compiles/compiles/minidlna/metadata.c:1519: undefined reference to `av_metadata_get'
    collect2: ld returned 1 exit status
    make[2]: *** [minidlnad] Error 1
    make[2]: Leaving directory `/media/Data/Public/compiles/compiles/minidlna'
    make[1]: *** [all-recursive] Error 1
    make[1]: Leaving directory `/media/Data/Public/compiles/compiles/minidlna'
    make: *** [all] Error 2
    

    And yes, I have the

    ii  libavutil-dev          0.svn20080206-18+lenny development files for libavutil
    un  libavutil-unstripped-4 <none>                 (no description available)
    ii  libavutil49            0.svn20080206-18+lenny ffmpeg utility library
    

    Maybe I am downloading a wrong version?
    I am doing it like that:
    cvs -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna login (and press enter)
    cvs -z3 -d:pserver:anonymous@minidlna.cvs.sourceforge.net:/cvsroot/minidlna co -P minidlna

     

  • Anonymous
    2013-04-11

    Oh, I forgot to say that my installation method is like that

    sh autogen.sh
    ./configure
    make <- problem here
    make install
    
     

  • Anonymous
    2013-04-19

    Ok, I couldn't make it with the CVS but the stable version (I mean download directly the tar file and then untar it) works/compiles without an error…