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

List:       kde-core-devel
Subject:    Re: kdelibs/arts will not compile
From:       Stefan Westerfeld <stefan () space ! twc ! de>
Date:       2000-12-10 14:22:08
[Download RAW message or body]

   Hi!

On Fri, Dec 08, 2000 at 10:41:33AM -0700, Robert D. Williams wrote:
> Update.  It compiles with make, but not with make -j2 ???
> 
> On Fri, 8 Dec 2000, Robert D. Williams wrote:
> >  simplesoundserver_impl.h:29: soundserver.h: No such file or directory
> > g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I../../dcop -I../../kdecore
> > -I../../kdeui -I../../kssl -I/usr/lib/qt-2.2.2/include
> > -I/usr/X11R6/include -I/opt/kde2/include  -I../../arts/mcop
> > -I../../arts/flow    -I../../arts/flow  -D_REENTRANT  -O2 -fno-exceptions
> > -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
> > -Wwrite-strings -Wno-long-long -fno-builtin -frtti -DQT_CLEAN_NAMESPACE
> > -DQT_NO_COMPAT -DQT_NO_ASCII_CAST  -c cpuusage.cc
> > In file included from soundserver_impl.cc:26:
> > soundserver_impl.h:31: soundserver.h: No such file or directory

Ok, fixed. However, I really wonder why this happens. I added a dependancy
from soundserver_impl.cc to soundserver.h to the Makefile.am, the relevant
section now looks like

soundserver.h: $(top_srcdir)/arts/soundserver/soundserver.idl kmedia2.h $(MCOPIDL)
    $(MCOPIDL) $(MCOPINC) $(top_srcdir)/arts/soundserver/soundserver.idl
 
soundserver.cc: soundserver.h
artscat.cc: soundserver.h
artsd.cc: soundserver.h
artsplay.cc: soundserver.h
wavplayobject_impl.cc: soundserver.h
simplesoundserver_impl.cc: soundserver.h
soundserver_impl.cc: soundserver.h                                              

Shouldn't automake be able to figure out that kind of dependancy itself?

   Cu... Stefan
-- 
  -* Stefan Westerfeld, stefan@space.twc.de (PGP!), Hamburg/Germany
     KDE Developer, project infos at http://space.twc.de/~stefan/kde *-         

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

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