Compiling error with Gtk- - 1.0.1
- From: "Wenhao Meng" <wenhao_meng hotmail com>
- To: gtk-list redhat com
- Subject: Compiling error with Gtk- - 1.0.1
- Date: Sun, 18 Jul 1999 09:59:33 EDT
Hello:
Help please!
I failed to install gtk--1.0.1. An error is from compiling ctree.cc during
make process. Included you should find the error message. It seems to me
that the configuration process is satisfied with my computer state and
complier. In other words, I did not find any error shown in the output of
the configuration process. A summary of my computer state is as follows:
1. Red Hat 5.0 distribution
2. Glib 1.2.2
3. Gtk+ 1.2.2
4. gcc 2.7.2.3
Another information I would like you know is that I installed Gtk--1.0.0 on
the same machine successfully. However I failed to compile example directory
and Hello World program.
I am willing to provide any other information that could lead the problem
resolved. As always, I appreciate any help.
//
// below is portion of compiling messages before the process is
// terminated
//
make[4]: Entering directory `/usr/meng/download/gtk--/Gtk---1.0.1/src/gtk--'
/bin/sh ../../libtool --mode=compile c++ -DHAVE_CONFIG_H -I../..
-DG_LOG_DOMAIN=\"Gtk--\" -I./.. -I.. -I../../gdk--
-I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include -g -O2 -Wall -Wno-unused -c ctree.cc
c++ -DHAVE_CONFIG_H -I../.. -DG_LOG_DOMAIN=\"Gtk--\" -I./.. -I..
-I../../gdk-- -I/usr/X11R6/include -I/usr/local/lib/glib/include
-I/usr/local/include -g -O2 -Wall -Wno-unused -c -fPIC -DPIC ctree.cc -o
ctree.lo
ctree.gen_h: In method `class Gtk_CTreeNode
Gtk_CTreeNode::node_nth_child(unsigned int)':
ctree.gen_h:428: const_cast cannot convert to non-pointer type
`Gtk_CTreeNode'
ctree.gen_h:429: warning: control reaches end of non-void function
`Gtk_CTreeNode::node_nth_child(unsigned int)'
make[4]: *** [ctree.lo] Error 1
make[4]: Leaving directory `/usr/meng/download/gtk--/Gtk---1.0.1/src/gtk--'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/usr/meng/download/gtk--/Gtk---1.0.1/src/gtk--'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/usr/meng/download/gtk--/Gtk---1.0.1/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/usr/meng/download/gtk--/Gtk---1.0.1'
make: *** [all-recursive-am] Error 2
Wenhao
_______________________________________________________________
Get Free Email and Do More On The Web. Visit http://www.msn.com
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]