Next Previous Contents

4. Faq's

  1. Question:

    Running ./configure results in an error message like qt-.... not found

  2. Question:

    Though I ran configure with the parameter --with-qt-dir I get an file not found error when running make

  3. Question:

    Though configure worked properly, running make I get an error like:

    cdisplay.moc.cpp:45: new declaration `static void
    CDisplay::staticMetaObject()'
    cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
    CDisplay::staticMetaObject()'
    cdisplay.moc.cpp: In function `void
    __static_initialization_and_destruction_0(int, int)':
    cdisplay.moc.cpp:29: no matching function for call to
    `QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
    /usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
    QMetaObjectInit::QMetaObjectInit(void (*)())
    

  4. Question:

    Though my computer has two ( or more ) com- ports I can't select one in the setup menu

  5. Question:

    How can I check whether my soundcard is installed properly ?

  1. Running ./configure results in an error message like qt-.... not found

    You need qt-2.2.x to be installed. If you're shure that a proper qt- version is installed

    try

    rm config.cache

    ./configure --with-qt-dir="Where your qt is installed"

    Have a look that you use the correct moc version when you run make

  2. Though I ran configure with the parameter --with-qt-dir I get an file not found error when running make

    Find out where the qt header files reside and try

    rm config.cache
    ./configure --with-qt-dir="Where your qt is installed" --with-qt-include="where the include files reside"
    

  3. Though configure worked properly, running make I get an error like:

    cdisplay.moc.cpp:45: new declaration `static void
    CDisplay::staticMetaObject()'
    cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
    CDisplay::staticMetaObject()'
    cdisplay.moc.cpp: In function `void
    __static_initialization_and_destruction_0(int, int)':
    cdisplay.moc.cpp:29: no matching function for call to
    `QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
    /usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
    QMetaObjectInit::QMetaObjectInit(void (*)())
    

    Be sure to have the correct version of moc, when you run make.

    Probably you don't use the version of moc that corresponds to your qt- version.

    Check where your moc resides and if you have several versions installed on your system.

    Sometimes there is a link in /usr/bin to "QT-directory/bin/moc".

    Set the link appropriate or adjust your PATH- environment- variable that the correct moc version is to be found.

  4. Though my computer has two ( or more ) com- ports I can't select one in the setup menu.

    Propably you don't have the permissions to access the com - ports. Check the permissions of /dev/ttyS0 - /dev/ttyS3. In most systems the group of these files is uucp and the group has read/write permission. Check if you belong to the group uucp, if not add your id to this group.

  5. How can I check whether my soundcard is installed properly ?

    Make sure that soem input source is connected to your soundcard. then run

    dd if=/dev/audio of=/tmp/test.wav bs=4k count=4

    This command samples 16k 'sound'. Then run

    cat /tmp/test.wav >/dev/audio and you should be able to hear what you sampled earlier.


Next Previous Contents