build error

Florian Simnacher florian.simnacher at eikon.tum.de
Mon Mar 25 10:31:27 GMT 2002


Hello,

i just created a new panel applet project.  I haven't modified the code
so far.  When tying make in the toplevel in a konsole window everything
builds fine.  But when i hit the make button in kdevelop i get the
following error output:

gmake  all-recursive
gmake[1]: Entering directory `/home/florian/src/kde-test/testapplet'
Making all in testapplet
gmake[2]: Entering directory `/home/florian/src/kde-test/testapplet/testapplet'
/usr/lib/qt2/bin/uic -o myview.h ./myview.ui
/bin/sh ../libtool --mode=compile --tag=CXX g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/opt/kde/include -I/usr/lib/qt2/include -I/usr/X11R6/include   -D_REENTRANT  -O0 -g3 -Wall -I/usr/lib/qt2/include LDFLAGS=-L/usr/lib/qt2/lib -lqt  -c testapplet.cpp
mkdir .libs
g++ -DHAVE_CONFIG_H -I. -I. -I.. -I/usr/local/opt/kde/include -I/usr/lib/qt2/include -I/usr/X11R6/include -D_REENTRANT -O0 -g3 -Wall -I/usr/lib/qt2/include LDFLAGS=-L/usr/lib/qt2/lib -lqt -Wp,-MD,.deps/testapplet.pp -c testapplet.cpp  -fPIC -DPIC -o .libs/testapplet.o
g++: cannot specify -o with -c or -S and multiple compilations
gmake[2]: Leaving directory `/home/florian/src/kde-test/testapplet/testapplet'
gmake[2]: *** [testapplet.lo] Error 1
gmake[1]: *** [all-recursive] Error 1
gmake[1]: Leaving directory `/home/florian/src/kde-test/testapplet'
gmake: *** [all-recursive-am] Error 2
*** failed ***

Strange is the LDFLAGS=-L/usr/lib/qt2/lib expression.  This g++ call work with LDFLAGS= removed.
Does anybody know what' s the problem?
I am using kde-2.2.2, kdevelop-2.0.2 and qt-2.3.1

Regards,

Florian

-
to unsubscribe from this list send an email to kdevelop-request at kdevelop.org with the following body:
unsubscribe »your-email-address«



More information about the KDevelop mailing list