Public bug reported:

I got the kphone 4.2-6 sources from repository.
On the step of configuring I get this log:

[EMAIL PROTECTED]:~/Desktop/kphone$ ./configure 
loading cache ./config.cache
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking how to run the C preprocessor... (cached) gcc -E
checking for c++... (cached) c++
checking whether the C++ compiler (c++  ) works... yes
checking whether the C++ compiler (c++  ) is a cross-compiler... no
checking whether we are using GNU C++... (cached) yes
checking whether c++ accepts -g... (cached) yes
checking how to run the C++ preprocessor... (cached) c++ -E
checking whether gcc needs -traditional... (cached) no
checking for moc... (cached) /usr/local/Trolltech/Qt-4.3.2/bin/moc
checking for uic... (cached) /usr/local/Trolltech/Qt-4.3.2/bin/uic
checking location of Qt header files... (cached) /usr/share/qt3/include
checking location of Qt library... (cached) /usr/share/qt3/lib
(cached) checking if Qt is multi-threaded... (cached) yes
checking whether to enable thread... yes
checking whether to enable srtp... no
checking for main in -lX11... (cached) yes
checking for main in -lXext... (cached) yes
checking for main in -lXt... (cached) yes
checking for main in -lICE... (cached) yes
checking for main in -lSM... (cached) yes
checking for main in -lpng... (cached) yes
checking for main in -lssl... (cached) yes
checking for openssl/md5.h... (cached) yes
checking for main in -lasound... (cached) no
checking for alsa/asoundlib.h... (cached) no
checking for main in -ljack... (cached) no
checking for jack/jack.h... (cached) no
checking for ANSI C header files... (cached) yes
checking for fcntl.h... (cached) yes
checking for sys/ioctl.h... (cached) yes
checking for unistd.h... (cached) yes
checking for working const... (cached) yes
checking for select... (cached) yes
checking whether to enable debugging... no
creating ./config.status
creating Makefile
creating kphone/Makefile
creating dissipate2/Makefile
creating ilbc/Makefile
creating gsm/Makefile
creating icons/Makefile
creating po/Makefile
creating config.h
config.h is unchanged

Now type 'make', followed by 'make install' as root.

Further on, trying to 'make':
<automatic google translation from russian>:

