Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
kiax compile error
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Mon Jan 09, 2006 9:49 pm    Post subject: kiax compile error Reply with quote

I have got over to gcc 3.4.5 and tried emrege kiax
Code:
/usr/include/qt4/QtCore/qobject.h:275: note:                 bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/src'
make: *** [sub-src-make_default] Error 2

!!! ERROR: net-misc/kiax-0.8.4 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! make failed

Anyone else got this problem, or know how to fix it?
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Jan 09, 2006 10:34 pm    Post subject: Reply with quote

are there any warnings or errors above that?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Mon Jan 09, 2006 10:41 pm    Post subject: Reply with quote

Here are more strings:
Code:
In file included from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47,
                 from main.cpp:22:
kiaxprefs.h:43: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:43: error: expected `;' before '<' token
kiaxprefs.h:58: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:58: error: expected `;' before '<' token
kiaxprefs.h:59: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:59: error: expected `;' before '<' token
kiaxprefs.h:60: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:60: error: expected `;' before '<' token
kiaxprefs.h:111: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:111: error: expected `;' before '<' token
kiaxprefs.h:112: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:112: error: expected `;' before '<' token
kiaxprefs.h:113: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:113: error: expected `;' before '<' token
kiaxprefs.h:114: error: ISO C++ forbids declaration of `QPtrList' with no type
kiaxprefs.h:114: error: expected `;' before '<' token
In file included from kiaxmainwindow.h:47,
                 from main.cpp:22:
iaxwrapper.h:83: error: `QCustomEvent' has not been declared
iaxwrapper.h:83: error: ISO C++ forbids declaration of `event' with no type
In file included from kiaxmainwindow.h:48,
                 from main.cpp:22:
kiaxcalltab.h:28:21: calltab.h: No such file or directory
In file included from kiaxmainwindow.h:48,
                 from main.cpp:22:
kiaxcalltab.h:31: error: expected class-name before '{' token
kiaxcalltab.h:35: error: `WFlags' has not been declared
kiaxcalltab.h:35: error: ISO C++ forbids declaration of `fl' with no type
kiaxcalltab.h:31: warning: `class KiaxCallTab' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:50,
                 from main.cpp:22:
kiaxprefswindow.h:31:25: prefswindow.h: No such file or directory
In file included from kiaxmainwindow.h:50,
                 from main.cpp:22:
kiaxprefswindow.h:36: error: expected class-name before '{' token
kiaxprefswindow.h:40: error: `WFlags' has not been declared
kiaxprefswindow.h:40: error: ISO C++ forbids declaration of `fl' with no type
kiaxprefswindow.h:36: warning: `class KiaxPrefsWindow' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:51,
                 from main.cpp:22:
kiaxaboutbox.h:25:22: aboutbox.h: No such file or directory
In file included from kiaxmainwindow.h:51,
                 from main.cpp:22:
kiaxaboutbox.h:28: error: expected class-name before '{' token
kiaxaboutbox.h:32: error: `WFlags' has not been declared
kiaxaboutbox.h:32: error: ISO C++ forbids declaration of `fl' with no type
kiaxaboutbox.h:28: warning: `class KiaxAboutBox' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:52,
                 from main.cpp:22:
kiaxcontactwindow.h:24:27: adduserdialog.h: No such file or directory
In file included from kiaxmainwindow.h:52,
                 from main.cpp:22:
