From: Chris Schlaeger (cs_at_suse.de)
Date: Mon Apr 04 2005 - 05:43:17 CEST
From: Chris Schlaeger <cs@suse.de> Date: Sun, 3 Apr 2005 21:43:17 -0600 Message-Id: <200504032143.23310.cs@suse.de> Subject: Re: [taskjuggler-devel] *** Request via TaskJuggler Web Site ***
> > if /bin/sh ../libtool --silent --tag=CXX --mode=compile env
> > CCACHE_DIR=/var/ccache ccache c++ -DHAVE_CONFIG_H -I. -I. -I..
> > -I/usr/local/include -I/usr/X11R6/include -I/usr/local/include
> > -DQT_THREAD_SUPPORT -I/usr/local/include -I/usr/local/include
> > -I/usr/X11R6/include -D_GETOPT_H -D_THREAD_SAFE -Wnon-virtual-dtor
> > -Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2 -O
> > -pipe -march=pentium -fno-exceptions -fno-check-new -fno-common -MT
> > TjMessageHandler.lo -MD -MP -MF ".deps/TjMessageHandler.Tpo" -c -o
> > TjMessageHandler.lo TjMessageHandler.cpp; then mv -f
> > ".deps/TjMessageHandler.Tpo" ".deps/TjMessageHandler.Plo"; else rm -f
> > ".deps/TjMessageHandler.Tpo"; exit 1; fi
> > TjMessageHandler.cpp:62:32: TjMessageHandler.moc: No such file or
> > directory
> > *** Error code 1
> >
> > Stop in
> > /usr/home/clive/ports/taskjuggler/work/taskjuggler-2.1/taskjuggler.
> > *** Error code 1
> >
> > Stop in /usr/home/clive/ports/taskjuggler/work/taskjuggler-2.1.
> > *** Error code 1
> >
> > Stop in /usr/home/clive/ports/taskjuggler/work/taskjuggler-2.1.
> > *** Error code 1
> >
> > Stop in /usr/home/clive/ports/taskjuggler.
> > make 76.45s user 20.54s system 39% cpu 4:08.31 total
These kinds of problems usually occur when you mix wrong versions of libraries
or use different gcc versions. You should check that
* you don't have any other libtaskjuggler on your machine that the one you
just built
* you start with a 'make clean'
* you only use one version of gcc. The same that was used to build Qt and KDE.
Chris
> >
> > :(
> >
> > At the moment 2.01 does work however ( i resurected it for FreeBSD,
> > see http://www.freshports.org/deskutils/taskjuggler/ ) I would prefer
> > to use the 'latest & greatest' ;)
>
> Sorry I'm replying to my own mail, I have some more information.
>
> I ran : ' moc TjMessageHandler.h > TjMessageHandler.moc ' I don't know
> 'moc' so I'm not sure if this is correct ?
> the compile continued then however until this point :
>
> /bin/sh ../libtool --silent --tag=CXX --mode=link c++
> -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -W -Wpointer-arith
> -Wwrite-strings -O2 -O -pipe -march=pentium -fno-exceptions
> -fno-check-new -fno-common -pthread -L/usr/local/lib -o taskjuggler
> main.o libtaskjuggler.la -Wl,-export-dynamic -L/usr/local/lib
> -L/usr/X11R6/lib -ljpeg -L/usr/X11R6/lib
> /usr/bin/ld: warning: libm.so.2, needed by /usr/X11R6/lib/libGL.so.1,
> may conflict with libm.so.3
> ./.libs/libtaskjuggler.so: undefined reference to
> `Project::updateProgressBar(int, int)'
> ./.libs/libtaskjuggler.so: undefined reference to
> `Project::updateProgressInfo(QString const&)'
> ./.libs/libtaskjuggler.so: undefined reference to `vtable for Project'
> *** Error code 1
>
>
> thanks again for any help
> Clive
-- KDE 3.3: Conquer your Enterprise Desktop! See http://www.kde.org! GPG Key: 1024D/0500838B A5FE C051 2AFC 9A14 768A 5125 5829 5750 0500 838B
This archive was generated by hypermail 2.1.7 : Mon Apr 04 2005 - 22:33:12 CEST