@ x x: ~ / Desktop / kphone make $
make [1]: Entering directory `/ home / x / Desktop / kphone / po '
make [1]: The purpose of `all 'does not require compliance teams.
make [1]: Leaving directory `/ home / x / Desktop / kphone / po '
make [1]: Entering directory `/ home/x/Desktop/kphone/dissipate2 '
/ usr/local/Trolltech/Qt-4.3.2/bin/moc-o sipcall.moc.cpp sipcall.h
c + + -I/usr/share/qt3/include-Wall-O3-I. - I .. - DHAVE_CONFIG_H-c-o 
sipcall.moc.o sipcall.moc.cpp
sipcall.moc.cpp: 12:2: error: # error "The header file 'sipcall.h' doesn't 
include <QObject>."
sipcall.moc.cpp: 47: error: 'const QMetaObject SipCallMember:: 
staticMetaObject' is not a static member of 'class SipCallMember'
sipcall.moc.cpp: 47: error: variable 'const QMetaObject SipCallMember:: 
staticMetaObject' has initialiser but incomplete type
sipcall.moc.cpp: 52: error: prototype for 'const QMetaObject SipCallMember *:: 
metaObject () const' does not match any in class' SipCallMember '
sipcall.h: 53: error: aspirants: virtual QMetaObject SipCallMember *:: 
metaObject () const
sipcall.moc.cpp: 52: error: 'const QMetaObject SipCallMember *:: metaObject () 
const' cannot be overloaded
sipcall.h: 53: error: with 'virtual QMetaObject SipCallMember *:: metaObject () 
const'
sipcall.moc.cpp: In member function 'const QMetaObject SipCallMember *:: 
metaObject () const':
sipcall.moc.cpp: 54: error: error transformation 'QMetaObject * (*)()' to' 
const QMetaObject * 'to return
sipcall.moc.cpp: At global scope:
sipcall.moc.cpp: 57: Error: no 'SipCallMember void *:: qt_metacast (const char 
*)' member function declared in class' SipCallMember '
sipcall.moc.cpp: In member function 'SipCallMember void *:: qt_metacast (const 
char *)':
sipcall.moc.cpp: 62: error: 'qt_metacast' is not an element of 'QObject'
sipcall.moc.cpp: At global scope:
sipcall.moc.cpp: 65: error: 'int SipCallMember:: qt_metacall' is not a static 
member of 'class SipCallMember'
sipcall.moc.cpp: 65: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
sipcall.moc.cpp: 65: error: expected primary-expression before 'int'
sipcall.moc.cpp: 65: error: expected primary-expression before 'void'
sipcall.moc.cpp: 65: error: initializer - URLs expressions seen as an integral 
expression
sipcall.moc.cpp: 66: error: expected ',' or ',' before '(' token
sipcall.moc.cpp: In member function 'void SipCallMember:: statusUpdated 
(SipCallMember *)':
sipcall.moc.cpp: 86: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
sipcall.moc.cpp: At global scope:
sipcall.moc.cpp: 110: error: 'const QMetaObject SipCall:: staticMetaObject' is 
not a static member of 'class SipCall'
sipcall.moc.cpp: 110: error: variable 'const QMetaObject SipCall:: 
staticMetaObject' has initialiser but incomplete type
sipcall.moc.cpp: 115: error: prototype for 'const QMetaObject SipCall *:: 
metaObject () const' does not match any in class' SipCall '
sipcall.h: 330: error: aspirants: virtual QMetaObject SipCall *:: metaObject () 
const
sipcall.moc.cpp: 115: error: 'const QMetaObject SipCall *:: metaObject () 
const' cannot be overloaded
sipcall.h: 330: error: with 'virtual QMetaObject SipCall *:: metaObject () 
const'
sipcall.moc.cpp: In member function 'const QMetaObject SipCall *:: metaObject 
() const':
sipcall.moc.cpp: 117: error: error transformation 'QMetaObject * (*)()' to' 
const QMetaObject * 'to return
sipcall.moc.cpp: At global scope:
sipcall.moc.cpp: 120: error: no 'SipCall void *:: qt_metacast (const char *)' 
member function declared in class' SipCall '
sipcall.moc.cpp: In member function 'SipCall void *:: qt_metacast (const char 
*)':
sipcall.moc.cpp: 125: error: 'qt_metacast' is not an element of 'QObject'
sipcall.moc.cpp: At global scope:
sipcall.moc.cpp: 128: error: 'int SipCall:: qt_metacall' is not a static member 
of 'class SipCall'
sipcall.moc.cpp: 128: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
sipcall.moc.cpp: 128: error: expected primary-expression before 'int'
sipcall.moc.cpp: 128: error: expected primary-expression before 'void'
sipcall.moc.cpp: 128: error: initializer - URLs expressions seen as an integral 
expression
sipcall.moc.cpp: 129: error: expected ',' or ',' before '(' token
sipcall.moc.cpp: In member function 'void SipCall:: callStatusUpdated ()':
sipcall.moc.cpp: 146: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
sipcall.moc.cpp: In member function 'void SipCall:: subjectChanged ()':
sipcall.moc.cpp: 152: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
make [1]: *** [sipcall.moc.o] Error 1
rm sipcall.moc.cpp
make [1]: Leaving directory `/ home/x/Desktop/kphone/dissipate2 '
make [1]: Entering directory `/ home / x / Desktop / kphone / gsm '
make [1]: The purpose of `all 'does not require compliance teams.
make [1]: Leaving directory `/ home / x / Desktop / kphone / gsm '
make [1]: Entering directory `/ home / x / Desktop / kphone / ilbc '
make [1]: The purpose of `all 'does not require compliance teams.
make [1]: Leaving directory `/ home / x / Desktop / kphone / ilbc '
make [1]: Entering directory `/ home / x / Desktop / kphone / kphone '
c + + -I/usr/share/qt3/include-Wall-O3-I. -I../gsm -I../ilbc 
-I../dissipate2-DHAVE_CONFIG_H-DSHARE_DIR = '/ usr / local / share / apps / 
kphone'-DPO_DIR = '/ usr / local / share / kphone / translations / / \ "-c-o 
main.o main.cpp
/ usr/share/qt3/include/qxml.h: 224: warning: 'class QXmlReader' has virtual 
functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 407: warning: 'class QXmlContentHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 424: warning: 'class QXmlErrorHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 433: warning: 'class QXmlDTDHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 441: warning: 'class QXmlEntityResolver' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 448: warning: 'class QXmlLexicalHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 461: warning: 'class QXmlDeclHandler' has 
virtual functions but non-virtual destructor
c + + -I/usr/share/qt3/include-Wall-O3-I. -I../gsm -I../ilbc 
-I../dissipate2-DHAVE_CONFIG_H-DSHARE_DIR = '/ usr / local / share / apps / 
kphone'-DPO_DIR = '/ usr / local / share / kphone / translations / / \ "-c-o 
kphone.o kphone.cpp
/ usr/share/qt3/include/qxml.h: 224: warning: 'class QXmlReader' has virtual 
functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 407: warning: 'class QXmlContentHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 424: warning: 'class QXmlErrorHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 433: warning: 'class QXmlDTDHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 441: warning: 'class QXmlEntityResolver' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 448: warning: 'class QXmlLexicalHandler' has 
virtual functions but non-virtual destructor
/ usr/share/qt3/include/qxml.h: 461: warning: 'class QXmlDeclHandler' has 
virtual functions but non-virtual destructor
/ usr/local/Trolltech/Qt-4.3.2/bin/moc-o kphone.moc.cpp kphone.h
c + + -I/usr/share/qt3/include-Wall-O3-I. -I../gsm -I../ilbc 
-I../dissipate2-DHAVE_CONFIG_H-DSHARE_DIR = '/ usr / local / share / apps / 
kphone'-DPO_DIR = '/ usr / local / share / kphone / translations / / \ "-c-o 
kphone.moc.o kphone.moc.cpp
kphone.moc.cpp: 12:2: error: # error "The header file 'kphone.h' doesn't 
include <QObject>."
kphone.moc.cpp: 61: error: 'const QMetaObject KPhone:: staticMetaObject' is not 
a static member of 'class KPhone'
kphone.moc.cpp: 61: error: variable 'const QMetaObject KPhone:: 
staticMetaObject' has initialiser but incomplete type
kphone.moc.cpp: 66: error: prototype for 'const QMetaObject KPhone *:: 
metaObject () const' does not match any in class' KPhone '
kphone.h: 39: error: aspirants: virtual QMetaObject KPhone *:: metaObject () 
const
kphone.moc.cpp: 66: error: 'const QMetaObject KPhone *:: metaObject () const' 
cannot be overloaded
kphone.h: 39: error: with 'virtual QMetaObject KPhone *:: metaObject () const'
kphone.moc.cpp: In member function 'const QMetaObject KPhone *:: metaObject () 
const':
kphone.moc.cpp: 68: error: error transformation 'QMetaObject * (*)()' to' const 
QMetaObject * 'to return
kphone.moc.cpp: At global scope:
kphone.moc.cpp: 71: Error: no 'KPhone void *:: qt_metacast (const char *)' 
member function declared in class' KPhone '
kphone.moc.cpp: In member function 'KPhone void *:: qt_metacast (const char *)':
kphone.moc.cpp: 76: error: 'qt_metacast' is not an element of 'QMainWindow'
kphone.moc.cpp: At global scope:
kphone.moc.cpp: 79: error: 'int KPhone:: qt_metacall' is not a static member of 
'class KPhone'
kphone.moc.cpp: 79: error: incomplete type 'QMetaObject' used in the embedded 
specificator name
kphone.moc.cpp: 79: error: expected primary-expression before 'int'
kphone.moc.cpp: 79: error: expected primary-expression before 'void'
kphone.moc.cpp: 79: error: initializer - URLs expressions seen as an integral 
expression
kphone.moc.cpp: 80: error: expected ',' or ',' before '(' token
make [1]: *** [kphone.moc.o] Error 1
rm kphone.moc.cpp
make [1]: Leaving directory `/ home / x / Desktop / kphone / kphone '
make: *** [all] Error 2

What is the problem? Maybe my system lacks something? Or I do something
wrong?

** Affects: ubuntu
     Importance: Undecided
         Status: New

-- 
Can't compile kphone 4.2-6 with Qt-4.3.2 under Ubuntu 7.04
https://bugs.launchpad.net/bugs/180314
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to