From kde-multimedia Sun Jun 02 13:15:07 2002 From: fenix Date: Sun, 02 Jun 2002 13:15:07 +0000 To: kde-multimedia Subject: Re: Several modules from HEAD from 2 days ago does not compile X-MARC-Message: https://marc.info/?l=kde-multimedia&m=102302370712438 Le sam 01/06/2002 =E0 18:25, Piotr Szymanski a =E9crit : > Hello, > Several plg from HEAD do no compile.=20 > I am using: > - gcc 3.1 cvs20020423 > - qt 3.0.4 (objprelinked) > - kde from 30.05.2002 HEAD (objprelinked) > - rpm 4.0.4 > - objprelink 1.4 > - binutils 2.12.90.0.4-1 > - automake 1.5 > - autoconf 2.52 > - alsa 0.9.0.rc1 >=20 > Here is what I get: =20 > << kdemultimedia >> > Yes, I know that the asoundlib.h has been moved in alsa 0.9 and I have=20 > corrected the files, although it would be appriopriate for configure to c= heck=20 > which alsa is installed and use the adequate header (could be done with=20 > several if's in a_alsa.c. >=20 > ++ ./configure line > ./configure --prefix=3D/usr/X11R6 --enable-objprelink --with-alsa=20 > --enable-arts-alsa --enable-audio=3Dalsa,oss > -- ./configure line >=20 > ++ make output > source=3D'alsa_a.c' object=3D'alsa_a.o' libtool=3Dno \ > depfile=3D'.deps/alsa_a.Po' tmpdepfile=3D'.deps/alsa_a.TPo' \ > depmode=3Dgcc3 /bin/sh ../../admin/depcomp \ > gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include=20 > `/usr/X11R6/bin/artsc-config --cflags` -DQT_THREAD_SUPPORT -D_REENTRANT= =20 > -DDEFAULT_PATH=3D\"/usr/X11R6/share/apps/kmidi/config\" -DAU_OSS -DAU_ALS= A =20 > -DIA_XAW -DQT_THREAD_SUPPORT -D_REENTRANT -fasm -Wall -ansi -W -pedanti= c=20 > -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings=20 > -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -m486 -O -fforce-mem -fforce-addr=20 > -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizat= ions=20 > -fregmove -fschedule-insns2 -fstrength-reduce -c `test -f alsa_a.c || ech= o=20 > './'`alsa_a.c > `-m486' is deprecated. Use `-march=3Di486' or `-mcpu=3Di486' instead. > alsa_a.c:135: warning: no previous prototype for `alsa_tell' alsa 0.9 is not supported yet (for kmix and kmidi) ... maybe with some patchs > << kdesdk >> > ++ ./configure line > ./configure --prefix=3D/usr/X11R6 --enable-objprelink > -- ./configure line >=20 > ++ make output > source=3D'cwbuglistcontainer.cpp' object=3D'cwbuglistcontainer.lo' libtoo= l=3Dyes \ > depfile=3D'.deps/cwbuglistcontainer.Plo'=20 > tmpdepfile=3D'.deps/cwbuglistcontainer.TPlo' \ > depmode=3Dgcc3 /bin/sh ../../admin/depcomp \ > /bin/sh ../../libtool --silent --mode=3Dcompile --tag=3DCXX g++ -DHAVE_CO= NFIG_H=20 > -I. -I. -I../.. -I../../kbugbuster/backend -I../../kbugbuster/=20 > -I/usr/X11R6/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPORT =20 > -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wund= ef=20 > -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -= ansi=20 > -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2=20 > -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT=20 > -DQT_NO_ASCII_CAST -c -o cwbuglistcontainer.lo `test -f=20 > cwbuglistcontainer.cpp || echo './'`cwbuglistcontainer.cpp > cwbuglistcontainer.cpp:36:25: kfinddialog.h: No such file or directory > cwbuglistcontainer.cpp: In member function `void > KBugBusterMainWindow::CWBugListContainer::searchBugByTitle(int, const > QString&)': for this, you must have buil a recent version of kdelibs (CVS HEAD < 2days) on which you have the recently added new module kdelibs/kutils (who implements kfinddialog)=20 you must have to redo: $ make -f Makefile.cvs $ ./configure .... on kdelibs for compiling kdelibs/kutils > << kdeutils >> > ++ ./configure line > ./configure --prefix=3D/usr/X11R6 --enable-objprelink > -- ./configure line >=20 > ++ make output > source=3D'kcalc_core.cpp' object=3D'kcalc_core.lo' libtool=3Dyes \ > depfile=3D'.deps/kcalc_core.Plo' tmpdepfile=3D'.deps/kcalc_core.TPlo' \ > depmode=3Dgcc3 /bin/sh ../admin/depcomp \ > /bin/sh ../libtool --silent --mode=3Dcompile --tag=3DCXX g++ -DHAVE_CONFI= G_H -I.=20 > -I. -I.. -I/usr/X11R6/include/qt -I/usr/X11R6/include -DQT_THREAD_SUPPO= RT =20 > -D_REENTRANT -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wund= ef=20 > -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -= ansi=20 > -D_XOPEN_SOURCE=3D500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2=20 > -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST=20 > -fexceptions -c -o kcalc_core.lo `test -f kcalc_core.cpp || echo=20 > './'`kcalc_core.cpp > kcalc_core.cpp: In member function `void QtCalculator::EnterDigit(int)': > kcalc_core.cpp:374: call of overloaded `pow(num_base&, int)' is ambiguous > /usr/include/bits/mathcalls.h:143: candidates are: double pow(double, dou= ble) > /usr/include/g++-v3/cmath:434: long double std::pow(long > double, int) > /usr/include/g++-v3/cmath:430: float std::pow(float, int) > /usr/include/g++-v3/cmath:426: double std::pow(double, in= t) > /usr/include/g++-v3/cmath:417: long double std::pow(long i have done a uggly fix for that ... Index: kcalctype.h =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /home/kde/kdeutils/kcalc/kcalctype.h,v retrieving revision 1.15 diff -u -u -r1.15 kcalctype.h --- kcalctype.h 24 Feb 2002 11:20:22 -0000 1.15 +++ kcalctype.h 2 Jun 2002 13:04:46 -0000 @@ -75,7 +75,7 @@ #define ATAN(X) atanl(X) #define ATANH(X) atanhl(X) #define EXP(X) expl(X) - #define POW(X,Y) powl(X,Y) + #define POW(X,Y) powl((long double)X,(long double)Y) #define LOG(X) logl(X) #define LOG_TEN(X) log10l(X) #define SQRT(X) sqrtl(X) @@ -97,7 +97,7 @@ #define ATAN(X) atan(X) #define ATANH(X) atanh(X) #define EXP(X) exp(X) - #define POW(X,Y) pow(X,Y) + #define POW(X,Y) pow((double)X,(double)Y) #define LOG(X) log(X) #define LOG_TEN(X) log10(X) #define SQRT(X) sqrt(X) > TIA. FeniX _______________________________________________ kde-multimedia mailing list kde-multimedia@mail.kde.org http://mail.kde.org/mailman/listinfo/kde-multimedia