From: Dave M. <dav...@nt...> - 2007-08-29 16:18:40
|
Hi Klaus, Here is exactly what I did. I took a fresh copy from CVS, overwrote those two files then built afresh: cvs -z3 co -P kphoneSI cd kphoneSI tar xvfz ../kphone-corrected.tar.gz autoconf ./configure --enable-threads=yes --enable-alsa=yes --enable-debug=yes make The result was: ..... ../dissipate2 -DHAVE_CONFIG_H -DSHARE_DIR=\"/usr/local/share/KPhoneSI\" -c -o kphoneview.o kphoneview.cpp In file included from kphoneview.cpp:53: idletimedetector.h:32:38: error: X11/extensions/scrnsaver.h: No such file or directory /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 idletimedetector.h:73: error: ISO C++ forbids declaration of ‘XScreenSaverInfo’ with no type idletimedetector.h:73: error: expected ‘;’ before ‘*’ token make[1]: *** [kphoneview.o] Error 1 rm kphone.moc.cpp kdtmf.moc.cpp khelp.moc.cpp make[1]: Leaving directory `/home/dave/kphoneSI/kphoneSI/kphone' make: *** [all] Error 2 BTW I always ran configure with --enable-alsa=yes. I don't follow what you say about not compiling with ALSA support? Any logs etc. you want to see just let me know. I have attached the full make output as make.txt in case that helps. Dave Klaus Fleischmann wrote: > Hi Dave, > I think, I found the error. Your Makefile and your compiler output > show, you did not compile ALSA support into KPhone. This is absolutely > legal, but the modules CallAudio and SessionControl were not prepared > for this. > I attach the corrected sources in kphone-corrected.tar.gz. Please > replace the files callaudio.gcc and sessioncontrol.gcc in the > subdirectory kphone with those in the archive. > > Klaus > > Dave Martin wrote: >> Hi Klaus, >> >> Thanks for looking into this. Hope this gives you what you need - I'm >> not a C coder. >> >> dave@ourbox:~$ X -version >> >> X Window System Version 7.2.0 >> Release Date: 22 January 2007 >> X Protocol Version 11, Revision 0, Release 7.2 >> Build Operating System: Linux Ubuntu >> Current Operating System: Linux ourbox 2.6.20-16-generic #2 SMP Thu >> Jun 7 20:19:32 UTC 2007 i686 >> Build Date: 04 April 2007 >> Before reporting problems, check http://wiki.x.org >> to make sure that you have the latest version. >> Module Loader present >> dave@ourbox:~$ gcc -v >> Using built-in specs. >> Target: i486-linux-gnu >> Configured with: ../src/configure -v >> --enable-languages=c,c++,fortran,objc,obj-c++,treelang --prefix=/usr >> --enable-shared --with-system-zlib --libexecdir=/usr/lib >> --without-included-gettext --enable-threads=posix --enable-nls >> --program-suffix=-4.1 --enable-__cxa_atexit --enable-clocale=gnu >> --enable-libstdcxx-debug --enable-mpfr --enable-checking=release >> i486-linux-gnu >> Thread model: posix >> gcc version 4.1.2 (Ubuntu 4.1.2-0ubuntu4) >> dave@ourbox:~$ dpkg -l | grep qt >> ii gtk-qt-engine 0.71~svn20070224-0ubuntu3 theme engine using Qt for >> GTK+ 2.x >> ii libavahi-qt3-1 0.6.17-0ubuntu3 Avahi Qt3 integration library >> ii libdbus-qt-1-1c2 0.62.git.20060814-2build1 simple interprocess >> messaging system (Qt-bas >> ii libpoppler1-qt 0.5.4-0ubuntu8.1 PDF rendering library (Qt 3 based >> shared lib >> ii libqt-perl 3.008-2build1 Perl bindings for the Qt library >> ii libqt3-compat-headers 3.3.8really3.3.7-0ubuntu5.1 Qt 1.x and 2.x >> compatibility includes >> ii libqt3-headers 3.3.8really3.3.7-0ubuntu5.1 Qt3 header files >> ii libqt3-mt 3.3.8really3.3.7-0ubuntu5.1 Qt GUI Library (Threaded >> runtime version), V >> ii libqt3-mt-dev 3.3.8really3.3.7-0ubuntu5.1 Qt development files >> (Threaded) >> ii libqt4-core 4.2.3-0ubuntu3 Qt 4 core non-GUI functionality runtime >> libr >> ii libqt4-gui 4.2.3-0ubuntu3 Qt 4 core GUI functionality runtime library >> ii libqt4-qt3support 4.2.3-0ubuntu3 Qt 3 compatibility library for Qt 4 >> ii libqt4-sql 4.2.3-0ubuntu3 Qt 4 SQL database module >> ii libsmokeqt1 3.5.5-1ubuntu4 SMOKE Binding Library to Qt >> ii python-qt3 3.17-0ubuntu3 Qt3 bindings for Python >> ii qt3-dev-tools 3.3.8really3.3.7-0ubuntu5.1 Qt3 development tools >> rc qt4-dev-tools 4.2.3-0ubuntu3 Qt 4 development tools >> ii scim-qtimm 0.9.4-0ubuntu5 SCIM context plugin for qt-immodule >> >> >> Dave >> >> Klaus Fleischmann wrote: >>> Please also check the version of you X (Xfree) System. The error in >>> the idletimedetector.h should not occure if the X11 stuff is >>> compatibele to those I use. >>> >>> And please send me the make-file of the kphone subdirectory >>> >>> Klaus >>> >>> Dave Martin wrote: >>>> Ok, same result as before unfortunately... I've attached the output >>>> from make, in case that helps. >>>> >>>> Dave >>>> >>>> Klaus Fleischmann wrote: >>>>> Hi, >>>>> before using the CVS-version, read the INSTALL, there are changes. >>>>> The most important one is the compile sequence: >>>>> autoconf (mandatora now) >>>>> ./configure (w. switches, if needed) >>>>> make >>>>> make install (you must be root to do this) >>>>> >>>>> Klaus >>>>> >>>>> Dave Martin wrote: >>>>>> Hi Klaus - I downloaded the kphoneSI_1.0.2.1.tar.gz, tar xvfz >>>>>> then ./configure with the switches recommended in the readme then >>>>>> make. I just tried to build from kphoneSI.tar.gz instead, same >>>>>> result. I've been doing make clean or just trashing the build >>>>>> folder in between attempts. I'll give what you suggest a try. >>>>>> >>>>>> Dave >>>>>> >>>>>> >>>>>> Klaus Fleischmann wrote: >>>>>>> Hi Dave, >>>>>>> where did you get KPhone from, CVS or release? If from the CVS >>>>>>> it seems you missed the subdirectory kaudio. It may also be >>>>>>> possible you mixed the old structure (without kaudio) and the >>>>>>> new one. >>>>>>> >>>>>>> My proposal: get KPhone completely new from CVS (please do not >>>>>>> mix with existing stuff) and build it. Please report your results. >>>>>>> >>>>>>> /Klaus >>>>>>> >>>>>>> Dave Martin wrote: >>>>>>>> Hi fellow kphoners >>>>>>>> >>>>>>>> I've been trying to build this on Kubuntu 7.04 (Feisty). Have >>>>>>>> managed to clear all of the hurdles so far, except this one: >>>>>>>> >>>>>>>> g++ -I/usr/share/qt3/include -Wall -g -O2 -O3 -I. -I../gsm >>>>>>>> -I../ilbc -I../dissipate2 -DHAVE_CONFIG_H >>>>>>>> -DSHARE_DIR=\"/usr/local/share/KPhoneSI\" -c -o >>>>>>>> ksipoptions.moc.o ksipoptions.moc.cpp >>>>>>>> g++ -I/usr/share/qt3/include -Wall -g -O2 -O3 -I. -I../gsm >>>>>>>> -I../ilbc -I../dissipate2 -DHAVE_CONFIG_H >>>>>>>> -DSHARE_DIR=\"/usr/local/share/KPhoneSI\" -c -o dtmfgenerator.o >>>>>>>> dtmfgenerator.cpp >>>>>>>> g++ -I/usr/share/qt3/include -Wall -g -O2 -O3 -I. -I../gsm >>>>>>>> -I../ilbc -I../dissipate2 -DHAVE_CONFIG_H >>>>>>>> -DSHARE_DIR=\"/usr/local/share/KPhoneSI\" -c -o trayicon.o >>>>>>>> trayicon.cpp >>>>>>>> /usr/bin/moc -o trayicon.moc.cpp trayicon.h >>>>>>>> g++ -I/usr/share/qt3/include -Wall -g -O2 -O3 -I. -I../gsm >>>>>>>> -I../ilbc -I../dissipate2 -DHAVE_CONFIG_H >>>>>>>> -DSHARE_DIR=\"/usr/local/share/KPhoneSI\" -c -o trayicon.moc.o >>>>>>>> trayicon.moc.cpp >>>>>>>> g++ -o kpsi -g main.o kphone.o kphone.moc.o kstatics.o >>>>>>>> kphoneview.o kphoneview.moc.o audiobuffer.o dspout.o >>>>>>>> dspoutoss.o menulistview.o menulistview.moc.o dspoutrtp.o >>>>>>>> dspearly.o dspearly.moc.o g711.o dspaudio.o dspaudioin.o >>>>>>>> dspaudioout.o calllistview.o calllistview.moc.o kcallview.o >>>>>>>> kcallview.moc.o kreferdialog.o kreferdialog.moc.o kcallwidget.o >>>>>>>> kcallwidget.moc.o kinstantmessagewidget.o >>>>>>>> kinstantmessagewidget.moc.o callaudio.o callaudio.moc.o >>>>>>>> sessioncontrol.o sessioncontrol.moc.o kphonebook.o >>>>>>>> kphonebook.moc.o ksipregistrations.o ksipregistrations.moc.o >>>>>>>> ksipauthentication.o ksipauthentication.moc.o audiocontrol.o >>>>>>>> audiocontrol.moc.o videocontrol.o videocontrol.moc.o >>>>>>>> extcontrol.o extcontrol.moc.o ksippreferences.o >>>>>>>> ksippreferences.moc.o ksipoptions.o ksipoptions.moc.o >>>>>>>> dtmfgenerator.o trayicon.o trayicon.moc.o >>>>>>>> ../dissipate2/dissipate2.a ../gsm/gsm.a ../ilbc/ilbc.a >>>>>>>> ../Speex/Speex.a -lssl -lpng -lSM -lICE -lXt -lXext -lX11 >>>>>>>> -L/usr/share/qt3/lib -lqt-mt -L/usr/local/lib >>>>>>>> -L/usr/X11R6/lib64 -L/usr/X11R6/lib -lssl -lcrypto -lresolv >>>>>>>> callaudio.o: In function `CallAudio::audioOut(SdpBuild*, int)': >>>>>>>> /home/dave/kphoneSI/kphone/callaudio.cpp:244: undefined >>>>>>>> reference to `DspOutAlsa::DspOutAlsa(QString const&)' >>>>>>>> callaudio.o: In function `CallAudio::audioIn(SdpBuild*, int)': >>>>>>>> /home/dave/kphoneSI/kphone/callaudio.cpp:158: undefined >>>>>>>> reference to `DspOutAlsa::DspOutAlsa(QString const&)' >>>>>>>> collect2: ld returned 1 exit status >>>>>>>> make[1]: *** [kpsi] Error 1 >>>>>>>> rm trayicon.moc.cpp kphone.moc.cpp menulistview.moc.cpp >>>>>>>> kcallview.moc.cpp ksippreferences.moc.cpp kphoneview.moc.cpp >>>>>>>> videocontrol.moc.cpp sessioncontrol.moc.cpp >>>>>>>> kinstantmessagewidget.moc.cpp kcallwidget.moc.cpp >>>>>>>> kreferdialog.moc.cpp kphonebook.moc.cpp audiocontrol.moc.cpp >>>>>>>> calllistview.moc.cpp dspearly.moc.cpp ksipoptions.moc.cpp >>>>>>>> extcontrol.moc.cpp ksipregistrations.moc.cpp callaudio.moc.cpp >>>>>>>> ksipauthentication.moc.cpp >>>>>>>> make[1]: Leaving directory `/home/dave/kphoneSI/kphone' >>>>>>>> make: *** [all] Error 2 >>>>>>>> >>>>>>>> What might be causing that error? >>>>>>>> >>>>>>>> Thanks >>>>>>>> Dave >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> ------------------------------------------------------------------------- >>>>>>>> >>>>>>>> This SF.net email is sponsored by: Splunk Inc. >>>>>>>> Still grepping through log files to find problems? Stop. >>>>>>>> Now Search log events and configuration files using AJAX and a >>>>>>>> browser. >>>>>>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>>>>>> _______________________________________________ >>>>>>>> kphone-users mailing list >>>>>>>> kph...@li... >>>>>>>> https://lists.sourceforge.net/lists/listinfo/kphone-users >>>>>>>> >>>>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> ------------------------------------------------------------------------- >>>> >>>> This SF.net email is sponsored by: Splunk Inc. >>>> Still grepping through log files to find problems? Stop. >>>> Now Search log events and configuration files using AJAX and a >>>> browser. >>>> Download your FREE copy of Splunk now >> http://get.splunk.com/ >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> kphone-users mailing list >>>> kph...@li... >>>> https://lists.sourceforge.net/lists/listinfo/kphone-users >> >> -- Cheers Dave |