View previous topic :: View next topic |
Author |
Message |
mrmarcdee n00b
Joined: 18 Jan 2010 Posts: 67
|
Posted: Mon Apr 25, 2011 7:19 pm Post subject: pcsx2 in 32bit chroot, gssoft emerge fails. |
|
|
I am trying to emerge the pcsx2 playstation 2 emulator in a 32bit chroot on my 64 bit gentoo install. The emerge of games-emulation/ps2emu-gssoft fails with this message:
Code: | ../SDL.c: In function 'DXopen':
../SDL.c:64: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:65: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:66: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:67: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:68: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:68: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:71: error: 'SDL_SysWMinfo' has no member named 'info'
../SDL.c:87: error: 'SDL_SysWMinfo' has no member named 'info'
make: *** [../SDL.o] Error 1
emake failed
* ERROR: games-emulation/ps2emu-gssoft-0.9 failed (compile phase):
* emake failed
*
* Call stack:
* ebuild.sh, line 56: Called src_compile
* environment, line 2457: Called die
* The specific snippet of code:
* emake OPTFLAGS="${CFLAGS}" || die "emake failed"
*
* If you need support, post the output of 'emerge --info =games-emulation/ps2emu-gssoft-0.9',
* the complete build log and the output of 'emerge -pqv =games-emulation/ps2emu-gssoft-0.9'.
* The complete build log is located at '/var/tmp/portage/games-emulation/ps2emu-gssoft-0.9/temp/build.log'.
* The ebuild environment file is located at '/var/tmp/portage/games-emulation/ps2emu-gssoft-0.9/temp/environment'.
* S: '/var/tmp/portage/games-emulation/ps2emu-gssoft-0.9/work/GSsoft0.9'
|
Here is the source code in the file SDL.c that I thought was relevant, with some line numbers. Code: | .
.
.
39 SDL_SysWMinfo info;
.
.
.
49 s32 DXopen() {
#ifdef __LINUX__
int screen;
int w, h;
#endif
if (SDL_Init(SDL_INIT_VIDEO) < 0) return -1;
surf = SDL_SetVideoMode(cmode->width, cmode->height, 0, conf.fullscreen ? SDL_FULLSCREEN | SDL_HWSURFACE : SDL_HWSURFACE);
if (surf == NULL) return -1;
SDL_VERSION(&info.version);
if (SDL_GetWMInfo(&info) == 0) return -1;
#ifdef __LINUX__
64 info.info.x11.lock_func();
65 screen = DefaultScreen(info.info.x11.display);
66 w = DisplayWidth(info.info.x11.display, screen);
67 h = DisplayHeight(info.info.x11.display, screen);
68 XMoveWindow(info.info.x11.display, info.info.x11.wmwindow,
cmode->width < w ? (w - cmode->width) / 2 : 0,
cmode->height < h ? (h - cmode->height) / 2 : 0);
71 info.info.x11.unlock_func();
#endif
SDL_WM_SetCaption(GStitle, NULL);
SETScrBlit(surf->format->BitsPerPixel);
DXclearScr();
surf1x = surf2x = NULL;
// SDL_initFramerate(&fps);
// SDL_setFramerate(&fps, 60);
#ifdef __WIN32__
return (s32)info.window;
#else
87 return (s32)info.info.x11.display;
#endif
} |
Can anyone help me with this?
Thank you,
Marc Dillon |
|
Back to top |
|
|
nemectic Apprentice
Joined: 20 Aug 2004 Posts: 182
|
Posted: Mon Apr 25, 2011 9:51 pm Post subject: |
|
|
What's your
|
|
Back to top |
|
|
mrmarcdee n00b
Joined: 18 Jan 2010 Posts: 67
|
Posted: Tue Apr 26, 2011 10:29 pm Post subject: |
|
|
nemectic wrote: | What's your
|
Code: | Portage 2.1.9.42 (default/linux/x86/10.0, gcc-4.4.4, glibc-2.11.2-r3, 2.6.34-gentoo-r12 i686)
=================================================================
System uname: Linux-2.6.34-gentoo-r12-i686-AMD_Athlon-tm-_II_X2_245_Processor-with-gentoo-1.12.14
Timestamp of tree: Fri, 22 Apr 2011 03:00:01 +0000
app-shells/bash: 4.1_p7
dev-lang/python: 2.6.5-r3, 3.1.2-r4
sys-apps/baselayout: 1.12.14-r1
sys-apps/sandbox: 2.3-r1
sys-devel/autoconf: 2.65-r1
sys-devel/automake: 1.11.1
sys-devel/binutils: 2.20.1-r1
sys-devel/gcc: 4.4.4-r2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool: 2.2.10
sys-devel/make: 3.81-r2
sys-kernel/linux-headers: 2.6.30-r1
virtual/os-headers: 2.6.30-r1 (sys-kernel/linux-headers)
ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -msse2 -pipe -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb /usr/share/config /var/lib/hsqldb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/gconf /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -msse2 -pipe -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs distlocks fixlafiles fixpackages news parallel-fetch protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
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="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 modules mudflap ncurses nls nptl nptlonly openmp pam pcre perl pppd python readline session ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 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 mmap_emul 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 cgi cgid 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" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" PHP_TARGETS="php5-3" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga neomagic nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LINGUAS, MAKEOPTS, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
|
|
|
Back to top |
|
|
Ex-Cyber n00b
Joined: 08 Feb 2003 Posts: 26
|
Posted: Fri Apr 29, 2011 3:03 am Post subject: |
|
|
This looks a lot like bug 251903. Is your libsdl built with X support? |
|
Back to top |
|
|
|
|
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
|
|