#26 Problem compiling gexif 0.5

closed-fixed
5
2005-03-24
2005-03-13
Pierre
No

# make
make all-recursive
make[1]: Entering directory `/tmp/gexif-0.5'
Making all in intl
make[2]: Entering directory `/tmp/gexif-0.5/intl'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gexif-0.5/intl'
Making all in m4
make[2]: Entering directory `/tmp/gexif-0.5/m4'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gexif-0.5/m4'
Making all in libjpeg
make[2]: Entering directory `/tmp/gexif-0.5/libjpeg'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/tmp/gexif-0.5/libjpeg'
Making all in gexif
make[2]: Entering directory `/tmp/gexif-0.5/gexif'
source='gexif-main.c' object='gexif-main.o' libtool=no \ depfile='.deps/gexif-main.Po'
tmpdepfile='.deps/gexif-main.TPo' \ depmode=gcc3 /bin/sh ../depcomp \ gcc -DHAVE_CONFIG_H -I. -I. -I.. -I.. -I../intl
-DGTK_DISABLE_DEPRECATED
-DGEXIF_LOCALEDIR="\"/usr/local/share/locale\""
-I/usr/local/include/gtk-2.0
-I/usr/local/lib/gtk-2.0/include -I/usr/local/include
-I/usr/X11R6/include -I/usr/local/include/atk-1.0
-I/usr/local/include/pango-1.0
-I/usr/local/include/freetype2
-I/usr/local/include/glib-2.0
-I/usr/local/lib/glib-2.0/include
-I/usr/local/include/libexif -s -O3 -march=i686
-Wall -Wchar-subscripts -Wmissing-declarations
-Wmissing-prototypes -Wnested-externs -Wpointer-arith
-c `test -f 'gexif-main.c' || echo './'`gexif-main.c
gexif-main.c:304: error: parse error before "mi"
gexif-main.c:304: warning: type defaults to `int' in
declaration of `mi'
gexif-main.c:306: warning: braces around scalar initializer
gexif-main.c:306: warning: (near initialization for
`mi[0]')
gexif-main.c:306: warning: initialization makes integer
from pointer without a cast
gexif-main.c:306: warning: excess elements in scalar
initializer
gexif-main.c:306: warning: (near initialization for
`mi[0]')
gexif-main.c:306: warning: excess elements in scalar
initializer
gexif-main.c:306: warning: (near initialization for
`mi[0]')
gexif-main.c:306: warning: excess elements in scalar
initializer
gexif-main.c:306: warning: (near initialization for
`mi[0]')
gexif-main.c:306: warning: excess elements in scalar
initializer
gexif-main.c:306: warning: (near initialization for
`mi[0]')
gexif-main.c:307: warning: braces around scalar initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:307: warning: initialization makes integer
from pointer without a cast
gexif-main.c:307: warning: excess elements in scalar
initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:307: warning: excess elements in scalar
initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:307: warning: excess elements in scalar
initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:307: warning: excess elements in scalar
initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:307: warning: excess elements in scalar
initializer
gexif-main.c:307: warning: (near initialization for
`mi[1]')
gexif-main.c:308: warning: braces around scalar initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:308: warning: initialization makes integer
from pointer without a cast
gexif-main.c:308: warning: excess elements in scalar
initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:308: warning: excess elements in scalar
initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:308: warning: excess elements in scalar
initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:308: warning: excess elements in scalar
initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:308: warning: excess elements in scalar
initializer
gexif-main.c:308: warning: (near initialization for
`mi[2]')
gexif-main.c:309: warning: braces around scalar initializer
gexif-main.c:309: warning: (near initialization for
`mi[3]')
gexif-main.c:309: warning: initialization makes integer
from pointer without a cast
gexif-main.c:309: warning: excess elements in scalar
initializer
gexif-main.c:309: warning: (near initialization for
`mi[3]')
gexif-main.c:309: warning: excess elements in scalar
initializer
gexif-main.c:309: warning: (near initialization for
`mi[3]')
gexif-main.c:309: warning: excess elements in scalar
initializer
gexif-main.c:309: warning: (near initialization for
`mi[3]')
gexif-main.c:309: warning: excess elements in scalar
initializer
gexif-main.c:309: warning: (near initialization for
`mi[3]')
gexif-main.c:310: warning: excess elements in scalar
initializer
gexif-main.c:310: warning: (near initialization for
`mi[3]')
gexif-main.c:311: warning: braces around scalar initializer
gexif-main.c:311: warning: (near initialization for
`mi[4]')
gexif-main.c:311: warning: initialization makes integer
from pointer without a cast
gexif-main.c:311: warning: excess elements in scalar
initializer
gexif-main.c:311: warning: (near initialization for
`mi[4]')
gexif-main.c:311: warning: excess elements in scalar
initializer
gexif-main.c:311: warning: (near initialization for
`mi[4]')
gexif-main.c:311: warning: excess elements in scalar
initializer
gexif-main.c:311: warning: (near initialization for
`mi[4]')
gexif-main.c:311: warning: excess elements in scalar
initializer
gexif-main.c:311: warning: (near initialization for
`mi[4]')
gexif-main.c:312: warning: braces around scalar initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:312: warning: initialization makes integer
from pointer without a cast
gexif-main.c:312: warning: excess elements in scalar
initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:312: warning: excess elements in scalar
initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:312: warning: excess elements in scalar
initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:312: warning: excess elements in scalar
initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:312: warning: excess elements in scalar
initializer
gexif-main.c:312: warning: (near initialization for
`mi[5]')
gexif-main.c:313: warning: braces around scalar initializer
gexif-main.c:313: warning: (near initialization for
`mi[6]')
gexif-main.c:313: warning: initialization makes integer
from pointer without a cast
gexif-main.c:313: warning: excess elements in scalar
initializer
gexif-main.c:313: warning: (near initialization for
`mi[6]')
gexif-main.c:313: warning: excess elements in scalar
initializer
gexif-main.c:313: warning: (near initialization for
`mi[6]')
gexif-main.c:313: warning: excess elements in scalar
initializer
gexif-main.c:313: warning: (near initialization for
`mi[6]')
gexif-main.c:313: warning: excess elements in scalar
initializer
gexif-main.c:313: warning: (near initialization for
`mi[6]')
gexif-main.c:314: warning: braces around scalar initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:314: warning: initialization makes integer
from pointer without a cast
gexif-main.c:314: warning: excess elements in scalar
initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:314: warning: excess elements in scalar
initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:314: warning: excess elements in scalar
initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:314: warning: excess elements in scalar
initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:314: warning: excess elements in scalar
initializer
gexif-main.c:314: warning: (near initialization for
`mi[7]')
gexif-main.c:315: warning: braces around scalar initializer
gexif-main.c:315: warning: (near initialization for
`mi[8]')
gexif-main.c:315: warning: initialization makes integer
from pointer without a cast
gexif-main.c:315: warning: excess elements in scalar
initializer
gexif-main.c:315: warning: (near initialization for
`mi[8]')
gexif-main.c:315: warning: excess elements in scalar
initializer
gexif-main.c:315: warning: (near initialization for
`mi[8]')
gexif-main.c:315: warning: excess elements in scalar
initializer
gexif-main.c:315: warning: (near initialization for
`mi[8]')
gexif-main.c:315: warning: excess elements in scalar
initializer
gexif-main.c:315: warning: (near initialization for
`mi[8]')
gexif-main.c:316: warning: braces around scalar initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:316: warning: initialization makes integer
from pointer without a cast
gexif-main.c:316: warning: excess elements in scalar
initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:316: warning: excess elements in scalar
initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:316: warning: excess elements in scalar
initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:316: warning: excess elements in scalar
initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:316: warning: excess elements in scalar
initializer
gexif-main.c:316: warning: (near initialization for
`mi[9]')
gexif-main.c:317: warning: data definition has no type
or storage class
gexif-main.c: In function `gexif_main_new':
gexif-main.c:325: error: `GtkItemFactory' undeclared
(first use in this function)
gexif-main.c:325: error: (Each undeclared identifier is
reported only once
gexif-main.c:325: error: for each function it appears in.)
gexif-main.c:325: error: `gif' undeclared (first use in
this function)
gexif-main.c:339: warning: implicit declaration of
function `gtk_item_factory_new'
gexif-main.c:339: warning: nested extern declaration of
`gtk_item_factory_new'
gexif-main.c:342: warning: implicit declaration of
function `gtk_item_factory_create_items'
gexif-main.c:342: warning: nested extern declaration of
`gtk_item_factory_create_items'
gexif-main.c:343: warning: implicit declaration of
function `gtk_item_factory_get_widget'
gexif-main.c:343: warning: nested extern declaration of
`gtk_item_factory_get_widget'
gexif-main.c:343: warning: assignment makes pointer
from integer without a cast
make[2]: *** [gexif-main.o] Error 1
make[2]: Leaving directory `/tmp/gexif-0.5/gexif'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/gexif-0.5'
make: *** [all] Error 2

Discussion

  • Hans Ulrich Niedermann

    • labels: --> build system
    • assigned_to: nobody --> hun
     
  • Ken Seymour

    Ken Seymour - 2005-03-23

    Logged In: YES
    user_id=805967

    I fixed this by removing this line

    -DGTK_DISABLE_DEPRECATED \

    from:

    gexif-0.5/gexif/Makefile.in

     
  • Hans Ulrich Niedermann

    • status: open --> closed
     
  • Hans Ulrich Niedermann

    • status: closed --> closed-fixed
     
  • Hans Ulrich Niedermann

    Logged In: YES
    user_id=59853

    Thanks for the hint.

    This is now fixed in CVS and will be in the next release.

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks