|
UAE 0.8.22 - error during "make"
I'm using Slackware 10.0 with kernel 2.6.7 and GCC 3.4.0. I've tried to install UAE 0.8.22 and I got this message:
cd src && make
make[1]: Entering directory `/root/uae-0.8.22/src'
gcc -I. -I../src/include/ -c -O2 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -DGCCCONSTFUNC="__attribute__((const))" -mpreferred-stack-boundary=2 -fno-exceptions -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_ZFILE -DSUPPORT_THREADS -D_REENTRANT -D__inline__=inline -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DSHM_SUPPORT_LINKS=1 main.c -o main.o
main.c: In function `parse_cmdline':
main.c:363: warning: passing arg 2 of `parse_cmdline_option' discards qualifiers from pointer target type
gcc -I. -I../src/include/ -c -O2 -fomit-frame-pointer -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -DGCCCONSTFUNC="__attribute__((const))" -mpreferred-stack-boundary=2 -fno-exceptions -DUNALIGNED_PROFITABLE -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -DX86_ASSEMBLY -DOPTIMIZED_FLAGS -DUSE_ZFILE -DSUPPORT_THREADS -D_REENTRANT -D__inline__=inline -I/usr/X11R6/include -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2 -I/usr/lib/glib/include -I/usr/X11R6/include -DSHM_SUPPORT_LINKS=1 newcpu.c -o newcpu.o
newcpu.c:104: error: conflicting types for 'op_illg_1'
newcpu.c:101: error: previous declaration of 'op_illg_1' was here
newcpu.c:104: error: conflicting types for 'op_illg_1'
newcpu.c:101: error: previous declaration of 'op_illg_1' was here
newcpu.c: In function `build_cpufunctbl':
newcpu.c:124: warning: assignment from incompatible pointer type
newcpu.c:137: warning: comparison of distinct pointer types lacks a cast
newcpu.c: At top level:
newcpu.c:1129: error: conflicting types for 'op_illg'
../src/include/newcpu.h:57: error: previous declaration of 'op_illg' was here
newcpu.c:1129: error: conflicting types for 'op_illg'
../src/include/newcpu.h:57: error: previous declaration of 'op_illg' was here
newcpu.c: In function `m68k_go':
newcpu.c:1429: warning: implicit declaration of function `savestate_restore_finish'
newcpu.c: In function `m68k_verify':
newcpu.c:1451: warning: comparison of distinct pointer types lacks a cast
newcpu.c: In function `m68k_disasm':
newcpu.c:1486: warning: comparison of distinct pointer types lacks a cast
make[1]: *** [newcpu.o] Error 1
make[1]: Leaving directory `/root/uae-0.8.22/src'
make: *** [all] Error 2
How to solve this problem - any ideas?
Lucas
Last edited by lucas22; 07-28-2004 at 04:31 AM.
|