latest compile error

Christian Couder chcouder at club-internet.fr
Sat Aug 19 12:17:21 UTC 2000


Falk Brettschneider wrote :
> 
> Hi,
> 
> See the error below happening when compiling the latest cvs version of
> KDE2, Qt and KDevelop2:
> 
> make[4]: Entering directory
> `/home/falk2/Projekte/kde2src/kdevelop/kdevelop/lib/projectmanagement'
> /bin/sh ../../../libtool --mode=compile g++ -DHAVE_CONFIG_H -I. -I.
> -I../../.. -I/opt/kde2/include -I/usr/lib/qt-2.2/include
> -I/usr/X11R6/include  -I../../../kdevelop/lib/general
>   -g -ansi -D_XOPEN_SOURCE -D_BSD_SOURCE -Wbad-function-cast
> -Wcast-align -Wundef -Wconversion -fno-exceptions -fno-check-new -Wall
> -pedantic -W -Wpointer-arith -Wmissing-prototypes -Wwrite-strings
> -Wno-long-long -fno-builtin  -c appwizard.cpp
> g++ -DHAVE_CONFIG_H -I. -I. -I../../.. -I/opt/kde2/include
> -I/usr/lib/qt-2.2/include -I/usr/X11R6/include
> -I../../../kdevelop/lib/general -g -ansi -D_XOPEN_SOURCE -D_BSD_SOURCE
> -Wbad-function-cast -Wcast-align -Wundef -Wconversion -fno-exceptions
> -fno-check-new -Wall -pedantic -W -Wpointer-arith -Wmissing-prototypes
> -Wwrite-strings -Wno-long-long -fno-builtin -Wp,-MD,.deps/appwizard.pp
> -c appwizard.cpp  -fPIC -DPIC -o .libs/appwizard.o
> In file included from appwizard.cpp:18:
> appwizard.h:21: appwizardbase.h: No such file or directory
> make[4]: *** [appwizard.lo] Error 1
> 

Hi Falk,

This problem comes from the "appwizard.ui" file which is not compiled.
You can compile it with 

uic -o appwizardbase.h appwizard.ui

to generate appwizardbase.h and then

uic -o appwizardbase.cpp -impl appwizardbase.h appwizard.ui

to generate appwizardbase.cpp

but you will perhaps get undefined references later :-(

I get the following undefined references

 kde2/lib/libDCOP.so -lSM -lICE -lICE -lqt -lpng /usr/lib/libjpeg.so
-lXext -lX11
 -lSM -lICE -lutil -lz -lstdc++ -lm -lc -lgcc -Wl,--rpath
-Wl,/opt/kde2/lib
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPag
eBase::staticMetaObject(void)'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBas
e type_info node'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBas
e::className(void) const'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBas
e virtual table'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBas
e::staticMetaObject(void)'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPag
eBase::QPaintDevice virtual table'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPag
eBase::className(void) const'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBas
e::tr(char const *)'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPag
eBase::tr(char const *)'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPa
eBase type_info node'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBa
e type_info function'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPa
eBase virtual table'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`AppWizardBa
e::QPaintDevice virtual table'
../../../kdevelop/lib/.libs/libkdevelop.so: undefined reference to
`FilePropsPa
eBase type_info function'
collect2: ld returned 1 exit status
make[4]: *** [libkdevprintplugin.la.closure] Error 1
make[4]: Leaving directory
`/home/christian/kde/dev2/kdevelop/kdevelop/plugin/p
int'                                                                                             

Sandy said he added *.ui files and modified the Makefile.am but
unfortunately there are errors left and Sandy is probably in vacation
now :-(

Is there a makefile guru out there who could fix this stuff ?

Bye,
Christian.




More information about the KDevelop-devel mailing list