You are not logged in.

Read the FAQ and Knowledge Base before posting.
We won't make a 3DS/2DS emulator.



#1 2007-09-22 03:19:39

stranger
Member
Registered: 2007-09-22
Posts: 1

Compile problem Ubuntu 6.04: Prototype declaration error

I get the error message:

In file included from ../cflash.h:9,
                 from globals.h:92,
                 from callbacks_IO.h:23,
                 from callbacks_IO.c:23:
../fat.h:80: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[3]\u2019
../fat.h:81: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[8]\u2019
../fat.h:84: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:86: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:89: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:98: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:99: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:100: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:102: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[11]\u2019
../fat.h:103: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[8]\u2019
../fat.h:105: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[448]\u2019
../fat.h:113: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[8]\u2019
../fat.h:114: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8[3]\u2019
../fat.h:115: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:116: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
../fat.h:117: warning: \u2018__packed__\u2019 attribute ignored for field of type \u2018u8\u2019
callbacks_IO.c: In function \u2018init_GL_capabilities\u2019:
callbacks_IO.c:83: error: number of arguments doesn\u2019t match prototype
gdk_gl.h:38: error: prototype declaration
callbacks_IO.c: At top level:
callbacks_IO.c:84: error: conflicting types for \u2018init_GL\u2019
gdk_gl.h:39: error: previous declaration of \u2018init_GL\u2019 was here
callbacks_IO.c:85: error: conflicting types for \u2018reshape\u2019
gdk_gl.h:43: error: previous declaration of \u2018reshape\u2019 was here
make[2]: *** [callbacks_IO.o] Error 1
make[2]: Leaving directory `/home/stranger/developement/desmume-0.7.3/src/gtk-glade'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/stranger/developement/desmume-0.7.3/src'
make: *** [all-recursive] Error 1

Offline

#2 2007-09-24 04:49:02

evilynux
Member
From: Montréal
Registered: 2007-03-17
Posts: 118
Website

Re: Compile problem Ubuntu 6.04: Prototype declaration error

IIRC, this errors occurs when gtkglext development libraries are not available (e.g. libgtkglext-dev under Debian/Ubuntu).

Offline

Board footer

Powered by FluxBB