Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
DOSBox Won't Compile Under GCC 4.3.0
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wswartzendruber
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1261
Location: Idaho, USA

PostPosted: Tue Mar 25, 2008 6:35 pm    Post subject: DOSBox Won't Compile Under GCC 4.3.0 Reply with quote

I'm trying to compile DOSBox 0.72 under GCC 4.3.0. Here's what I get:

Code:
wmsthinkpad ~ # emerge dosbox
Calculating dependencies... done!
>>> Verifying ebuild Manifests...

>>> Emerging (1 of 1) games-emulation/dosbox-0.72 to /
 * dosbox-0.72.tar.gz RMD160 SHA1 SHA256 size ;-) ...                                                                                    [ ok ]
 * checking ebuild checksums ;-) ...                                                                                                     [ ok ]
 * checking auxfile checksums ;-) ...                                                                                                    [ ok ]
 * checking miscfile checksums ;-) ...                                                                                                   [ ok ]
 * checking dosbox-0.72.tar.gz ;-) ...                                                                                                   [ ok ]
>>> Unpacking source...
>>> Unpacking dosbox-0.72.tar.gz to /var/tmp/portage/games-emulation/dosbox-0.72/work
>>> Source unpacked.
>>> Compiling source in /var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72 ...
 * econf: updating dosbox-0.72/config.guess with /usr/share/gnuconfig/config.guess
 * econf: updating dosbox-0.72/config.sub with /usr/share/gnuconfig/config.sub
