conflicting types for 'typedef struct poptOption*poptOption'



hello again,

i have got a lot further compiling garnome, but i have another problem. 
the mailing list archives weren't too helpful again, could someone
please help me out by pointing out how to fix it.

thanks,


graham

heres the compiler spew.....


In file included from
/users/home/graham2/garnome/include/libgnome-2.0/libgnome/gnome-program.h:35,
                 from
/users/home/graham2/garnome/include/libgnome-2.0/libgnome/libgnome.h:29,
                 from
/users/home/graham2/garnome/include/libgnomeui-2.0/gnome.h:5,
                 from tetris.h:25,
                 from main.cpp:22:
/usr/include/popt.h:183: conflicting types for `typedef struct
   poptOption*poptOption'
/usr/include/popt.h:114: previous declaration as `struct poptOption'
/usr/include/popt.h:210: conflicting types for `struct poptOption'
/usr/include/popt.h:183: previous declaration as `typedef struct
   poptOption*poptOption'
main.cpp: In function `int main(int, char**)':
main.cpp:40: initializer for scalar variable requires one element
gmake[5]: *** [main.o] Error 1
gmake[5]: Leaving directory
`/home/local/graham2/downloads/garnome-0.28.3/gnome/gnome-games/work/main.d/gnome-games-2.5.2/gnometris'
gmake[4]: *** [all-recursive] Error 1
gmake[4]: Leaving directory
`/home/local/graham2/downloads/garnome-0.28.3/gnome/gnome-games/work/main.d/gnome-games-2.5.2/gnometris'
gmake[3]: *** [all-recursive] Error 1
gmake[3]: Leaving directory
`/home/local/graham2/downloads/garnome-0.28.3/gnome/gnome-games/work/main.d/gnome-games-2.5.2'
gmake[2]: *** [all] Error 2
gmake[2]: Leaving directory
`/home/local/graham2/downloads/garnome-0.28.3/gnome/gnome-games/work/main.d/gnome-games-2.5.2'
gmake[1]: *** [build-work/main.d/gnome-games-2.5.2/Makefile] Error 2
gmake[1]: Leaving directory
`/home/local/graham2/downloads/garnome-0.28.3/gnome/gnome-games'
gmake: *** [../../gnome/gnome-games/cookies/main.d/install] Error 2




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