Re: [gtk-list] Compiling error with Gtk- - 1.0.1




Are you sure, that ./configure was satisified with the state of your
system? I seem
to remember that C++ under gcc 2.7.2.x  didn't support all the features
Gtk-- needed.

I know for a fact that gcc 2.8.1 and egcs 2.91.57 and 2.91.66 work OK and I
also know
for a fact the the compiler shipped with RH5.2 (2.7.2.x) didn't work OK
with Gtk--.  You
might want to try upgrading to one of these newer compilers. First though,
be sure to re-check
the configure output and config.log, it should tell you more

Greetings
--> Robert




"Wenhao Meng" <wenhao_meng@hotmail.com> on 07/18/99 03:59:33 PM

Please respond to gtk-list@redhat.com

To:   gtk-list@redhat.com
cc:
Subject:  [gtk-list] Compiling error with Gtk- - 1.0.1


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

--
To unsubscribe: mail -s unsubscribe gtk-list-request@redhat.com < /dev/null










[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]