Current CVS doesn't compile

Roberto Raggi raggi at di.unipi.it
Tue Apr 8 17:02:06 UTC 2003


On Tuesday 08 April 2003 16:51, Roberto Raggi wrote:
> On Tuesday 08 April 2003 16:33, Amilcar do Carmo Lucas wrote:
> > gcc 2.95.3  SuSE 8.0
> > KDE-3.1.1 SuSE RPM's
> > QT-3.1.2  SuSE RPM's
> >
> > KDevelop CVS from now.
> >
> > In directory Parts/cppsupport:
> >
> > /usr/lib/qt3/bin/moc ./lexer.h -o lexer.moc.cpp
> > ./lexer.h:0: Warning: No relevant classes found. No output generated.
> > g++ -Wnon-virtual-dtor -Wno-long-long -Wundef -Wall -pedantic -W
> > -Wpointer-arith -Wmissing-prototypes -Wwrite-strings -ansi
> > -D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -fno-builtin
> > -g -O2 -g3 -O0 -fno-exceptions -fno-check-new -DQT_THREAD_SUPPORT
> > -D_REENTRANT   lexer.moc.cpp   -o lexer.moc
> > /usr/lib/crt1.o: In function `_start':
> > /usr/lib/crt1.o(.text+0x18): undefined reference to `main'
> > collect2: ld returned 1 exit status
>
> remove cppsupport/.deps and cppsupport/Makefile.in and cppsupport/Makefile
> after that reexecute autoconf/automake.. it seems a bug of automake stuff

amilcar, i saw that you have reincluded lexer.moc in lexer.cpp.. please, 
remove it, because it is a problem of your installation.. Lexer isn't a 
QObject class.. 

ciao robe





More information about the KDevelop-devel mailing list