1
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
4
<META NAME="GENERATOR" CONTENT="SGML-Tools 1.0.9">
5
<TITLE>The LinPsk Handbook: Faq's</TITLE>
6
<LINK HREF="index-5.html" REL=next>
7
<LINK HREF="index-3.html" REL=previous>
8
<LINK HREF="index.html#toc4" REL=contents>
11
<A HREF="index-5.html">Next</A>
12
<A HREF="index-3.html">Previous</A>
13
<A HREF="index.html#toc4">Contents</A>
15
<H2><A NAME="s4">4. Faq's</A></H2>
22
<A HREF="#Q1">Running ./configure results in an error message like qt-.... not found</A><P>
27
<A HREF="#Q2">Though I ran configure with the parameter --with-qt-dir I get an file not found error when running make</A><P>
31
<A HREF="#Q3">Though configure worked properly, running make I get an error like:</A><P>
34
cdisplay.moc.cpp:45: new declaration `static void
35
CDisplay::staticMetaObject()'
36
cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
37
CDisplay::staticMetaObject()'
38
cdisplay.moc.cpp: In function `void
39
__static_initialization_and_destruction_0(int, int)':
40
cdisplay.moc.cpp:29: no matching function for call to
41
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
42
/usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
43
QMetaObjectInit::QMetaObjectInit(void (*)())
50
<A HREF="#Q4">Though my computer has two ( or more ) com- ports I can't select one in the setup menu</A><P>
54
<A HREF="#Q5">How can I check whether my soundcard is installed properly ?</A><P>
61
<LI>Running ./configure results in an error message like qt-.... not found
63
<P>You need qt-2.2.x to be installed. If you're shure that a proper qt- version
68
<P>./configure --with-qt-dir="Where your qt is installed"
70
<P>Have a look that you use the correct moc version when you run make
74
<LI>Though I ran configure with the parameter --with-qt-dir I get an file not
75
found error when running make
77
<P>Find out where the qt header files reside and try
82
./configure --with-qt-dir="Where your qt is installed" --with-qt-include="where the include files reside"
87
<LI>Though configure worked properly, running make I get an error like:<P>
90
cdisplay.moc.cpp:45: new declaration `static void
91
CDisplay::staticMetaObject()'
92
cdisplay.h:47: ambiguates old declaration `static class QMetaObject *
93
CDisplay::staticMetaObject()'
94
cdisplay.moc.cpp: In function `void
95
__static_initialization_and_destruction_0(int, int)':
96
cdisplay.moc.cpp:29: no matching function for call to
97
`QMetaObjectInit::QMetaObjectInit (QMetaObject * (*)())'
98
/usr/lib/qt-2.2.4/include/qmetaobject.h:259: candidates are:
99
QMetaObjectInit::QMetaObjectInit(void (*)())
103
<A NAME="Q3"></A> <P>Be sure to have the correct version of moc, when you run make.
104
<P>Probably you don't use the version of moc that corresponds to your qt- version.
105
<P>Check where your moc resides and if you have several versions installed on
107
<P>Sometimes there is a link in /usr/bin to "QT-directory/bin/moc".
108
<P>Set the link appropriate or adjust your PATH- environment- variable that the
109
correct moc version is to be found.
112
<LI>Though my computer has two ( or more ) com- ports I can't select one in the setup menu.<P>
113
<A NAME="Q4"></A> <P>Propably you don't have the permissions to access the com - ports. Check the permissions of /dev/ttyS0 - /dev/ttyS3.
114
In most systems the group of these files is uucp and the group has read/write permission.
115
Check if you belong to the group uucp, if not add your id to this group.
118
<LI>How can I check whether my soundcard is installed properly ? <P>
119
<A NAME="Q5"></A> <P>Make sure that soem input source is connected to your soundcard. then run
120
<P>dd if=/dev/audio of=/tmp/test.wav bs=4k count=4
121
<P>This command samples 16k 'sound'. Then run
122
<P>cat /tmp/test.wav >/dev/audio
123
and you should be able to hear what you sampled earlier.
131
<A HREF="index-5.html">Next</A>
132
<A HREF="index-3.html">Previous</A>
133
<A HREF="index.html#toc4">Contents</A>