./configure --prefix=/usr --host=x86_64-pc-linux-gnu --mandir=/usr/share/man --infodir=/usr/share/info --datadir=/usr/share --sysconfdir=/etc --localstatedir=/var/lib --prefix=/usr/games --libdir=/usr/games/lib64 --datadir=/usr/share/games --sysconfdir=/etc/games --localstatedir=/var/games --disable-dependency-tracking --disable-dynamic-x86 --disable-debug --enable-opengl --build=x86_64-pc-linux-gnu
checking build system type... x86_64-pc-linux-gnu
checking host system type... x86_64-pc-linux-gnu
checking target system type... x86_64-pc-linux-gnu
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking whether make sets $(MAKE)... (cached) yes
checking for x86_64-pc-linux-gnu-gcc... x86_64-pc-linux-gnu-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... no
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether x86_64-pc-linux-gnu-gcc accepts -g... yes
checking for x86_64-pc-linux-gnu-gcc option to accept ISO C89... none needed
checking for style of include used by make... GNU
checking dependency style of x86_64-pc-linux-gnu-gcc... none
checking how to run the C preprocessor... x86_64-pc-linux-gnu-gcc -E
checking for x86_64-pc-linux-gnu-g++... x86_64-pc-linux-gnu-g++
checking whether we are using the GNU C++ compiler... yes
checking whether x86_64-pc-linux-gnu-g++ accepts -g... yes
checking dependency style of x86_64-pc-linux-gnu-g++... none
checking for a BSD-compatible install... /usr/bin/install -c
checking for x86_64-pc-linux-gnu-ranlib... x86_64-pc-linux-gnu-ranlib
checking for sdl-config... /usr/bin/sdl-config
checking for SDL - version >= 1.2.0... yes
checking for an ANSI C-conforming const... yes
checking for inline... inline
checking for grep that handles long lines and -e... /bin/grep
checking for egrep... /bin/grep -E
checking for ANSI C header files... yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking for size_t... yes
checking whether struct tm is in sys/time.h or time.h... time.h
checking for unsigned char... yes
checking size of unsigned char... 1
checking for unsigned short... yes
checking size of unsigned short... 2
checking for unsigned int... yes
checking size of unsigned int... 4
checking for unsigned long... yes
checking size of unsigned long... 8
checking for unsigned long long... yes
checking size of unsigned long long... 8
checking for int *... yes
checking size of int *... 8
checking for stdlib.h... (cached) yes
checking for sys/types.h... (cached) yes
checking for sys/socket.h... yes
checking for netinet/in.h... yes
checking for pwd.h... yes
checking if environ can be included... yes
checking if environ can be linked... yes
checking for powf in -lm... yes
checking if compiler allows __attribute__... yes
checking if compiler allows __builtin_expect... yes
checking for ALSA CFLAGS...
checking for ALSA LDFLAGS...  -lasound -lm -ldl -lpthread
checking for libasound headers version >= 0.9.0... found.
checking for snd_ctl_open in -lasound... yes
checking whether byte ordering is bigendian... no
checking curses.h usability... yes
checking curses.h presence... yes
checking for curses.h... yes
checking for initscr in -lcurses... yes
checking for initscr in -lpdcurses... no
Debugger not enabled
checking for target cpu type... x86-64 bit compatible
checking whether x86 dynamic cpu core will be enabled... no
checking whether recompiling cpu core will be enabled... yes
checking whether fpu emulation will be enabled... yes
checking whether x86 assembly fpu core will be enabled... no
checking whether to enable unaligned memory access... yes
checking png.h usability... yes
checking png.h presence... yes
checking for png.h... yes
checking for png_check_sig in -lpng... yes
checking SDL_net.h usability... yes
checking SDL_net.h presence... yes
checking for SDL_net.h... yes
checking for SDLNet_Init in -lSDL_net... yes
checking for main in -lGL... yes
checking for main in -lopengl32... no
checking GL/gl.h usability... yes
checking GL/gl.h presence... yes
checking for GL/gl.h... yes
checking whether opengl display output will be enabled... yes
checking SDL_sound.h usability... yes
checking SDL_sound.h presence... yes
checking for SDL_sound.h... yes
checking for Sound_Init in -lSDL_sound... yes
checking for Sound_Seek in -lSDL_sound... yes
checking sys/mman.h usability... yes
checking sys/mman.h presence... yes
checking for sys/mman.h... yes
checking for mprotect... yes
checking for setpriority support... yes
configure: creating ./config.status
config.status: creating Makefile
config.status: creating src/Makefile
config.status: creating src/cpu/Makefile
config.status: creating src/cpu/core_full/Makefile
config.status: creating src/cpu/core_normal/Makefile
config.status: creating src/cpu/core_dyn_x86/Makefile
config.status: creating src/cpu/core_dynrec/Makefile
config.status: creating src/debug/Makefile
config.status: creating src/dos/Makefile
config.status: creating src/fpu/Makefile
config.status: creating src/gui/Makefile
config.status: creating src/hardware/Makefile
config.status: creating src/hardware/serialport/Makefile
config.status: creating src/ints/Makefile
config.status: creating src/libs/Makefile
config.status: creating src/libs/zmbv/Makefile
config.status: creating src/misc/Makefile
config.status: creating src/shell/Makefile
config.status: creating src/platform/Makefile
config.status: creating src/platform/visualc/Makefile
config.status: creating visualc_net/Makefile
config.status: creating include/Makefile
config.status: creating docs/Makefile
config.status: creating config.h
config.status: executing depfiles commands
make  all-recursive
make[1]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72'
Making all in src
make[2]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src'
Making all in cpu
make[3]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu'
Making all in core_full
make[4]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_full'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_full'
Making all in core_normal
make[4]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_normal'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_normal'
Making all in core_dyn_x86
make[4]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_dyn_x86'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_dyn_x86'
Making all in core_dynrec
make[4]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_dynrec'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu/core_dynrec'
make[4]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o callback.o `test -f 'callback.cpp' || echo './'`callback.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cpu.o `test -f 'cpu.cpp' || echo './'`cpu.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o flags.o `test -f 'flags.cpp' || echo './'`flags.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o modrm.o `test -f 'modrm.cpp' || echo './'`modrm.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o core_full.o `test -f 'core_full.cpp' || echo './'`core_full.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o paging.o `test -f 'paging.cpp' || echo './'`paging.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o core_normal.o `test -f 'core_normal.cpp' || echo './'`core_normal.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o core_simple.o `test -f 'core_simple.cpp' || echo './'`core_simple.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o core_dyn_x86.o `test -f 'core_dyn_x86.cpp' || echo './'`core_dyn_x86.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o core_dynrec.o `test -f 'core_dynrec.cpp' || echo './'`core_dynrec.cpp
rm -f libcpu.a
ar cru libcpu.a callback.o cpu.o flags.o modrm.o core_full.o paging.o core_normal.o core_simple.o core_dyn_x86.o core_dynrec.o
x86_64-pc-linux-gnu-ranlib libcpu.a
make[4]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu'
make[3]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/cpu'
Making all in debug
make[3]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/debug'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o debug.o `test -f 'debug.cpp' || echo './'`debug.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o debug_gui.o `test -f 'debug_gui.cpp' || echo './'`debug_gui.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o debug_disasm.o `test -f 'debug_disasm.cpp' || echo './'`debug_disasm.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o debug_win32.o `test -f 'debug_win32.cpp' || echo './'`debug_win32.cpp
rm -f libdebug.a
ar cru libdebug.a debug.o debug_gui.o debug_disasm.o debug_win32.o
x86_64-pc-linux-gnu-ranlib libdebug.a
make[3]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/debug'
Making all in dos
make[3]: Entering directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/dos'
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos.o `test -f 'dos.cpp' || echo './'`dos.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_devices.o `test -f 'dos_devices.cpp' || echo './'`dos_devices.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_execute.o `test -f 'dos_execute.cpp' || echo './'`dos_execute.cpp
In file included from ../../include/dos_inc.h:25,
                 from dos_execute.cpp:25:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from ../../include/bios.h:127,
                 from dos_devices.cpp:26:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from ../../include/bios.h:127,
                 from dos.cpp:26:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_files.o `test -f 'dos_files.cpp' || echo './'`dos_files.cpp
