Something wrong with "html.cpp" ?

"luqiang" <[email protected]> Tue, 12 Nov 2002 10:18:5 +0800
Newsgroups gmane.comp.web.viewml.devel
Message-ID <[email protected]>
viewml-devel,Hi!
      My PC is P4-1.6G
      I re-install RedHat7.3. And having www3c-libwww.5.2.8;Microwindows-0.89pre;
      I Un-tar fltk-1.0.11 in the folder:  /root/viewml/fltk-1.0.11 
      "/root/viewml/fltk-1.0.11" is the top folder of fltk.
      I have run "make" "make install" to  "/root/viewml/fltk-1.0.11"
      Then I  Un-tar viewml-0.18 to  "/root/viewml/viewml-0.18".
	  "/root/viewml/viewml-0.18" is the top folder of viewml-0.18
      But When I run "make all"	
		after "./configure --with-fltk=/root/viewml/fltk-1.0.11".
 		Something wrong with it.
     the same error appears when I "make all" viewml-0.21
      How can I do?
      please help me!
       


      
[root@localhost viewml-0.18]# ./configure --with-fltk=/root/viewml/fltk-1.0.11
creating cache ./config.cache
checking host system type... i686-pc-linux-gnu
checking target system type... i686-pc-linux-gnu
checking build system type... i686-pc-linux-gnu
checking cached host tuple... ok
Configuring for i686-pc-linux-gnu
checking for gcc... gcc
checking for g++... g++
checking for ld... ld
checking for ar... ar
checking for ranlib... ranlib
checking for gcc... (cached) gcc
checking whether the C compiler (gcc  ) works... yes
checking whether the C compiler (gcc  ) is a cross-compiler... no
checking whether we are using GNU C... yes
checking whether gcc accepts -g... yes
checking for c++... (cached) g++
checking whether the C++ compiler (g++  ) works... yes
checking whether the C++ compiler (g++  ) is a cross-compiler... no
checking whether we are using GNU C++... yes
checking whether g++ accepts -g... yes
checking whether mipsel-linux-g++ requires --permissive... yes
Grabbing FLTK from /root/viewml/fltk-1.0.11...
checking how to run the C++ preprocessor... g++ -E
checking for X... libraries /usr/X11R6/lib, headers /usr/X11R6/include
Building with X11...
checking for dnet_ntoa in -ldnet... no
checking for dnet_ntoa in -ldnet_stub... no
checking for gethostbyname... yes
checking for connect... yes
checking for remove... yes
checking for shmat... yes
checking for IceConnectionNumber in -lICE... yes
checking whether make sets ${MAKE}... yes
updating cache ./config.cache
creating ./config.status
creating Makefile
creating makeinclude

===========================================

[root@localhost viewml-0.18]# make all
make[1]: Entering directory `/root/viewml/viewml-0.18/src'
if [ ! -s .build_depends ]; then make -f build_depends.mk force-depends; fi
make[2]: Entering directory `/root/viewml/viewml-0.18/src'
Generating dependancies for /root/viewml/viewml-0.18/src...
g++ -M -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -I../jscript -I/root/viewml/fltk-1.0.11 -I/root/viewml/fltk-1.0.11/FL -I./fltk  -g --permissive  -I/usr/X11R6/include `/usr/local/bin/libwww-config --cflags` html.cpp htmlchain.cpp htmlclue.cpp htmldata.cpp htmlfont.cpp htmliter.cpp htmltable.cpp htmltoken.cpp jscript.cpp htmlview.cpp htmlframe.cpp htmlobj.cpp debug.cpp htmlform.cpp main.cpp http.cpp http_.cpp ../kdecore/kurl.cpp ../kdeui/kcursor.cpp fltk/qtimer.cpp fltk/qobject.cpp fltk/qpainter.cpp fltk/qdrawutil.cpp fltk/qfont.cpp fltk/qrect.cpp fltk/qregexp.cpp fltk/qstring.cpp fltk/kcharsets.cpp fltk/qcolor.cpp fltk/qpixmap.cpp fltk/qfontinfo.cpp fltk/qwidget.cpp fltk/history.cpp >> .build_depends
make[2]: Leaving directory `/root/viewml/viewml-0.18/src'
make[1]: Leaving directory `/root/viewml/viewml-0.18/src'
make[1]: Entering directory `/root/viewml/viewml-0.18/src'
g++ -L/include -INONE/include -I. -I../kdecore -I../kimgio -I../kdeui -I../jscript -I/root/viewml/fltk-1.0.11 -I/root/viewml/fltk-1.0.11/FL -I./fltk  -g --permissive  -I/usr/X11R6/include `/usr/local/bin/libwww-config --cflags` -I.. -c -o html.o html.cpp
In file included from fltk/qobject.h:6,
                 from fltk/fltk-qbase.h:18,
                 from fltk/qfont.h:7,
                 from fltk/kcharsets.h:4,
                 from fltk/kapp.h:4,
                 from html.cpp:25:
fltk/qconnection.h: In method `void (QObject::**QConnection::member ())
() const':
fltk/qconnection.h:44: cannot convert `void (QObject::*const *) ()' to
`void (QObject::**) ()' in return
fltk/qconnection.h: At top level:
fltk/qconnection.h:62: warning: ISO C++ forbids declaration of
`operator++' with no type
html.cpp: In method `void KHTMLWidget::dndMouseMoveEvent (QMouseEvent
*)':
html.cpp:754: cannot convert `const char *' to `char *' for argument
`2' to `KDNDWidget::startDrag (KDNDIcon *, char *, int, int, int, int)'
html.cpp: In method `void KHTMLWidget::parse ()':
html.cpp:1968: cannot convert `char **' to `const char **' for argument
`2' to `KHTMLWidget::parseBody (HTMLClueV *, const char **, bool)'
In file included from html.cpp:6549:
html.moc: At top level:
html.moc:213: warning: ISO C++ forbids declaration of `QListMdeclare'
with no type
html.moc:214: warning: ISO C++ forbids declaration of
`QListIteratorMdeclare' with no type
fltk/qpaintdevice.h: In method `QPaintDevice &QPaintDevice::operator=
(const QPaintDevice &)':
fltk/qpaintdevice.h:63: warning: no return statement in function
returning non-void
make[1]: *** [html.o] Error 1
make[1]: Leaving directory `/root/viewml/viewml-0.18/src'
make: *** [viewml] Error 2


        致
礼!
 				

        luqiang
        [email protected]
          2002-11-12



#############################################################
This message is sent to you because you are subscribed to
  the mailing list <[email protected]>.
To unsubscribe, E-mail to: <[email protected]>
To switch to the DIGEST mode, E-mail to <[email protected]>
To switch to the INDEX mode, E-mail to <[email protected]>
Send administrative queries to  <[email protected]>