View Single Post
Old 05 January 2012, 19:18   #96
lomaxx
Registered User
 
Join Date: Sep 2006
Location: Germany
Posts: 43
I'm trying to compile puae (current git-version) on my x86-Gentoo-linux-pc with i686-pc-linux-gnu-4.5.3 with both automake 1.11 and 1.9 installed. I run bootstrap.sh and afterwards

Code:
./configure --disable-a2065 --disable-a2091 --disable-action-replay --disable-aga --enable-audio --disable-amax --disable-bsdsock --disable-catweasel --disable-cdtv --disable-cd32 --enable-compatible-cpu --enable-dga --enable-drvsnd --disable-enforcer --disable-gayle --enable-gccopt --enable-jit --enable-natmem --enable-noflags --disable-ncr --disable-scsi-device --enable-save-state --disable-serial-port --enable-threads --enable-ui --enable-vidmode --enable-sdltest --with-sdl --with-sdl-sound --with-sdl-gfx --with-sdl-gl --with-sdl-gui --without-qt
Compiling stops after a while with tons of messages like those you can see at the end of this output:

Code:
...
gcc -DHAVE_CONFIG_H -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/include  -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_21 -DCPUEMU_31 -DMMU -DFPUEMU -DUNALIGNED_PROFITABLE -DJIT -DAUTOCONFIG -DFILESYS -DSUPPORT_THREADS -DUSE_SDL -DCAPS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DXARCADE -DDRIVESOUND  -I../src/include -I../src -I../src -I..    -Wa,--execstack  -fomit-frame-pointer -ffast-math   -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -g -O2 -DUSE_GL   -g -O2 -MT compstbl.o -MD -MP -MF .deps/compstbl.Tpo -c -o compstbl.o compstbl.c
In file included from compstbl.c:4:0:
../src/include/options.h:533:50: warning: ‘struct zfile’ declared inside parameter list
../src/include/options.h:533:50: warning: its scope is only this definition or declaration, which is probably not what you want
mv -f .deps/compstbl.Tpo .deps/compstbl.Po
gcc -DHAVE_CONFIG_H -I.  -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/include  -DCPUEMU_0 -DCPUEMU_11 -DCPUEMU_12 -DCPUEMU_20 -DCPUEMU_21 -DCPUEMU_31 -DMMU -DFPUEMU -DUNALIGNED_PROFITABLE -DJIT -DAUTOCONFIG -DFILESYS -DSUPPORT_THREADS -DUSE_SDL -DCAPS -DFDI2RAW -DDEBUGGER -DSAVESTATE -DXARCADE -DDRIVESOUND  -I../src/include -I../src -I../src -I..    -Wa,--execstack  -fomit-frame-pointer -ffast-math   -Wall -Wno-unused -Wno-format -W -Wmissing-prototypes -Wstrict-prototypes -fno-strength-reduce -DREGPARAM="__attribute__((regparm(3)))" -g -O2 -DUSE_GL   -g -O2 -DNOFLAGS cpuemu_0.c -c -o cpuemu_nf_0.o
In file included from cpuemu_0.c:3:0:
../src/include/options.h:533:50: warning: ‘struct zfile’ declared inside parameter list
../src/include/options.h:533:50: warning: its scope is only this definition or declaration, which is probably not what you want
cpuemu_0.c: In function ‘op_4000_0_nf’:
cpuemu_0.c:9273:14: error: expected expression before ‘)’ token
cpuemu_0.c: In function ‘op_4010_0_nf’:
cpuemu_0.c:9293:14: error: expected expression before ‘)’ token
cpuemu_0.c: In function ‘op_4018_0_nf’:
cpuemu_0.c:9314:14: error: expected expression before ‘)’ token
cpuemu_0.c: In function ‘op_4020_0_nf’:
cpuemu_0.c:9336:14: error: expected expression before ‘)’ token
...
Any hint how to solve this? Is maybe gcc-4.5.3 bugging?

Edit: Uhm ... I just noticed there is also a PUAE-2.4.0-thread.....Since i used the latest git maybe this post is better moved there? I can repost if necessary.

Last edited by lomaxx; 05 January 2012 at 19:28.
lomaxx is offline  
 
Page generated in 0.04720 seconds with 11 queries