In file included from ../../include/dos_inc.h:25,
                 from ../../include/bios.h:127,
                 from dos_files.cpp:27:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_ioctl.o `test -f 'dos_ioctl.cpp' || echo './'`dos_ioctl.cpp
In file included from ../../include/dos_inc.h:25,
                 from dos_ioctl.cpp:26:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_memory.o `test -f 'dos_memory.cpp' || echo './'`dos_memory.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_misc.o `test -f 'dos_misc.cpp' || echo './'`dos_misc.cpp
In file included from ../../include/dos_inc.h:25,
                 from dos_misc.cpp:25:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from dos_memory.cpp:21:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_classes.o `test -f 'dos_classes.cpp' || echo './'`dos_classes.cpp
In file included from ../../include/dos_inc.h:25,
                 from dos_classes.cpp:25:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_programs.o `test -f 'dos_programs.cpp' || echo './'`dos_programs.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_tables.o `test -f 'dos_tables.cpp' || echo './'`dos_tables.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drives.o `test -f 'drives.cpp' || echo './'`drives.cpp
In file included from ../../include/dos_inc.h:25,
                 from dos_tables.cpp:23:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from ../../include/programs.h:26,
                 from dos_programs.cpp:27:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drive_virtual.o `test -f 'drive_virtual.cpp' || echo './'`drive_virtual.cpp
In file included from drives.cpp:20:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from drive_virtual.cpp:24:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drive_local.o `test -f 'drive_local.cpp' || echo './'`drive_local.cpp
In file included from ../../include/dos_inc.h:25,
                 from drive_local.cpp:28:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drive_cache.o `test -f 'drive_cache.cpp' || echo './'`drive_cache.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drive_fat.o `test -f 'drive_fat.cpp' || echo './'`drive_fat.cpp
In file included from drives.h:26,
                 from drive_cache.cpp:22:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from drive_fat.cpp:26:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o drive_iso.o `test -f 'drive_iso.cpp' || echo './'`drive_iso.cpp
In file included from drive_iso.cpp:25:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_mscdex.o `test -f 'dos_mscdex.cpp' || echo './'`dos_mscdex.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o dos_keyboard_layout.o `test -f 'dos_keyboard_layout.cpp' || echo './'`dos_keyboard_layout.cpp
In file included from dos_mscdex.cpp:25:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
In file included from ../../include/dos_inc.h:25,
                 from ../../include/bios.h:127,
                 from dos_keyboard_layout.cpp:20:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom.o `test -f 'cdrom.cpp' || echo './'`cdrom.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom_ioctl_win32.o `test -f 'cdrom_ioctl_win32.cpp' || echo './'`cdrom_ioctl_win32.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom_aspi_win32.o `test -f 'cdrom_aspi_win32.cpp' || echo './'`cdrom_aspi_win32.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom_ioctl_linux.o `test -f 'cdrom_ioctl_linux.cpp' || echo './'`cdrom_ioctl_linux.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom_image.o `test -f 'cdrom_image.cpp' || echo './'`cdrom_image.cpp
