Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 133783 - emerge of games-emulation/xmess fails m68000 (m68kcpu) compile - in function m68k_set_cpu_type
Summary: emerge of games-emulation/xmess fails m68000 (m68kcpu) compile - in function ...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Games (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-05-19 08:09 UTC by Joe Roberts
Modified: 2006-05-20 16:36 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge -evp xmess output (xmessemerge.txt,6.92 KB, text/plain)
2006-05-19 18:19 UTC, Joe Roberts
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Roberts 2006-05-19 08:09:43 UTC
Portage 2.0.54-r2 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.6-r3, 2.6.14-gentoo-r5 i686)
=================================================================
System uname: 2.6.14-gentoo-r5 i686 Celeron (Coppermine)
Gentoo Base System version 1.6.14
distcc 2.18.3 i386-pc-linux-gnu (protocols 1 and 2) (default port 3632) [disabled]
dev-lang/python:     2.3.5-r2, 2.4.2
dev-python/pycrypto: [Not Present]
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1
sys-devel/binutils:  2.16.1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i386-pc-linux-gnu"
CFLAGS="-O2 -march=pentium3"
CHOST="i386-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=pentium3"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig ccache distlocks fixpackages sandbox sfperms strict"
GENTOO_MIRRORS="http://mirror.espri.arizona.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="x86 X aac aalib aim alsa apache2 apm audiofile avi bash-completion berkdb bitmap-fonts buttons bzip2 cdparanoia cdr cli crypt cups curl divx4linux dri dvd dvdr dvdread eds encode esd exif expat fam ffmpeg flac foomaticdb fortran ftp gd gdbm geoip gif glut gnome gphoto2 gpm gstreamer gtk gtk2 gtkhtml hal icq idn imagemagick imlib isdnlog javascript joystick jpeg lame lcms ldap libwww lm_sensors mad maildir mbox mhash mikmod mime mmx mng motif mozilla mp3 mpeg mpeg2 mpeg4 msn ncurses nls nptl offensive ogg openal opengl oss pam pcre pdflib perl php plotutils png ppds pppd qt quicktime readline recode reflection ruby samba scanner sdl session slp spell spl sse ssl svg tcltk tcpd theora tidy tiff tokenizer truetype truetype-fonts type1-fonts udev usb v4l vcd verbose videos vorbis win32codecs wmf xine xml xml2 xmms xorg xpm xv xvid yahoo zlib userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS, PORTAGE_RSYNC_OPTS

---snip---

Compiling dat2html...
Linking chdman...
Compiling imgtool...
Generating M68K source files...
xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c

                Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
                Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Generated 1964 opcode handlers from 515 primitives
Generating M68K source files...
xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c

                Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
                Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Generated 1964 opcode handlers from 515 primitives
Generating M68K source files...
xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c

                Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
                Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Generating M68K source files...
xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c

                Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
                Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Generated 1964 opcode handlers from 515 primitives
Generated 1964 opcode handlers from 515 primitives
Generating M68K source files...
xmess.obj/cpu/m68000/m68kmake xmess.obj/cpu/m68000 src/cpu/m68000/m68k_in.c

                Musashi v3.3 68000, 68008, 68010, 68EC020, 68020 emulator
                Copyright 1998-2000 Karl Stenerud (karl@mame.net)

Compiling src/cpu/m68000/m68kcpu.c...
Generated 1964 opcode handlers from 515 primitives
Compiling xmess.obj/cpu/m68000/m68kops.c...
In file included from src/cpu/m68000/m68kcpu.c:35:
xmess.obj/cpu/m68000/m68kops.h:1964:12: warning: no newline at end of file
xmess.obj/cpu/m68000/m68kops.h:1:1: unterminated #ifndef
In file included from /usr/include/stdio.h:34,
                 from src/cpu/m68000/m68kcpu.h:1,
                 from src/cpu/m68000/m68kcpu.c:36:
/usr/lib/gcc/i386-pc-linux-gnu/3.4.5/include/stddef.h:213: error: syntax error b         efore "typedef"
src/cpu/m68000/m68kcpu.c: In function `m68k_set_cpu_type':
src/cpu/m68000/m68kcpu.c:673: error: `m68ki_cycles' undeclared (first use in thi         s function)
src/cpu/m68000/m68kcpu.c:673: error: (Each undeclared identifier is reported onl         y once
src/cpu/m68000/m68kcpu.c:673: error: for each function it appears in.)
src/cpu/m68000/m68kcpu.c: In function `m68k_execute':
src/cpu/m68000/m68kcpu.c:803: error: `m68ki_instruction_jump_table' undeclared (         first use in this function)
Compiling xmess.obj/cpu/m68000/m68kopac.c...
make: *** [xmess.obj/cpu/m68000/m68kcpu.o] Error 1
make: *** Waiting for unfinished jobs....

!!! ERROR: games-emulation/xmess-0.105 failed.
!!! Function src_compile, Line 157, Exitcode 2
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2006-05-19 09:48:45 UTC
save off the output from "emerge -evp xmess" and attach it here as text/plain please.  xmess builds fine for me with a very similar setup.
Comment 2 Mr. Bones. (RETIRED) gentoo-dev 2006-05-19 09:59:47 UTC
reopen after attaching that file please.
Comment 3 Joe Roberts 2006-05-19 18:19:51 UTC
Created attachment 87094 [details]
emerge -evp xmess output

emerge -evp xmess output attached as requested.
Comment 4 Joe Roberts 2006-05-19 18:21:14 UTC
Reopening as requested.
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2006-05-20 02:21:48 UTC
Try taking the -p off that last emerge and letting it rebuild stuff over night.  I'm not sure I trust your install.  It looks like you've changed some things out from under portage.  Builds fine here with the same use flags.
Comment 6 Joe Roberts 2006-05-20 16:36:14 UTC
It compiled.  Not sure why it started working but, obviously, it was just some kind of glitch on my side.  Thank you so much for your help.