sirdeets
November 19th, 2005, 01:44 AM
Hello all, I'm trying to build Gens from source, using the instructions from another thread here: http://ubuntuforums.org/archive/index.php/t-28695.html
Specifically, I grabbed the src from CVS using the instructions given in that thread, by typing the following:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gens login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gens co -P GensForLinux
I ran the configure script just fine... however, when I type "make", I eventually get the following:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./gens_core/cpu/68k -I./gens_core/cpu/sh2 -I./gens_core/cpu/z80 -I./gens_core/sound -I./gens_core/mem -I./gens_core/misc -I./gens_core/gfx -I./gens_core/io -I./gens_core/vdp -I./segacd -I./mp3_dec -I./sdllayer -I./util -I./port -I./emulator -I./debug -I./netplay -I./gtkui -I./gtkui/anjuta_widget -I./gtkui/glade -I. -DDATADIR=\"/usr/local/share/gens\" -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -O2 -c -o emulator/gens-g_main.o `test -f emulator/g_main.c || echo './'`emulator/g_main.c
emulator/g_main.c: In function 'Init':
emulator/g_main.c:557: warning: incompatible implicit declaration of built-in function 'strncpy'
emulator/g_main.c:558: warning: incompatible implicit declaration of built-in function 'strcat'
emulator/g_main.c:567: warning: incompatible implicit declaration of built-in function 'strcpy'
emulator/g_main.c: In function 'main':
emulator/g_main.c:743: warning: incompatible implicit declaration of built-in function 'strncpy'
emulator/g_main.c:744: warning: incompatible implicit declaration of built-in function 'strcat'
emulator/g_main.c: At top level:
emulator/g_main.c:755: error: static declaration of 'Build_Language_String' follows non-static declaration
emulator/g_main.c:570: error: previous implicit declaration of 'Build_Language_String' was here
emulator/g_main.c: In function 'Build_Language_String':
emulator/g_main.c:845: warning: incompatible implicit declaration of built-in function 'strcpy'
make[3]: *** [emulator/gens-g_main.o] Error 1
Can anyone help me track down what's going wrong? I'd appreciate any help. Thanks!
Specifically, I grabbed the src from CVS using the instructions given in that thread, by typing the following:
cvs -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gens login
cvs -z3 -d:pserver:anonymous@cvs.sourceforge.net:/cvsroot/gens co -P GensForLinux
I ran the configure script just fine... however, when I type "make", I eventually get the following:
gcc -DHAVE_CONFIG_H -I. -I. -I../.. -I./gens_core/cpu/68k -I./gens_core/cpu/sh2 -I./gens_core/cpu/z80 -I./gens_core/sound -I./gens_core/mem -I./gens_core/misc -I./gens_core/gfx -I./gens_core/io -I./gens_core/vdp -I./segacd -I./mp3_dec -I./sdllayer -I./util -I./port -I./emulator -I./debug -I./netplay -I./gtkui -I./gtkui/anjuta_widget -I./gtkui/glade -I. -DDATADIR=\"/usr/local/share/gens\" -I/usr/include/SDL -D_REENTRANT -I/usr/include/gtk-2.0 -I/usr/lib/gtk-2.0/include -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib/glib-2.0/include -g -O2 -g -O2 -c -o emulator/gens-g_main.o `test -f emulator/g_main.c || echo './'`emulator/g_main.c
emulator/g_main.c: In function 'Init':
emulator/g_main.c:557: warning: incompatible implicit declaration of built-in function 'strncpy'
emulator/g_main.c:558: warning: incompatible implicit declaration of built-in function 'strcat'
emulator/g_main.c:567: warning: incompatible implicit declaration of built-in function 'strcpy'
emulator/g_main.c: In function 'main':
emulator/g_main.c:743: warning: incompatible implicit declaration of built-in function 'strncpy'
emulator/g_main.c:744: warning: incompatible implicit declaration of built-in function 'strcat'
emulator/g_main.c: At top level:
emulator/g_main.c:755: error: static declaration of 'Build_Language_String' follows non-static declaration
emulator/g_main.c:570: error: previous implicit declaration of 'Build_Language_String' was here
emulator/g_main.c: In function 'Build_Language_String':
emulator/g_main.c:845: warning: incompatible implicit declaration of built-in function 'strcpy'
make[3]: *** [emulator/gens-g_main.o] Error 1
Can anyone help me track down what's going wrong? I'd appreciate any help. Thanks!