[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-multimedia
Subject:    Re: Several modules from HEAD from 2 days ago does not compile
From:       fenix <fenix () club-internet ! fr>
Date:       2002-06-02 13:15:07
[Download RAW message or body]

Le sam 01/06/2002 à 18:25, Piotr Szymanski a écrit :
> Hello,
> Several plg from HEAD do no compile. 
> 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
> 
> Here is what I get:
<snip> 

> << kdemultimedia >>
> Yes, I know that the asoundlib.h has been moved in alsa 0.9 and I have 
> corrected the files, although it would be appriopriate for configure to check 
> which alsa is installed and use the adequate header (could be done with 
> several if's in a_alsa.c.
> 
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink --with-alsa 
> --enable-arts-alsa --enable-audio=alsa,oss
> -- ./configure line
> 
> ++ make output
> source='alsa_a.c' object='alsa_a.o' libtool=no \
> depfile='.deps/alsa_a.Po' tmpdepfile='.deps/alsa_a.TPo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I/usr/X11R6/include 
> `/usr/X11R6/bin/artsc-config --cflags`  -DQT_THREAD_SUPPORT  -D_REENTRANT 
> -DDEFAULT_PATH=\"/usr/X11R6/share/apps/kmidi/config\" -DAU_OSS -DAU_ALSA  
> -DIA_XAW -DQT_THREAD_SUPPORT  -D_REENTRANT  -fasm -Wall -ansi -W -pedantic 
> -Wshadow -Wpointer-arith -Wmissing-prototypes -Wwrite-strings 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -m486 -O -fforce-mem -fforce-addr 
> -fthread-jumps -fcse-follow-jumps -fcse-skip-blocks -fexpensive-optimizations 
> -fregmove -fschedule-insns2 -fstrength-reduce -c `test -f alsa_a.c || echo 
> './'`alsa_a.c
> `-m486' is deprecated. Use `-march=i486' or `-mcpu=i486' instead.
> alsa_a.c:135: warning: no previous prototype for `alsa_tell'
<snip>

alsa 0.9 is not supported yet (for kmix and kmidi) ... maybe with some
patchs

> << kdesdk >>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink
> -- ./configure line
> 
> ++ make output
> source='cwbuglistcontainer.cpp' object='cwbuglistcontainer.lo' libtool=yes \
> depfile='.deps/cwbuglistcontainer.Plo' 
> tmpdepfile='.deps/cwbuglistcontainer.TPlo' \
> depmode=gcc3 /bin/sh ../../admin/depcomp \
> /bin/sh ../../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H 
> -I. -I. -I../.. -I../../kbugbuster/backend -I../../kbugbuster/ 
> -I/usr/X11R6/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef 
> -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE -UQT_NO_COMPAT 
> -DQT_NO_ASCII_CAST  -c -o cwbuglistcontainer.lo `test -f 
> 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&)':
<snip>

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) 
you must have to redo:

$ make -f Makefile.cvs
$ ./configure ....

on kdelibs for compiling kdelibs/kutils

> << kdeutils >>
> ++ ./configure line
> ./configure --prefix=/usr/X11R6 --enable-objprelink
> -- ./configure line
> 
> ++ make output
> source='kcalc_core.cpp' object='kcalc_core.lo' libtool=yes \
> depfile='.deps/kcalc_core.Plo' tmpdepfile='.deps/kcalc_core.TPlo' \
> depmode=gcc3 /bin/sh ../admin/depcomp \
> /bin/sh ../libtool --silent --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. 
> -I. -I.. -I/usr/X11R6/include/qt -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  
> -D_REENTRANT  -Wnon-virtual-dtor -Wno-long-long -Wbad-function-cast -Wundef 
> -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi 
> -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -O2 
> -fno-exceptions -fno-check-new -DQT_CLEAN_NAMESPACE  -DQT_NO_ASCII_CAST 
> -fexceptions -c -o kcalc_core.lo `test -f kcalc_core.cpp || echo 
> './'`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, double)
> /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, int)
> /usr/include/g++-v3/cmath:417:                 long double std::pow(long
<snip>

i have done a uggly fix for that ...

Index: kcalctype.h
===================================================================
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
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic