You are not logged in.
Pages: 1
Hello,
I'd like to compile DeSmuME from source on my Gentoo linux box (it's already in the package management system, so it should be a breeze), but I get the following compilation errors:
In file included from ../cflash.h:10,
from globals.h:93,
from callbacks_IO.h:24,
from callbacks_IO.c:24:
../fat.h:80: warning: '__packed__' attribute ignored for field of type 'u8[3]'
../fat.h:81: warning: '__packed__' attribute ignored for field of type 'u8[8]'
../fat.h:84: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:86: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:89: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:98: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:99: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:100: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:102: warning: '__packed__' attribute ignored for field of type 'u8[11]'
../fat.h:103: warning: '__packed__' attribute ignored for field of type 'u8[8]'
../fat.h:105: warning: '__packed__' attribute ignored for field of type 'u8[448]'
../fat.h:113: warning: '__packed__' attribute ignored for field of type 'u8[8]'
../fat.h:114: warning: '__packed__' attribute ignored for field of type 'u8[3]'
../fat.h:115: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:116: warning: '__packed__' attribute ignored for field of type 'u8'
../fat.h:117: warning: '__packed__' attribute ignored for field of type 'u8'
callbacks_IO.c: In function 'init_GL_capabilities':
callbacks_IO.c:83: error: number of arguments doesn't match prototype
gdk_gl.h:38: error: prototype declaration
callbacks_IO.c: At top level:
callbacks_IO.c:84: error: conflicting types for 'init_GL'
gdk_gl.h:39: error: previous declaration of 'init_GL' was here
callbacks_IO.c:85: error: conflicting types for 'reshape'
gdk_gl.h:43: error: previous declaration of 'reshape' was here
make[2]: *** [callbacks_IO.o] Error 1The fat.h related warnings appear for every file that's being compiled, so I'm not really worried about those. It's the callbacks_IO.c errors that are the problem.
Is this a known phenomenon (according to Google some other people have the same problem, but no solution given) and can anyone give me some pointers on how to fix this?
I'm completely unfamiliar with openGL programming, so hunting down the bug, fixing it myself and sending a patch is out of my league, I'm afraid.
Thanks,
Sven
Offline
Pages: 1