x86_64-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../..  -I../../include -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT  -march=core2 -O2 -pipe  -c -o cdrom_ioctl_os2.o `test -f 'cdrom_ioctl_os2.cpp' || echo './'`cdrom_ioctl_os2.cpp
In file included from drives.h:26,
                 from cdrom_image.cpp:31:
../../include/dos_system.h:132: warning: 'typedef' was ignored in this declaration
cdrom_image.cpp: In member function 'virtual int CDROM_Interface_Image::AudioFile::getLength()':
cdrom_image.cpp:121: error: 'numeric_limits' was not declared in this scope
cdrom_image.cpp:121: error: expected primary-expression before 'int'
cdrom_image.cpp:121: error: expected `)' before 'int'
cdrom_image.cpp:121: error: expected `)' before ';' token
cdrom_image.cpp:121: error: expected `)' before ';' token
make[3]: *** [cdrom_image.o] Error 1
make[3]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src/dos'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/var/tmp/portage/games-emulation/dosbox-0.72/work/dosbox-0.72'
make: *** [all] Error 2
 *
 * ERROR: games-emulation/dosbox-0.72 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2310:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/dosbox-0.72/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/dosbox-0.72/temp/environment'.
 *

 * Messages for package games-emulation/dosbox-0.72:

 *
 * ERROR: games-emulation/dosbox-0.72 failed.
 * Call stack:
 *               ebuild.sh, line   49:  Called src_compile
 *             environment, line 2310:  Called die
 * The specific snippet of code:
 *       emake || die "emake failed"
 *  The die message:
 *   emake failed
 *
 * If you need support, post the topmost build error, and the call stack if relevant.
 * A complete build log is located at '/var/tmp/portage/games-emulation/dosbox-0.72/temp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/games-emulation/dosbox-0.72/temp/environment'.
 *

Here's some info on my system:

Code:
wmsthinkpad ~ # emerge --info
Portage 2.1.4.4 (default-linux/amd64/2007.0/no-multilib, gcc-4.3.0, glibc-2.7-r1, 2.6.24.3 x86_64)
=================================================================
System uname: 2.6.24.3 x86_64 Intel(R) Core(TM)2 CPU T7200 @ 2.00GHz
Timestamp of tree: Sat, 22 Mar 2008 01:47:01 +0000
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.5.1-r5
sys-apps/baselayout: 1.12.11.1
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.7.9-r1, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="amd64 ~amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=core2 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="distlocks metadata-transfer sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi aiglx aim alsa amd64 aotuv asf bash-completion berkdb bzip2 cairo cdparanoia cdr cli cracklib crypt cups dbus dri dts dvd dvdr encode examples fam fbcon ffmpeg firefox flac fortran ftp gdbm gif glitz gpm gtk2 hal hardened iconv icq imap isdnlog jabber javascript jpeg jpeg2k libwww lm_sensors mad madwifi matroska matrox midi mime mmx mmxext mng mono mp3 mpeg msn mudflap musepack ncurses nls nptl nptlonly nsplugin objc ogg oggvorbis opengl openmp pam pcmcia pcre pdf perl png pnp posix pppd python quicktime readline reflection samba session sndfile soap sockets speex spell spl sqlite sse sse2 sse3 ssl ssse3 svg syslog szip tcl tcpd tga theora tiff truetype truetype-fonts unicode usb v4l v4l2 vcd vorbis vorbis-psy wifi wma wmf wxwindows x264 xchattext xcomposite xine xml xorg xv xvid yahoo zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="i810"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY

_________________
Git has obsoleted SVN.
10mm Auto has obsoleted 45 ACP.
Back to top
View user's profile Send private message
alex.blackbit
Advocate
Advocate


Joined: 26 Jul 2005
Posts: 2397

PostPosted: Tue Mar 25, 2008 11:34 pm    Post subject: Reply with quote

does it work with gcc 4.2.3 or even better 4.1.2 which is stable?
if yes, then maybe that is the reason why 4.3 still has no arch keywords assigned.
Back to top
View user's profile Send private message
mark_alec
Bodhisattva
Bodhisattva


Joined: 11 Sep 2004
Posts: 6066
Location: Melbourne, Australia

PostPosted: Wed Mar 26, 2008 1:35 am    Post subject: Reply with quote

Moved from Portage & Programming to Unsupported Software. Not using a supported version of GCC.
_________________
www.gentoo.org.au || #gentoo-au
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum