Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 13759 - PCSX 1.4 Compile Fails
Summary: PCSX 1.4 Compile Fails
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gentoo Games
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-01-11 23:11 UTC by Marcel Kunath
Modified: 2003-02-04 19:42 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marcel Kunath 2003-01-11 23:11:54 UTC
I got pcsx 1.2 installed under Gentoo 1.2. It works. The latest rsync though
states pcsx 1.4 as stable.

emerge -f -u pcsx
emerge -u pcsx

Calculating dependencies ...done!
>>> emerge (1 of 1) app-emulation/pcsx-1.4 to /
opengl
opengl
>>> md5 ;-) PcsxSrc-1.4.zip
opengl
opengl
>>> Unpacking source...
>>> Unpacking PcsxSrc-1.4.zip
>>> Source unpacked.
gcc -Wall -march=i686 -O3 -pipe -fPIC -fomit-frame-pointer -finline-functions
-ffast-math -I. -I.. -I/usr/include/g++ -D__LINUX__ -DPCSX_VERSION=\"1.4\"
-D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -c -o ../PsxBios.o ../PsxBios.c
gcc -Wall -march=i686 -O3 -pipe -fPIC -fomit-frame-pointer -finline-functions
-ffast-math -I. -I.. -I/usr/include/g++ -D__LINUX__ -DPCSX_VERSION=\"1.4\"
-D__i386__ -I/usr/include/gtk-1.2 -I/usr/include/glib-1.2
-I/usr/lib/glib/include -I/usr/X11R6/include -c -o ../CdRom.o ../CdRom.c
In file included from ../PsxCommon.h:136,
                 from ../CdRom.c:23:
../Debug.h:48: Invalid token in expression
In file included from ../PsxCommon.h:136,
                 from ../PsxBios.c:25:
../Debug.h:48: Invalid token in expression
In file included from ../PsxBios.c:25:
../PsxCommon.h:113: parse error before `if'
../PsxCommon.h:113: stray '\' in program
In file included from ../CdRom.c:23:
../PsxCommon.h:113: parse error before `if'
../PsxCommon.h:113: stray '\' in program
../CdRom.c:91: parse error before `.'
../CdRom.c:91: stray '\' in program
../CdRom.c:92: stray '\' in program
../CdRom.c:96: stray '\' in program
../CdRom.c:97: stray '\' in program
.
.
.
.
.
.
../PsxBios.c:1321: warning: assignment makes pointer from integer without a cast
../PsxBios.c:1321: parse error before `#'
../PsxBios.c:1321: stray '\' in program
../PsxBios.c:1322: stray '\' in program
../PsxBios.c:1323: structure has no member named `Mcd'
../PsxBios.c:1323: parse error before `#'
../PsxBios.c:1323: stray '\' in program
../PsxBios.c:1324: stray '\' in program
../PsxBios.c:1325: stray '\' in program
cpp0: output pipe has been closed
{standard input}: Assembler messages:
{standard input}:2154: Warning: end of file not at end of a line; newline inserted
{standard input}:3700: Error: unbalanced parenthesis in operand 1.
gcc: Internal compiler error: program cc1 got fatal signal 11
make: *** [../PsxBios.o] Error 1

!!! ERROR: app-emulation/pcsx-1.4 failed.
!!! Function src_compile, Line 10, Exitcode 2
!!! (no error message)


<the end>

Marcel
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-01-12 07:12:34 UTC
please paste 
#emerge info
Comment 2 Marcel Kunath 2003-01-12 14:26:02 UTC
Portage 2.0.46-r4 (default-1.0, gcc-2.95.3, glibc-2.2.5-r2,2.2.5-r7)
=================================================================
System uname: 2.4.19-gentoo-r5 i686 Pentium II (Klamath)
USE="x86 oss 3dnow apm avi crypt cups encode jpeg libg++ libwww mikmod mmx mpeg
ncurses pdflib qtmt quicktime spell truetype xml2 xmms xv arts berkdb esd gdbm
gif gnome-libs gpm gtk guile imlib java kde motif mozilla nls oggvorbis opengl
pam perl png python qt readline sdl slang ssl svga tcpd tiff X"
ARCH="x86"
COMPILER=""
CHOST="i686-pc-linux-gnu"
CFLAGS="-march=i686 -O3 -pipe"
CXXFLAGS="-march=i686 -O3 -pipe"
ACCEPT_KEYWORDS="x86"
CONFIG_PROTECT="/etc /var/qmail/control /usr/kde/2/share/config
/usr/X11R6/lib/X11/xkb /usr/kde/3/share/config /usr/share/config"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
MAKEOPTS="-j2"
JDK_HOME="/opt/blackdown-jdk-1.3.1"
JAVA_HOME="/opt/blackdown-jdk-1.3.1"
AUTOCLEAN="no"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
GENTOO_MIRRORS="http://www.ibiblio.org/gentoo"

Marcel
Comment 3 SpanKY gentoo-dev 2003-01-12 22:13:46 UTC
also paste this info:
qpkg -v glib
qpkg -v gtk
Comment 4 SpanKY gentoo-dev 2003-01-12 22:15:36 UTC
ok, this is a gcc-2.x problem, i'm able to reproduce it here