Make errors

Help
2012-07-01
2013-05-30
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Getting the following when "make install"

    bufferreader.cpp:439: error: â::dvdnav_describe_title_chaptersâ has not been declared
    make[4]: *** [bufferreader.o] Error 1
    make[4]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins/dvdnav'
    make[3]: *** [sub-dvdnav-install_subtargets-ordered] Error 2
    make[3]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins'
    make[2]: *** [sub-plugins-install_subtargets-ordered] Error 2
    make[2]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream'
    make[1]: *** [sub-lxistream-install_subtargets-ordered] Error 2
    make[1]: Leaving directory `/root/devel/lxi/lximedia/src'
    make: *** [sub-src-install_subtargets-ordered] Error 2
    
     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Well, its the latest I can find for CENTOS 6

    Package libdvdnav-devel-0.1.10-3.el6.rf.i686 already installed and latest version
    
     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Installed 4.1.4-0.1 of libdvdnav-devel, now I am getting this

    In file included from /usr/include/dvdnav/dvdnav.h:35,
                     from bufferreader.h:24,
                     from formatprober.cpp:19:
    /usr/include/dvdnav/dvd_types.h:51: error: âuint32_tâ does not name a type
    /usr/include/dvdnav/dvd_types.h:53: error: âuint16_tâ does not name a type
    /usr/include/dvdnav/dvd_types.h:54: error: âuint32_tâ does not name a type
    /usr/include/dvdnav/dvd_types.h:57: error: âuint32_tâ does not name a type
    make[4]: *** [formatprober.o] Error 1
    make[4]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins/dvdnav'
    make[3]: *** [sub-dvdnav-make_default-ordered] Error 2
    make[3]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins'
    make[2]: *** [sub-plugins-make_default-ordered] Error 2
    make[2]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream'
    make[1]: *** [sub-lxistream-make_default-ordered] Error 2
    make[1]: Leaving directory `/root/devel/lxi/lximedia/src'
    make: *** [sub-src-make_default-ordered] Error 2
    
     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Right, and how do I use this patch

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Ok, here are more errors

    ffmpegcommon.h:60: error: âAVSampleFormatâ in namespace â::â does not name a type
    ffmpegcommon.h:61: error: â::AVSampleFormatâ has not been declared
    make[4]: *** [lxistream_ffmpeg.gch/c++] Error 1
    make[4]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins/ffmpeg'
    make[3]: *** [sub-ffmpeg-make_default-ordered] Error 2
    make[3]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream/plugins'
    make[2]: *** [sub-plugins-make_default-ordered] Error 2
    make[2]: Leaving directory `/root/devel/lxi/lximedia/src/lxistream'
    make[1]: *** [sub-lxistream-make_default-ordered] Error 2
    make[1]: Leaving directory `/root/devel/lxi/lximedia/src'
    make: *** [sub-src-make_default-ordered] Error 2
    
     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    it seems to be ffmpeg 0.6.5-1

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Ok, got sofar, manage to find a newer ffmpeg.
    Now the following errors comes up. obviously something is missing

    v4l2input.cpp:20:21: error: stropts.h: No such file or directory
    make[4]: *** [v4l2input.o] Error 1
    make[4]: Leaving directory `/root/devel/lximedia/src/lxistream/plugins/v4l'
    make[3]: *** [sub-v4l-make_default-ordered] Error 2
    make[3]: Leaving directory `/root/devel/lximedia/src/lxistream/plugins'
    make[2]: *** [sub-plugins-make_default-ordered] Error 2
    make[2]: Leaving directory `/root/devel/lximedia/src/lxistream'
    make[1]: *** [sub-lxistream-make_default-ordered] Error 2
    make[1]: Leaving directory `/root/devel/lximedia/src'
    make: *** [sub-src-make_default-ordered] Error 2
    
     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Ok seems to be a common issue  "stropts.h" does not exist in linux apperantly

     
  • Alex Admiraal
    Alex Admiraal
    2012-07-01

    I don't think this header is really needed, I removed it and everything still compiles. I've committed the patch to SVN again.

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    I created a dummy-file in /usr/include

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Now I got this error

    Testing FFMpegTest
    QSYSTEM: FFMpegTest::AudioEncodeDecode() AudioEncoder: Could not open audio codec dca
    QFATAL : FFMpegTest::AudioEncodeDecode() Failed to open audio encoder for "dca".
    FAIL!  : FFMpegTest::AudioEncodeDecode() Received a fatal error.
       Loc: [Unknown file(0)]
    
     
  • Alex Admiraal
    Alex Admiraal
    2012-07-01

    We're almost there … I've committed another patch to SVN again.

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Finally got this solved, compiled at the end without problems.
    It seems like libavcodecs is missing in the ffmpeg package.

     
  • Alex Admiraal
    Alex Admiraal
    2012-07-01

    Great! Thanks for the feedback, this helps making the code more portable.

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Btw, how to install backend plus browserpart only, since I am running a headless system.

     
  • Alex Admiraal
    Alex Admiraal
    2012-07-01

    Only start lximcbackend, this will open a HTTP server on port 4280. You can use a webbrowser on a different system to configure. The frontend is also installed by make install, but will take only minimal space.

    There is a startup script for Debian in deploy/debian/lximediacenter1.init this is demonstrates how to automatically start the backend.

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Well, this is what I have:
    CentOS 6.2 minimum install running without GUI nor X.
    The box is based on a Intel ATOM 330 dualcore @1,6GHz  with 1 GB memory.
    I have one 10G system HD and 2x3TB data-disks mounted with fuse on one single mountpoint (both disks shows up as one single 6 TB Disk, no LVM)

    I had to enable a few repos, ATRpms, ATRpms-testing and linuxtech, in order to get all the correct libraries.
    qmake does not exist anymore it's called qmake-qt4 now.
    Re the "stropts.h"  issue, I created an empty file in /usr/include with that name.
    For now, I did a "make clean" so I can get a clean compilation, will use checkinstall to do the "make install" thing

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Right, I should be able to use that one straight of in init.d

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-01

    Strange still got the

    Testing FFMpegTest QSYSTEM: FFMpegTest::AudioEncodeDecode() AudioEncoder: Could not open audio codec dca QFATAL : FFMpegTest::AudioEncodeDecode() Failed to open audio encoder for "dca". FAIL! : FFMpegTest::AudioEncodeDecode() Received a fatal error. Loc: [Unknown file(0)]
    

    when doing a "make clean" and then "make"
    If I do a make again, it passes without any problems, it does not seem to do the ffmpeg-test the second time

     
  • Tomas Larsson
    Tomas Larsson
    2012-07-16

    No clue what creates the above Make Error?

     
  • Alex Admiraal
    Alex Admiraal
    2012-07-24

    The error above is caused by a test, you may ignore it. I've recently committed a patch to the SVN repository that fixes this.

     
  • Ok, will try it