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

List:       kde-devel
Subject:    Re: Can't compile kdemultimedia
From:       Michael Seiwert <m.seiwert () linuxraid ! de>
Date:       2001-03-04 12:16:06
[Download RAW message or body]

On Sun, Mar 04, 2001 at 07:09:01AM +0100, Pavel Troller wrote:
> Hi!
> Today's morning CVS update of kdemultimedia doesn't compile. The problem is in the
> arts/midi, especially audiomiditimer_impl.cc.
> My gcc-2.95.2 gives up with the following:
> g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I/opt/kde/include -I/opt/qt/include \
> -I/opt/X11/include -I../../arts/runtime -I./freeverb -I/opt/kde/include/arts \
> -D_REENTRANT -I/opt/kde/include -O2 -fno-exceptions -fno-check-new -Wall -pedantic \
> -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -Wno-long-long \
> -Wnon-virtual-dtor -fno-builtin -DQT_CLEAN_NAMESPACE -DQT_NO_COMPAT \
> -DQT_NO_ASCII_CAST -Wp,-MD,.deps/audiomiditimer_impl.pp -c audiomiditimer_impl.cc  \
> -fPIC -DPIC -o .libs/audiomiditimer_impl.o audiomiditimer_impl.cc:118: parse error \
> before `{' audiomiditimer_impl.cc:127: destructors must be member functions
> audiomiditimer_impl.cc: In function `void AudioMidiTimer_impl()':
> audiomiditimer_impl.cc:128: `timer' undeclared (first use this function)
> audiomiditimer_impl.cc:128: (Each undeclared identifier is reported only once
> audiomiditimer_impl.cc:128: for each function it appears in.)
> audiomiditimer_impl.cc: In function `class Arts::TimeStamp time()':
> audiomiditimer_impl.cc:133: warning: control reaches end of non-void function \
>                 `time()'
> audiomiditimer_impl.cc: At top level:
> audiomiditimer_impl.cc:138: parse error before `}'
> audiomiditimer_impl.cc: In method `class string \
> AudioMidiTimer_impl_Factory::interfaceName()': audiomiditimer_impl.cc:140: use of \
> `AudioMidiTimer_impl' is ambiguous audiomiditimer_impl.cc:127:   first declared as \
> `void AudioMidiTimer_impl()' here audiomiditimer_impl.cc:118:   also declared as \
> `class Arts::AudioMidiTimer_impl' here audiomiditimer_impl.cc:140: parse error \
> before `::' audiomiditimer_impl.cc:140: warning: control reaches end of non-void \
>                 function `AudioMidiTimer_impl_Factory::interfaceName()'
> audiomiditimer_impl.cc: In method `class Arts::Object_skel * \
> AudioMidiTimer_impl_Factory::createInstance()': audiomiditimer_impl.cc:140: parse \
> error before `;' audiomiditimer_impl.cc:140: warning: control reaches end of \
>                 non-void function `AudioMidiTimer_impl_Factory::createInstance()'
> audiomiditimer_impl.cc: At top level:
> audiomiditimer_impl.cc:141: parse error before `}'
> make[4]: *** [audiomiditimer_impl.lo] Error 1
> 

For me it helps commenting out '#include artsmodule.h' in
'audiomiditimer_impl.cc'. The header file isn't in the directory.

Good luck 

Michael    
 
> > Visit http://master.kde.org/mailman/listinfo/kde-devel#unsub to unsubscribe <<


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

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