RE: GTK with GCC 4.1 on Fedora Core 5
- From: "Karihaloo, Ujjval" <Ujjval Karihaloo Level3 com>
- To: "David Necas (Yeti)" <yeti physics muni cz>
- Cc: gtk-app-devel-list gnome org
- Subject: RE: GTK with GCC 4.1 on Fedora Core 5
- Date: Wed, 3 May 2006 21:17:59 -0600
I have both versions of GTK as u can see:
[karihalo aztecrisk include]$ rpm -qa gtk+
gtk+-1.2.10-50
[karihalo aztecrisk include]$ rpm -qa gtk2
gtk2-2.8.17-1.fc5.1
I think before my application was pointing to gtk1.2 and I was getting
this error which I corrected in the configure file: Error and correction
method below: It complained about token (should I replace 1.2.0 with
something else?)
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking for gcc... (cached) gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gcc option to accept ANSI C... (cached) none needed
checking dependency style of gcc... (cached) gcc3
checking how to run the C preprocessor... gcc -E
checking for egrep... grep -E
checking for ANSI C header files... yes
./configure: line 5028: syntax error near unexpected token `1.2.0,'
./configure: line 5028: `AM_PATH_GTK(1.2.0, ,'
make[1]: *** [gui/src/sipset] Error 2
make[1]: Leaving directory `/home/karihalo/greearb/vocal/sip/gua'
make: *** [uagui] Error 2
========================================================================
===================
I found the problem... In file /vocal/sip/gua/gui/configure.in instead
of AM_PATH_GTK(...)
it should be AM_PATH_GTK_2_0(...). (maybe due to gtk version 2
-----Original Message-----
From: David Necas (Yeti) [mailto:yeti physics muni cz]
Sent: Wednesday, May 03, 2006 6:03 PM
To: Karihaloo, Ujjval
Cc: gtk-app-devel-list gnome org
Subject: Re: GTK with GCC 4.1 on Fedora Core 5
On Wed, May 03, 2006 at 05:02:07PM -0600, Karihaloo, Ujjval wrote:
Here is another Error I am getting:
undefined reference to `gtk_menu_ensure_uline_accel_group'
Any idea?
You are trying to compile and link a Gtk+ 1.2 program with
Gtk+ 2.x -- and GCC is innocent here.
Compile and link the program with Gtk+ 1.2. If you use
pkg-config, the module is called gtk+, not gtk+-2.0.
Yeti
--
Anonyms eat their boogers.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]