From: Pavel I. <pi...@ma...> - 2004-10-15 17:07:44
|
Hello,=0D=0A=0D=0AI have some errors while trying to compile libexif-gtk = on my FC2. Maybe someone will help me to solve this problems?=0D=0AHere t= hey are:=0D=0A=0D=0A------------------------------=0D=0AIn file included = from gtk-option-menu-option.c:22:=0D=0Agtk-option-menu-option.h:37: error= : syntax error before "GtkOptionMenu"=0D=0Agtk-option-menu-option.h:37: w= arning: no semicolon at end of struct or union=0D=0Agtk-option-menu-optio= n.h:40: error: syntax error before '}' token=0D=0Agtk-option-menu-option.= h:43: error: syntax error before "GtkOptionMenuClass"=0D=0Agtk-option-men= u-option.h:43: warning: no semicolon at end of struct or union=0D=0Agtk-o= ption-menu-option.h:47: error: syntax error before '}' token=0D=0Agtk-opt= ion-menu-option.h:49: error: syntax error before "gtk_option_menu_option_= get_type"=0D=0Agtk-option-menu-option.h:49: warning: type defaults to `in= t' in declaration of `gtk_option_menu_option_get_type'=0D=0Agtk-option-me= nu-option.h:49: warning: data definition has no type or storage class=0D=0Ag= tk-option-menu-option.h:50: error: syntax error before '*' token=0D=0Agtk= -option-menu-option.h:50: warning: type defaults to `int' in declaration = of `gtk_option_menu_option_new'=0D=0Agtk-option-menu-option.h:50: warning= : data definition has no type or storage class=0D=0Agtk-option-menu-optio= n.c:34: error: syntax error before '*' token=0D=0Agtk-option-menu-option.= c:34: warning: type defaults to `int' in declaration of `parent_class'=0D=0A= gtk-option-menu-option.c:34: warning: data definition has no type or stor= age class=0D=0Agtk-option-menu-option.c: In function `gtk_option_menu_opt= ion_finalize':=0D=0Agtk-option-menu-option.c:58: error: dereferencing poi= nter to incomplete type=0D=0Agtk-option-menu-option.c: In function `gtk_o= ption_menu_option_class_init':=0D=0Agtk-option-menu-option.c:77: error: d= ereferencing pointer to incomplete type=0D=0Agtk-option-menu-option.c: In= function `gtk_option_menu_option_init':=0D=0Agtk-option-menu-option.c:89= : error: dereferencing pointer to incomplete type=0D=0Agtk-option-menu-op= tion.c: At top level:=0D=0Agtk-option-menu-option.c:94: error: conflictin= g types for `gtk_option_menu_option_get_type'=0D=0Agtk-option-menu-option= =2Eh:49: error: previous declaration of `gtk_option_menu_option_get_type'= =0D=0Agtk-option-menu-option.c: In function `gtk_option_menu_option_get_t= ype':=0D=0Agtk-option-menu-option.c:100: error: invalid application of `s= izeof' to an incomplete type=0D=0Agtk-option-menu-option.c:102: error: in= valid application of `sizeof' to an incomplete type=0D=0Agtk-option-menu-= option.c:105: error: `GTK_TYPE_OPTION_MENU' undeclared (first use in this = function)=0D=0Agtk-option-menu-option.c:105: error: (Each undeclared iden= tifier is reported only once=0D=0Agtk-option-menu-option.c:105: error: fo= r each function it appears in.)=0D=0Agtk-option-menu-option.c: In functio= n `on_option_set':=0D=0Agtk-option-menu-option.c:118: warning: implicit d= eclaration of function `gtk_option_menu_set_history'=0D=0Agtk-option-menu= -option.c:118: warning: implicit declaration of function `GTK_OPTION_MENU= '=0D=0Agtk-option-menu-option.c: At top level:=0D=0Agtk-option-menu-optio= n.c:129: error: conflicting types for `gtk_option_menu_option_new'=0D=0Ag= tk-option-menu-option.h:50: error: previous declaration of `gtk_option_me= nu_option_new'=0D=0Agtk-option-menu-option.c: In function `gtk_option_men= u_option_new':=0D=0Agtk-option-menu-option.c:139: warning: implicit decla= ration of function `gtk_option_menu_set_menu'=0D=0Agtk-option-menu-option= =2Ec: In function `gtk_option_menu_option_get':=0D=0Agtk-option-menu-opti= on.c:155: warning: implicit declaration of function `gtk_option_menu_get_= menu'=0D=0Agtk-option-menu-option.c:155: warning: assignment makes pointe= r from integer without a cast=0D=0Agtk-option-menu-option.c: In function = `gtk_option_menu_option_set':=0D=0Agtk-option-menu-option.c:166: warning:= assignment makes pointer from integer without a cast=0D=0Amake[2]: *** [= gtk-option-menu-option.lo] Error 1=0D=0A------------------------------=0D=0A= =0D=0A --=0D=0A {00} Peace, Pavel Ivanov=0D=0A / \/ \ E-mail: pi@mail= =2Eby=0D=0A/{ )\ ICQ#: 51473881=0D=0A ^ ^=0D=0A |
From: Lutz <lu...@us...> - 2004-10-16 13:31:38
|
On Fri, 2004-10-15 at 19:06, Pavel Ivanov wrote: > I have some errors while trying to compile libexif-gtk on my FC2. You are experience problems because of the interface changes between gtk and gtk2. Either you try to compile a new libexif-gtk with old gtk header files or the other way round. Please check first that you can compile other gtk2 programs without errors. Then send us some details on the versions of libexif-gtk and gtk that you are trying to use. Lutz |