compile fails

Johannes Brügmann jbrueg at t-online.de
Fri Apr 16 20:39:58 CEST 2004


Hello all on konq-e,

Johannes Brügmann schrieb am Fr, 16 Apr 2004 (um 19:26:51 +0200):
> 
> I tried 
> 
>       konqueror3-embedded-0.2-20040319 
>       kdelibs-3.2.1 
>       qt-3.3.1-r1 
>       gcc-3.3.3
> 
> on gentoo-linux but it failed with
> 
>       /usr/qt/3/bin/moc ./khtmlview.h -o khtmlview.moc
>       if /bin/sh ../../../libtool --silent --mode=compile --tag=CXX g++

>       khtmlview.cpp: In member function `void KHTMLView::print()':
>       khtmlview.cpp:1165: error: no matching function for call to
>       `KPrinter::KPrinter
>          (QPrinter::PrinterMode)'

if I --disable-printing then compiling fails with
      /usr/qt/3/bin/moc ./mainwindow_x11.h -o mainwindow_x11.moc
      if g++ -DHAVE_CONFIG_H -I. -I. -I../.. -I./pics -I./../dropin
      -I./../kdesrc/kdecore -I./../kdesrc/kio/http/kcookiejar
      -I./../kdesrc/kssl -I./../kdesrc/khtml -I./../kdesrc
      -I./../kdesrc/khtml/dom -I./../kdesrc/khtml/misc -I./../dropin/kio
      -I./../dropin/khtml  -I/usr/local/include -I/usr/qt/3/include
      -I/usr/X11R6/include   -DQT_THREAD_SUPPORT  -D_REENTRANT
      -Wnon-virtual-dtor -Wno-long-long -Wundef -ansi -D_XOPEN_SOURCE=500
      -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts -Wall -W
      -Wpointer-arith -Wwrite-strings -DNDEBUG -DNO_DEBUG -O2
      -march=athlon-tbird -O3 -pipe -fomit-frame-pointer
      -frerun-cse-after-loop -frerun-loop-opt -fprefetch-loop-arrays
      -funroll-loops -fforce-addr -falign-functions=4 -ffast-math
      -maccumulate-outgoing-args -Wformat-security
      -Wmissing-format-attribute -fno-exceptions -fno-check-new -fno-common
      -DQT_NO_ASCII_CAST  -MT mainwindow_x11.o -MD -MP -MF
      ".deps/mainwindow_x11.Tpo" \
        -c -o mainwindow_x11.o `test -f 'mainwindow_x11.cc' || echo
      './'`mainwindow_x11.cc; \
      then mv -f ".deps/mainwindow_x11.Tpo" ".deps/mainwindow_x11.Po"; \
      else rm -f ".deps/mainwindow_x11.Tpo"; exit 1; \
      fi
      mainwindow_x11.cc: In member function `virtual void
      MainWindowX11::initGUI()':
      mainwindow_x11.cc:197: error: invalid use of undefined type `struct
      QRegExp'
      /usr/qt/3/include/qcstring.h:140: error: forward declaration of
      `struct QRegExp
         '
> Is this version-specific? Should I change something?
> 
> Regards,
> Johannes
-- 
      Was  ist  der  Mensch,  dass du seiner gedenkst, und des Menschen
      Kind, dass du dich seiner annimmst?
      
      Psalm 8,5


More information about the konq-e mailing list