Menu

#3 compilation problem - Debian Lenny 5.0.4

open
nobody
Linux (1)
5
2010-03-08
2010-03-08
Anonymous
No

-Itools/yastuff/yawidgets/fadingmultilinelabeltest -I. -I .moc -I/usr/X11R6/include -I.ui -o .obj/speexcodec.o voip/codecs/speexcodec.cpp voip/codecs/speexcodec.cpp:31:25: error: speex/speex.h: No such file or directory
voip/codecs/speexcodec.cpp:40: error: ‘SpeexBits’ does not name a type
voip/codecs/speexcodec.cpp:51: error: ‘SpeexBits’ does not name a type
voip/codecs/speexcodec.cpp: In constructor ‘SpeexEncoder::SpeexEncoder()’:
voip/codecs/speexcodec.cpp:66: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:66: error: ‘speex_bits_init’ was not declared in this scope
voip/codecs/speexcodec.cpp:70: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:71: error: ‘speex_nb_mode’ was not declared in this scope
voip/codecs/speexcodec.cpp:71: error: ‘speex_encoder_init’ was not declared in this scope
voip/codecs/speexcodec.cpp:74: error: ‘SPEEX_SET_QUALITY’ was not declared in this scope
voip/codecs/speexcodec.cpp:74: error: ‘speex_encoder_ctl’ was not declared in this scope
voip/codecs/speexcodec.cpp:76: error: ‘SPEEX_SET_COMPLEXITY’ was not declared in this scope
voip/codecs/speexcodec.cpp:78: error: ‘SPEEX_SET_VAD’ was not declared in this scope
voip/codecs/speexcodec.cpp: In constructor ‘SpeexDecoder::SpeexDecoder()’:
voip/codecs/speexcodec.cpp:86: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:86: error: ‘speex_bits_init’ was not declared in thisscope
voip/codecs/speexcodec.cpp:91: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:92: error: ‘speex_nb_mode’ was not declared in this scope
voip/codecs/speexcodec.cpp:92: error: ‘speex_decoder_init’ was not declared in this scope
voip/codecs/speexcodec.cpp:95: error: ‘SPEEX_SET_ENH’ was not declared in this scope
voip/codecs/speexcodec.cpp:95: error: ‘speex_decoder_ctl’ was not declared in this scope
voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexEncoder::~SpeexEncoder()’:
voip/codecs/speexcodec.cpp:101: error: ‘speex_encoder_destroy’ was not declared in this scope
voip/codecs/speexcodec.cpp:102: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:102: error: ‘speex_bits_destroy’ was not declared in this scope
voip/codecs/speexcodec.cpp: In destructor ‘virtual SpeexDecoder::~SpeexDecoder()’:
voip/codecs/speexcodec.cpp:111: error: ‘speex_decoder_destroy’ was not declared in this scope
voip/codecs/speexcodec.cpp:112: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:112: error: ‘speex_bits_destroy’ was not declared in this scope
voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexEncoder::encode(const short int*, int, char**, int*)’:
voip/codecs/speexcodec.cpp:136: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:136: error: ‘speex_bits_reset’ was not declared in this scope
voip/codecs/speexcodec.cpp:138: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:138: error: ‘speex_encode_int’ was not declared in this scope
voip/codecs/speexcodec.cpp:142: error: ‘class SpeexEncoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:142: error: ‘speex_bits_write’ was not declared in this scope
voip/codecs/speexcodec.cpp: In member function ‘virtual int SpeexDecoder::decode(const char*, int, short int**)’:
voip/codecs/speexcodec.cpp:167: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:167: error: ‘speex_bits_read_from’ was not declared in this scope
voip/codecs/speexcodec.cpp:169: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:169: error: ‘speex_bits_remaining’ was not declared in this scope
voip/codecs/speexcodec.cpp:170: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:170: error: ‘speex_decode_int’ was not declared in this scope
voip/codecs/speexcodec.cpp:173: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:174: error: ‘class SpeexDecoder::Private’ has no member named ‘bits’
voip/codecs/speexcodec.cpp:174: error: ‘speex_bits_advance’ was not declared in this scope
make[1]: *** [.obj/speexcodec.o] Error 1
make[1]: Leaving directory `/tmp/3.0-beta/src'
make: *** [sub-src-make_default] Error 2

Discussion

  • Ivan Čukić

    Ivan Čukić - 2010-03-08

    Do you have the libspeex-dev package installed?

     
  • Anonymous

    Anonymous - 2010-03-09

    Thank you for such a quick response.
    Before - no. Now - yes.
    Compiling continued, now get make [1]: *** [.obj/phononsoundplayer.o] Error 1.
    Now, try to find this package.
    Found: phonon, phonon-backend, phonon-backend-gstreamer, phonon-backend-null, phonon-backend-xine, phonon-dbg ... that this need?

    Is there anywhere a list of required packages to build?

    And is it possible not to compile packages that are already installed in the system?
    Such as Is there anywhere a list of required packages to build?

    qca-tls, libjinglebase0.3-0, libqca2, libqca2-plugin-ossl, qt4-qmake, qt4-dev-tools, libjinglebase0.3-dev, libspeex-dev

     
  • Ivan Čukić

    Ivan Čukić - 2010-03-09

    Again, for phonon, you need libphonon-dev. I'm not sure we have a list of dependencies - but I think it is limited to full Qt (with phonon) , QCA (all related) and speex. Maybe I'm missing something though.

    > And is it possible not to compile packages that are already installed in
    > the system?

    Unfortunately not, as far as jingle is concerned - the libjingle we are using has a few custom patches.

     
  • Anonymous

    Anonymous - 2010-03-09

    after:
    aptitude install phonon
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    Reading extended state information
    Initializing package states... Done
    Reading task descriptions... Done
    The following NEW packages will be installed:
    libphonon4{a} phonon phonon-backend-gstreamer{a}
    0 packages upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
    Need to get 221kB of archives. After unpacking 823kB will be used.
    Do you want to continue? [Y/n/?]
    Writing extended state information... Done
    nothing has changed... now found: libphonon-dev ...compiling continues

     
  • Ivan Čukić

    Ivan Čukić - 2010-03-09

    Thanks, that would be much appreciated :)

     
  • Anonymous

    Anonymous - 2010-03-09

    now problem with [.obj/socialpanel.o] I have no ideas what the package from the repository can contain the file

     
  • Anonymous

    Anonymous - 2010-03-09

    oh problem not with "socialpanel", problem with "QNetworkDiskCache"
    this is list of QT4* packages installed in my system all version is 4.4.3-1+lenny1
    libqt4-assistant, libqt4-core, libqt4-dbus, libqt4-designer, libqt4-dev , libqt4-gui,libqt4-help, libqt4-network, libqt4-opengl, libqt4-opengl-dev,libqt4-qt3support ,libqt4-script, libqt4-sql ,libqt4-sql-mysql, libqt4-sql-sqlite, libqt4-svg,libqt4-test, libqt4-webkit, libqt4-xml, libqt4-xmlpatterns, qt4-designer, qt4-dev-tools, qt4-doc, qt4-qmake, qt4-qtconfig

    In the aptitude I see only 2 package not installed qt4-demos and qt4-doc-html... and a lot of python2.* and different lib...
    libavahi-qt4-1, libavahi-qt4-dev, libpoppler-qt4-1, libpoppler-qt4-3, libpoppler-qt4-dev, libqt4-dbg, libqt4-ruby, libqt4-ruby1.8, libqt4-sql-ibase, libqt4-sql-odbc, libqt4-sql-psql, libqt4-sql-sqlite2, libqt4-webkit-dbg, libqt4-xmlpatterns-dbg, libqwt5-qt4, libqwt5-qt4-dev, libqwtplot3d-qt4, libqwtplot3d-qt4-dev, libsmokeqt4-1, libsmokeqt4-dev, libsoqt4-20, libsoqt4-dev, libsvnqt4, libvtk5-qt4, libvtk5-qt4-dev, libzlui-qt4, lsb-qt4, lsb-qt4-ia32, lsb-qt4-noarch, pyqt4-dev-tools, python-qt4, python-qt4-common, python-qt4-dbg, python-qt4-dbus, python-qt4-dbus-dbg, python-qt4-dev, python-qt4-doc, python-qt4-gl, python-qt4-gl-dbg, python-qt4-sql, python-qt4-sql-dbg, python-qwt3d-qt4, python-qwt5-qt4, python2.4-qt4, python2.4-qt4-dbus, python2.4-qt4-dbus-dbg, python2.4-qt4-gl, python2.4-qt4-sql, python2.5-qt4, python2.5-qt4-dbus, python2.5-qt4-dbus-dbg, python2.5-qt4-gl, python2.5-qt4-sql, qt4-demos, qt4-doc-html, scim-bridge-client-qt4

    ....
    nelabeltest -I. -I.moc -I/usr/X11R6/include -I.ui -o .obj/socialpanel.o tools/customwidgets/socialpanel.cpp
    tools/customwidgets/socialpanel.cpp:35:29: error: QNetworkDiskCache: No such file or directory
    In file included from ../iris/include/im.h:31,
    from tools/customwidgets/socialpanel.h:24,
    from tools/customwidgets/socialpanel.cpp:20:
    ../iris/include/xmpp_message.h:169:
    warning: type qualifiers ignored on function return type
    In file included from ./psiaccount.h:33,
    from tools/customwidgets/socialpanel.h:25,
    from tools/customwidgets/socialpanel.cpp:20:
    ./psiactions.h:8: warning: ‘typedef’ was ignored in this declaration
    In file included from ./profiles.h:31,
    from ./psicontactlist.h:26,
    from ./psicontact.h:25,
    from tools/customwidgets/socialpanel.cpp:23:
    ./common.h:153: warning: ‘typedef’ was ignored in this declaration
    ./common.h:159: warning: ‘typedef’ was ignored in this declaration
    ./common.h:165: warning: ‘typedef’ was ignored in this declaration
    In file included from ./psicontact.h:25,
    from tools/customwidgets/socialpanel.cpp:23:
    ./psicontactlist.h:32: warning: declaration ‘class XMPP::Jid’ does not declare a nything
    tools/customwidgets/socialpanel.cpp: In member function ‘void SocialPanel::init(PsiAccount*)’:
    tools/customwidgets/socialpanel.cpp:353: error: ‘setOfflineStoragePath’ is not a member of ‘QWebSettings’
    tools/customwidgets/socialpanel.cpp:355: error: ‘QNetworkDiskCache’ was not declared in this scope
    tools/customwidgets/socialpanel.cpp:355: error: ‘diskCache’ was not declared in this scope
    tools/customwidgets/socialpanel.cpp:355: error: expected type-specifier before ‘
    QNetworkDiskCache’
    tools/customwidgets/socialpanel.cpp:355: error: expected `;' before ‘QNetworkDiskCache’
    tools/customwidgets/socialpanel.cpp:359: error: ‘class QNetworkAccessManager’ has no member named ‘setCache’
    make[1]: *** [.obj/socialpanel.o] Error 1
    make[1]: Leaving directory `/tmp/3.0-beta/src'
    make: *** [sub-src-make_default] Error 2

     
  • Anonymous

    Anonymous - 2010-03-09

    very interesting I looked /usr/share/qt4/include/QtNetwork (symlink to /usr/include/qt4/ )and this file really not presented there.
    Also, I wanted to ask is it important that the *. sh and *. py from the 3.0-betatar.gz is not an executable?

     
  • Anonymous

    Anonymous - 2010-03-10

    Perhaps this is the reason for which there is no this file in QT 4.4.3
    http://qt.nokia.com/developer/changes/changes-4.5.0

    New features
    ------------
    - QNetworkDiskCache
    * An implementation of QAbstractNetworkCache, QNetworkDiskCache is a simple disk based cache.

     
  • Ivan Čukić

    Ivan Čukić - 2010-03-10

    The latest version of Qt is required - 4.5 - webkit in 4.4 was rather badly implemented.

     
  • Anonymous

    Anonymous - 2010-03-10

    Understand.
    Let's see how long time and space it takes to compile 160MB tra.gz or more 500MB source code...

     
  • Anonymous

    Anonymous - 2010-03-12

    Hi,
    I have installed qt-4.6.2
    and now get this error:
    In file included from ./psicontact.h:25,
    from tools/customwidgets/socialpanel.cpp:23:
    ./psicontactlist.h:32: warning: declaration ‘class XMPP::Jid’ does not declare anything
    tools/customwidgets/socialpanel.cpp: In member function ‘void SocialPanel::init(PsiAccount*)’:
    tools/customwidgets/socialpanel.cpp:353: error: ‘setOfflineStoragePath’ is not a member of ‘QWebSettings’
    tools/customwidgets/socialpanel.cpp:359: error: ‘class QNetworkAccessManager’ has no member named ‘setCache’
    make[1]: *** [.obj/socialpanel.o] Error 1
    make[1]: Leaving directory `/tmp/3.0-beta/src'
    make: *** [sub-src-make_default] Error 2

    strange becouse ‘setOfflineStoragePath’ is a member of http://doc.qt.nokia.com/4.6/qwebsettings.html :-)

    how you think about this?

     
  • Ivan Čukić

    Ivan Čukić - 2010-03-12

    Both things that are reported missing are present in Qt since 4.5. It is like it still uses the old Qt while trying to compile.

     
  • Anonymous

    Anonymous - 2010-03-12

    victory!
    test call showed that the interlocutor does not hear me.
    but I can hear perfectly.
    I use it Jabbin, he Talk.v104

    while in the console without a stop I see the message

    ��������####PaWriting to debug file 480
    ####PaPa_AudioThreadProc: attempt to read 480 bytes
    ####Paconverting...
    ####PaPa_AudioThreadProc: attempt to write...
    ####PaPa_AudioThreadProc: attempt to write 480 bytes

     

Log in to post a comment.

MongoDB Logo MongoDB