Segata Sanshiro
05/02/2006, 06:29
Llevo unas semanas con Mandriva migrando desde Windows y me va especialmente bien. El driver del modem ha resultado ser mejor que el de Windows y me ha sorprendido lo ordenado que está todo el sistema quieras o no, lo cual hace que merezca la pena molestarte en resolver problemillas que en principio no tienes en Windows.
Estoy intentando compilar el Gens y tengo una magnífica ristra de mensajes de error:
[root@localhost gens]# make
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o ccnet.o ccnet.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_file.o cd_file.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_sys.o cd_sys.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
cd_sys.c: In function 'Update_CD_Audio':
cd_sys.c:1113: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cdda_mp3.o cdda_mp3.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
cdda_mp3.c: In function 'MP3_Update_IN':
cdda_mp3.c:157: warning: array subscript has type 'char'
cdda_mp3.c:159: warning: array subscript has type 'char'
cdda_mp3.c:160: warning: array subscript has type 'char'
cdda_mp3.c:174: warning: array subscript has type 'char'
cdda_mp3.c:178: warning: array subscript has type 'char'
cdda_mp3.c:183: warning: array subscript has type 'char'
cdda_mp3.c:188: warning: array subscript has type 'char'
cdda_mp3.c:189: warning: array subscript has type 'char'
cdda_mp3.c:190: warning: array subscript has type 'char'
cdda_mp3.c:194: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c:196: warning: array subscript has type 'char'
cdda_mp3.c:197: warning: array subscript has type 'char'
cdda_mp3.c:200: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c: In function 'MP3_Update_OUT':
cdda_mp3.c:211: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c: In function 'MP3_Play':
cdda_mp3.c:224: warning: array subscript has type 'char'
cdda_mp3.c:230: warning: array subscript has type 'char'
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_68k.o cpu_68k.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_sh2.o cpu_sh2.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_z80.o cpu_z80.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o lc89510.o lc89510.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o m68kd.o m68kd.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
m68kd.c: In function 'M68KDisasm':
m68kd.c:518: warning: suggest parentheses around + or - in operand of &
m68kd.c:523: warning: suggest parentheses around + or - in operand of &
m68kd.c:544: warning: suggest parentheses around + or - in operand of &
m68kd.c:749: warning: suggest parentheses around + or - in operand of &
m68kd.c:786: warning: suggest parentheses around + or - in operand of &
m68kd.c:872: warning: suggest parentheses around + or - in operand of &
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o pcm.o pcm.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o port.o port.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
port.c:10:21: error: gtk/gtk.h: No existe el fichero o el directorio
In file included from port.c:11:
glade/support.h:16: error: syntax error before '*' token
glade/support.h:16: warning: type defaults to 'int' in declaration of 'listmodel'
glade/support.h:16: warning: data definition has no type or storage class
glade/support.h:17: error: syntax error before '*' token
glade/support.h:17: warning: type defaults to 'int' in declaration of 'gens_window'
glade/support.h:17: warning: data definition has no type or storage class
glade/support.h:29: error: syntax error before '*' token
glade/support.h:29: error: syntax error before '*' token
glade/support.h:30: warning: type defaults to 'int' in declaration of 'lookup_widget'
glade/support.h:30: warning: data definition has no type or storage class
glade/support.h:34: warning: type defaults to 'int' in declaration of 'gchar'
glade/support.h:34: error: syntax error before '*' token
glade/support.h:42: error: syntax error before '*' token
glade/support.h:42: error: syntax error before '*' token
glade/support.h:43: warning: type defaults to 'int' in declaration of 'create_pixmap'
glade/support.h:43: warning: data definition has no type or storage class
glade/support.h:46: error: syntax error before '*' token
glade/support.h:46: warning: type defaults to 'int' in declaration of 'gchar'
glade/support.h:46: error: syntax error before '*' token
glade/support.h:46: warning: type defaults to 'int' in declaration of 'create_pixbuf'
glade/support.h:46: warning: data definition has no type or storage class
glade/support.h:49: error: syntax error before '*' token
glade/support.h:57: error: syntax error before '*' token
glade/support.h:57: warning: type defaults to 'int' in declaration of 'create_file_selector_private'
glade/support.h:57: warning: data definition has no type or storage class
glade/support.h:59: error: syntax error before '*' token
In file included from port.c:12:
glade/interface.h:7: error: syntax error before '*' token
glade/interface.h:7: warning: type defaults to 'int' in declaration of 'create_gens_window'
glade/interface.h:7: warning: data definition has no type or storage class
glade/interface.h:8: error: syntax error before '*' token
glade/interface.h:8: warning: type defaults to 'int' in declaration of 'create_about'
glade/interface.h:8: warning: data definition has no type or storage class
glade/interface.h:9: error: syntax error before '*' token
glade/interface.h:9: warning: type defaults to 'int' in declaration of 'create_file_selector'
glade/interface.h:9: warning: data definition has no type or storage class
glade/interface.h:10: error: syntax error before '*' token
glade/interface.h:10: warning: type defaults to 'int' in declaration of 'create_game_genie'
glade/interface.h:10: warning: data definition has no type or storage class
glade/interface.h:11: error: syntax error before '*' token
glade/interface.h:11: warning: type defaults to 'int' in declaration of 'create_filters'
glade/interface.h:11: warning: data definition has no type or storage class
glade/interface.h:12: error: syntax error before '*' token
glade/interface.h:12: warning: type defaults to 'int' in declaration of 'create_color_adjust'
glade/interface.h:12: warning: data definition has no type or storage class
glade/interface.h:13: error: syntax error before '*' token
glade/interface.h:13: warning: type defaults to 'int' in declaration of 'create_general_option'
glade/interface.h:13: warning: data definition has no type or storage class
glade/interface.h:14: error: syntax error before '*' token
glade/interface.h:14: warning: type defaults to 'int' in declaration of 'create_controllers_settings'
glade/interface.h:14: warning: data definition has no type or storage class
glade/interface.h:15: error: syntax error before '*' token
glade/interface.h:15: warning: type defaults to 'int' in declaration of 'create_directories_configuration'
glade/interface.h:15: warning: data definition has no type or storage class
glade/interface.h:16: error: syntax error before '*' token
glade/interface.h:16: warning: type defaults to 'int' in declaration of 'create_bios_files'
glade/interface.h:16: warning: data definition has no type or storage class
glade/interface.h:17: error: syntax error before '*' token
glade/interface.h:17: warning: type defaults to 'int' in declaration of 'create_msgbox'
glade/interface.h:17: warning: data definition has no type or storage class
port.c: In function 'MessageBox':
port.c:49: error: 'GtkWidget' undeclared (first use in this function)
port.c:49: error: (Each undeclared identifier is reported only once
port.c:49: error: for each function it appears in.)
port.c:49: error: 'dialog' undeclared (first use in this function)
port.c:50: error: 'label' undeclared (first use in this function)
port.c:52: warning: implicit declaration of function 'gtk_window_set_title'
port.c:52: warning: implicit declaration of function 'GTK_WINDOW'
port.c:54: warning: implicit declaration of function 'gtk_label_set_text'
port.c:54: warning: implicit declaration of function 'GTK_LABEL'
port.c:55: warning: implicit declaration of function 'gtk_dialog_run'
port.c:55: warning: implicit declaration of function 'GTK_DIALOG'
port.c:56: warning: implicit declaration of function 'gtk_widget_destroy'
Veo más o menos "normales" los errores de librerías (aunque tanto GTK como SDL están instaladas, o eso creo), pero me sorprenden los errores tipo "type defaults to 'int' in declaration of 'create_bios_files'", por ejemplo.
En fin, alguien me podría ayudar o dar líneas generales para resolver tanto error? xD Me olvido de compilar un emulador de momento?
Estoy intentando compilar el Gens y tengo una magnífica ristra de mensajes de error:
[root@localhost gens]# make
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o ccnet.o ccnet.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_file.o cd_file.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cd_sys.o cd_sys.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
cd_sys.c: In function 'Update_CD_Audio':
cd_sys.c:1113: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1042: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
cd_sys.c:1082: warning: matching constraint does not allow a register
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cdda_mp3.o cdda_mp3.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
cdda_mp3.c: In function 'MP3_Update_IN':
cdda_mp3.c:157: warning: array subscript has type 'char'
cdda_mp3.c:159: warning: array subscript has type 'char'
cdda_mp3.c:160: warning: array subscript has type 'char'
cdda_mp3.c:174: warning: array subscript has type 'char'
cdda_mp3.c:178: warning: array subscript has type 'char'
cdda_mp3.c:183: warning: array subscript has type 'char'
cdda_mp3.c:188: warning: array subscript has type 'char'
cdda_mp3.c:189: warning: array subscript has type 'char'
cdda_mp3.c:190: warning: array subscript has type 'char'
cdda_mp3.c:194: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c:196: warning: array subscript has type 'char'
cdda_mp3.c:197: warning: array subscript has type 'char'
cdda_mp3.c:200: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c: In function 'MP3_Update_OUT':
cdda_mp3.c:211: warning: pointer targets in passing argument 6 of 'decodeMP3' differ in signedness
cdda_mp3.c: In function 'MP3_Play':
cdda_mp3.c:224: warning: array subscript has type 'char'
cdda_mp3.c:230: warning: array subscript has type 'char'
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_68k.o cpu_68k.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_sh2.o cpu_sh2.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o cpu_z80.o cpu_z80.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o lc89510.o lc89510.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o m68kd.o m68kd.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
m68kd.c: In function 'M68KDisasm':
m68kd.c:518: warning: suggest parentheses around + or - in operand of &
m68kd.c:523: warning: suggest parentheses around + or - in operand of &
m68kd.c:544: warning: suggest parentheses around + or - in operand of &
m68kd.c:749: warning: suggest parentheses around + or - in operand of &
m68kd.c:786: warning: suggest parentheses around + or - in operand of &
m68kd.c:872: warning: suggest parentheses around + or - in operand of &
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o pcm.o pcm.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
gcc -Wall -O3 -D__PORT__ `sdl-config --cflags` -I. -DWITH_GTK -DGTK_DISABLE_DEPRECATED `pkg-config gtk+-2.0 --cflags` -c -o port.o port.c
/bin/sh: sdl-config: command not found
Package gtk+-2.0 was not found in the pkg-config search path.
Perhaps you should add the directory containing `gtk+-2.0.pc'
to the PKG_CONFIG_PATH environment variable
No package 'gtk+-2.0' found
port.c:10:21: error: gtk/gtk.h: No existe el fichero o el directorio
In file included from port.c:11:
glade/support.h:16: error: syntax error before '*' token
glade/support.h:16: warning: type defaults to 'int' in declaration of 'listmodel'
glade/support.h:16: warning: data definition has no type or storage class
glade/support.h:17: error: syntax error before '*' token
glade/support.h:17: warning: type defaults to 'int' in declaration of 'gens_window'
glade/support.h:17: warning: data definition has no type or storage class
glade/support.h:29: error: syntax error before '*' token
glade/support.h:29: error: syntax error before '*' token
glade/support.h:30: warning: type defaults to 'int' in declaration of 'lookup_widget'
glade/support.h:30: warning: data definition has no type or storage class
glade/support.h:34: warning: type defaults to 'int' in declaration of 'gchar'
glade/support.h:34: error: syntax error before '*' token
glade/support.h:42: error: syntax error before '*' token
glade/support.h:42: error: syntax error before '*' token
glade/support.h:43: warning: type defaults to 'int' in declaration of 'create_pixmap'
glade/support.h:43: warning: data definition has no type or storage class
glade/support.h:46: error: syntax error before '*' token
glade/support.h:46: warning: type defaults to 'int' in declaration of 'gchar'
glade/support.h:46: error: syntax error before '*' token
glade/support.h:46: warning: type defaults to 'int' in declaration of 'create_pixbuf'
glade/support.h:46: warning: data definition has no type or storage class
glade/support.h:49: error: syntax error before '*' token
glade/support.h:57: error: syntax error before '*' token
glade/support.h:57: warning: type defaults to 'int' in declaration of 'create_file_selector_private'
glade/support.h:57: warning: data definition has no type or storage class
glade/support.h:59: error: syntax error before '*' token
In file included from port.c:12:
glade/interface.h:7: error: syntax error before '*' token
glade/interface.h:7: warning: type defaults to 'int' in declaration of 'create_gens_window'
glade/interface.h:7: warning: data definition has no type or storage class
glade/interface.h:8: error: syntax error before '*' token
glade/interface.h:8: warning: type defaults to 'int' in declaration of 'create_about'
glade/interface.h:8: warning: data definition has no type or storage class
glade/interface.h:9: error: syntax error before '*' token
glade/interface.h:9: warning: type defaults to 'int' in declaration of 'create_file_selector'
glade/interface.h:9: warning: data definition has no type or storage class
glade/interface.h:10: error: syntax error before '*' token
glade/interface.h:10: warning: type defaults to 'int' in declaration of 'create_game_genie'
glade/interface.h:10: warning: data definition has no type or storage class
glade/interface.h:11: error: syntax error before '*' token
glade/interface.h:11: warning: type defaults to 'int' in declaration of 'create_filters'
glade/interface.h:11: warning: data definition has no type or storage class
glade/interface.h:12: error: syntax error before '*' token
glade/interface.h:12: warning: type defaults to 'int' in declaration of 'create_color_adjust'
glade/interface.h:12: warning: data definition has no type or storage class
glade/interface.h:13: error: syntax error before '*' token
glade/interface.h:13: warning: type defaults to 'int' in declaration of 'create_general_option'
glade/interface.h:13: warning: data definition has no type or storage class
glade/interface.h:14: error: syntax error before '*' token
glade/interface.h:14: warning: type defaults to 'int' in declaration of 'create_controllers_settings'
glade/interface.h:14: warning: data definition has no type or storage class
glade/interface.h:15: error: syntax error before '*' token
glade/interface.h:15: warning: type defaults to 'int' in declaration of 'create_directories_configuration'
glade/interface.h:15: warning: data definition has no type or storage class
glade/interface.h:16: error: syntax error before '*' token
glade/interface.h:16: warning: type defaults to 'int' in declaration of 'create_bios_files'
glade/interface.h:16: warning: data definition has no type or storage class
glade/interface.h:17: error: syntax error before '*' token
glade/interface.h:17: warning: type defaults to 'int' in declaration of 'create_msgbox'
glade/interface.h:17: warning: data definition has no type or storage class
port.c: In function 'MessageBox':
port.c:49: error: 'GtkWidget' undeclared (first use in this function)
port.c:49: error: (Each undeclared identifier is reported only once
port.c:49: error: for each function it appears in.)
port.c:49: error: 'dialog' undeclared (first use in this function)
port.c:50: error: 'label' undeclared (first use in this function)
port.c:52: warning: implicit declaration of function 'gtk_window_set_title'
port.c:52: warning: implicit declaration of function 'GTK_WINDOW'
port.c:54: warning: implicit declaration of function 'gtk_label_set_text'
port.c:54: warning: implicit declaration of function 'GTK_LABEL'
port.c:55: warning: implicit declaration of function 'gtk_dialog_run'
port.c:55: warning: implicit declaration of function 'GTK_DIALOG'
port.c:56: warning: implicit declaration of function 'gtk_widget_destroy'
Veo más o menos "normales" los errores de librerías (aunque tanto GTK como SDL están instaladas, o eso creo), pero me sorprenden los errores tipo "type defaults to 'int' in declaration of 'create_bios_files'", por ejemplo.
En fin, alguien me podría ayudar o dar líneas generales para resolver tanto error? xD Me olvido de compilar un emulador de momento?