kiaxcontactwindow.h:27: error: expected class-name before '{' token
kiaxcontactwindow.h:31: error: `WFlags' has not been declared
kiaxcontactwindow.h:31: error: ISO C++ forbids declaration of `fl' with no type
kiaxcontactwindow.h:27: warning: `class KiaxContactWindow' has virtual functions but non-virtual destructor
In file included from kiaxmainwindow.h:53,
                 from main.cpp:22:
kiaxaddressbook.h:26: error: expected template-name before '<' token
kiaxaddressbook.h:26: error: expected `{' before '<' token
kiaxaddressbook.h:26: error: expected unqualified-id before '<' token
In file included from kiaxmainwindow.h:55,
                 from main.cpp:22:
kiaxsystemtray.h:76: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxsystemtray.h:76: error: expected `;' before '*' token
In file included from kiaxmainwindow.h:56,
                 from main.cpp:22:
kiaxcallregister.h:26: error: expected template-name before '<' token
kiaxcallregister.h:26: error: expected `{' before '<' token
kiaxcallregister.h:26: error: expected unqualified-id before '<' token
In file included from kiaxmainwindow.h:57,
                 from main.cpp:22:
kiaxlogwindow.h:24:23: logwindow.h: No such file or directory
In file included from kiaxmainwindow.h:57,
                 from main.cpp:22:
kiaxlogwindow.h:27: error: expected class-name before '{' token
kiaxlogwindow.h:31: error: `WFlags' has not been declared
kiaxlogwindow.h:31: error: ISO C++ forbids declaration of `fl' with no type
kiaxlogwindow.h:27: warning: `class KiaxLogWindow' has virtual functions but non-virtual destructor
In file included from main.cpp:22:
kiaxmainwindow.h:68: error: expected class-name before '{' token
kiaxmainwindow.h:72: error: `WFlags' has not been declared
kiaxmainwindow.h:72: error: ISO C++ forbids declaration of `fl' with no type
kiaxmainwindow.h:140: error: `QListBoxItem' has not been declared
kiaxmainwindow.h:140: error: ISO C++ forbids declaration of `itm' with no type
kiaxmainwindow.h:150: error: `QListBoxItem' has not been declared
kiaxmainwindow.h:150: error: ISO C++ forbids declaration of `item' with no type
kiaxmainwindow.h:205: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxmainwindow.h:205: error: expected `;' before '*' token
kiaxmainwindow.h:206: error: ISO C++ forbids declaration of `QPopupMenu' with no type
kiaxmainwindow.h:206: error: expected `;' before '*' token
kiaxmainwindow.h:68: warning: `class KiaxMainWindow' has virtual functions but non-virtual destructor
main.cpp: In function `int main(int, char**)':
main.cpp:29: error: no matching function for call to `QApplication::connect(QApplication*, const char[20], KiaxMainWindow*&, const char[28])'
/usr/include/qt4/QtCore/qobject.h:174: note: candidates are: static bool QObject::connect(const QObject*, const char*, const QObject*, const char*, Qt::ConnectionType)
/usr/include/qt4/QtCore/qobject.h:275: note:                 bool QObject::connect(const QObject*, const char*, const char*, Qt::ConnectionType) const
make[1]: *** [main.o] Error 1
make[1]: Leaving directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/src'
make: *** [sub-src-make_default] Error 2

!!! ERROR: net-misc/kiax-0.8.4 failed.
!!! Function src_compile, Line 32, Exitcode 2
!!! make failed
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Jan 09, 2006 10:45 pm    Post subject: Reply with quote

jesus christ, with all these errors why didn't you put them in your post before?

Right, are these *all* the errors? Or are there more?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Mon Jan 09, 2006 10:48 pm    Post subject: Reply with quote

No more errors?:
Code:
libiax2/src/iax.c: In function `__send_command':
libiax2/src/iax.c:925: warning: assignment discards qualifiers from pointer target type
cc -I. -Igsm/inc -Iportaudio/pa_common -Iportaudio/pablio -Iportmixer/px_common -Ilibspeex/include -g -O2  -DLIBVER='"CVS-2006/01/09-23:40"' -DSPEEX_PREPROCESS=1 -DNEWJB -DCODEC_ILBC -Ilibiax2/src -DLIBIAX  -DSPEEX_EC=1 -DLINUX   -c -o libiax2/src/iax2-parser.o libiax2/src/iax2-parser.c
rm -f libiaxclient.a
ar cru libiaxclient.a gsm/src/add.o gsm/src/code.o gsm/src/debug.o gsm/src/decode.o gsm/src/gsm_create.o gsm/src/gsm_decode.o gsm/src/gsm_destroy.o gsm/src/gsm_encode.o gsm/src/gsm_explode.o gsm/src/gsm_implode.o gsm/src/gsm_option.o gsm/src/gsm_print.o gsm/src/long_term.o gsm/src/lpc.o gsm/src/preprocess.o gsm/src/rpe.o gsm/src/short_term.o gsm/src/table.o portaudio/pa_common/pa_lib.o portaudio/pablio/pablio.o portaudio/pablio/ringbuffer.o spandsp/plc.o audio_encode.o audio_portaudio.o audio_file.o codec_gsm.o codec_ulaw.o codec_alaw.o codec_speex.o jitterbuf.o iaxclient_lib.o  libspeex/nb_celp.o libspeex/sb_celp.o libspeex/lpc.o libspeex/ltp.o libspeex/lsp.o libspeex/quant_lsp.o libspeex/lsp_tables_nb.o libspeex/gain_table.o libspeex/gain_table_lbr.o libspeex/cb_search.o libspeex/filters.o libspeex/bits.o libspeex/modes.o libspeex/speex.o libspeex/vq.o libspeex/high_lsp_tables.o libspeex/vbr.o libspeex/hexc_table.o libspeex/exc_5_256_table.o libspeex/exc_5_64_table.o libspeex/exc_8_128_table.o libspeex/exc_10_32_table.o libspeex/exc_10_16_table.o libspeex/exc_20_32_table.o libspeex/hexc_10_32_table.o libspeex/misc.o libspeex/speex_header.o libspeex/speex_callbacks.o libspeex/math_approx.o libspeex/stereo.o libspeex/preprocess.o libspeex/smallft.o libspeex/lbr_48k_tables.o libspeex/jitter.o libspeex/mdf.o  iLBC/anaFilter.o iLBC/iCBSearch.o iLBC/packing.o iLBC/constants.o iLBC/gainquant.o iLBC/iLBC_decode.o iLBC/StateConstructW.o iLBC/createCB.o iLBC/getCBvec.o iLBC/iLBC_encode.o iLBC/StateSearchW.o iLBC/doCPLC.o iLBC/helpfun.o iLBC/syntFilter.o iLBC/enhancer.o iLBC/hpInput.o iLBC/LPCdecode.o iLBC/filter.o iLBC/hpOutput.o iLBC/LPCencode.o iLBC/FrameClassify.o iLBC/iCBConstruct.o iLBC/lsf.o codec_ilbc.o unixfuncs.o portmixer/px_unix_oss/px_unix_oss.o portaudio/pa_unix_oss/pa_unix_oss.o portaudio/pa_unix_oss/pa_unix.o   libiax2/src/md5.o libiax2/src/iax.o libiax2/src/iax2-parser.o
echo libiaxclient.a
libiaxclient.a
make[1]: Leaving directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/lib'
cd i18n && make
make[1]: Entering directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/i18n'
if  test -f /usr/qt/3/bin/lrelease; then \
     /usr/qt/3/bin/lrelease i18n.pro; \
else \
    lrelease i18n.pro; fi
make[1]: Leaving directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/i18n'
cd src && /usr/bin/qmake src.pro -unix
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
uic: File generated with too old version of Qt Designer
cd src && make
make[1]: Entering directory `/var/tmp/portage/kiax-0.8.4/work/kiax-0.8.4/src'
g++ -c -pipe -march=pentium4 -O2 -pipe -D_REENTRANT -Wall -W -DICONS_PATH=\"/usr/share/kiax/icons/\" -DI18N_DIRECTORY=\"/usr/share/kiax/i18n/\" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/doc/qt-4.1.0-r1/mkspecs/linux-g++ -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4 -I../src -I../lib -I/usr/include -I. -I. -o main.o main.cpp
In file included from main.cpp:22:
kiaxmainwindow.h:28:19: qdict.h: No such file or directory
kiaxmainwindow.h:33:22: qlistbox.h: No such file or directory
kiaxmainwindow.h:37:24: qpopupmenu.h: No such file or directory
kiaxmainwindow.h:46:24: mainwindow.h: No such file or directory
In file included from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47,
                 from main.cpp:22:
kiaxprefs.h:24:22: qptrlist.h: No such file or directory
In file included from kiaxprefs.h:31,
                 from iaxwrapper.h:34,
                 from kiaxmainwindow.h:47
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Jan 09, 2006 11:02 pm    Post subject: Reply with quote

Code:
uic: File generated with too old version of Qt Designer
the version of the Qt user interface compiler (uic) installed on your system is too old and cannot handle the Qt XML UI files that come with the source code.

An upgrade of Qt should fix it
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Mon Jan 09, 2006 11:10 pm    Post subject: Reply with quote

My qt:
Code:
localhost mirek # emerge -p qt
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild   R   ] x11-libs/qt-4.1.0-r1


BTW Kiax was working beafore upgrade to new gcc
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Jan 09, 2006 11:24 pm    Post subject: Reply with quote

post
Code:
gcc-config -l
please
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
mirek
Guru
Guru


Joined: 20 Sep 2004
Posts: 489
Location: Oslo Norway

PostPosted: Mon Jan 09, 2006 11:26 pm    Post subject: Reply with quote

Here you are:
Code:
localhost mirek # gcc-config -l
 [1] i686-pc-linux-gnu-3.4.5 *
 [2] i686-pc-linux-gnu-3.4.5-hardened
 [3] i686-pc-linux-gnu-3.4.5-hardenednopie
 [4] i686-pc-linux-gnu-3.4.5-hardenednopiessp
 [5] i686-pc-linux-gnu-3.4.5-hardenednossp
Back to top
View user's profile Send private message
cokey
Advocate
Advocate


Joined: 23 Apr 2004
Posts: 3355

PostPosted: Mon Jan 09, 2006 11:34 pm    Post subject: Reply with quote

i know this is not what you want to hear but have you tried downgrading and seeing if it fixes itself? If it does then a bug should be files about why it compiles with one version of GCC and not another.

Also have you upgraded glibc recently?
_________________
https://otw20.com/ OTW20 The new place for off the wall chat
Back to top
View user's profile Send private message
FishB8
l33t
l33t


Joined: 17 Mar 2003
Posts: 820

PostPosted: Tue Jan 24, 2006 10:49 pm    Post subject: Reply with quote

I get the same error with gcc 3.4.4 The problem is that it is attempting to build it using Qt 4.x rather than 3.x (It built correctly after uninstalling qt4) I'm going to file a bug.
_________________
"...as we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours, and this we should do freely and generously." -Benjamin Franklin
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum