Menu

Unable to compile

Help
2012-06-17
2013-05-30
  • erehsawluap

    erehsawluap - 2012-06-17

    im unable to compile on slackware 64 current gcc version gcc -version gcc (GCC) 4.7.0
    this is the error i get when compiling after typing in qmake then make on both svn repository and latest source stable release.

    cd liblxistream/ && make -f Makefile
    make: Entering directory `/root/lximedia/src/lxistream/liblxistream'
    g++ -m64 -pipe -fvisibility=hidden -fvisibility-inlines-hidden -O2 -Wall -W -D_REENTRANT -fPIC -DS_BUILD_LIBLXISTREAM -DQT_NO_DEBUG -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_SSE -DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_SHARED -I/usr/lib64/qt/mkspecs/linux-g++-64 -I. -I/usr/lib64/qt/include/QtCore -I/usr/lib64/qt/include -I../../../include -I../../../include -I../../../include/liblxistream -I. -x c++-header -c ../../../include/LXiStream -o LXiStream.gch/c++
    In file included from ../../../include/liblxistream/saudiobuffer.h:24:0,
                     from ../../../include/LXiStream:10:
    ../../../include/liblxistream/sbuffer.h: In static member function 'static _type* LXiStream::SBuffer::align(_type*, int)':
    ../../../include/liblxistream/sbuffer.h:142:77: error: there are no arguments to 'intptr_t' that depend on a template parameter, so a declaration of 'intptr_t' must be available
    ../../../include/liblxistream/sbuffer.h:142:77: note: (if you use '-fpermissive', G++ will accept your code, but allowing the use of an undeclared name is deprecated)
    make: ***  Error 1
    make: Leaving directory `/root/lximedia/src/lxistream/liblxistream'
    make: ***  Error 2
    make: Leaving directory `/root/lximedia/src/lxistream'
    make: ***  Error 2
    make: Leaving directory `/root/lximedia/src'
    make: ***  Error 2

     

Log in to post a comment.