I'm trying to roll my release back to r5745 or earlier in order to troubleshoot a bug in Champions of Norrath (posted in the bug section) however I can't seem to find where the old subversion code is. Even then, I'd have troubles, surely, trying to build it, but to start with, I'll need the code to build.
I should have all the dependencies, however its not building.
Code:
$ sh build.sh --release
rm: cannot remove ‘install_log.txt’: No such file or directory
Building pcsx2 with -DCMAKE_BUILD_TYPE=Release
-- The C compiler identification is GNU 4.8.2
-- The CXX compiler identification is GNU 4.8.2
-- Check for working C compiler: /usr/bin/cc
-- Check for working C compiler: /usr/bin/cc -- works
-- Detecting C compiler ABI info
-- Detecting C compiler ABI info - done
-- Check for working CXX compiler: /usr/bin/c++
-- Check for working CXX compiler: /usr/bin/c++ -- works
-- Detecting CXX compiler ABI info
-- Detecting CXX compiler ABI info - done
CMake Warning at CMakeLists.txt:48 (message):
PCSX2 does not support a 64-bits environment and has no plan to support a 64-bits architecture in the future.
It would need a complete rewrite of the core emulator and a lot of time.
You can still run a 32-bits binary if you install all 32-bits libraries (runtime and dev).
Ubuntu users, please upgrade to 12.04.
-- Enable the stripping by default in Release build !!!
-- Enable the building of po files by default in Release build !!!
-- Found Freetype: /usr/lib32/libfreetype.so
-- Found GTK2_GTK: /usr/lib32/libgtk-x11-2.0.so
-- Looking for XOpenDisplay in /usr/lib32/libX11.so;/usr/lib32/libXext.so
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for XOpenDisplay in /usr/lib32/libX11.so;/usr/lib32/libXext.so - found
-- Looking for gethostbyname
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for gethostbyname - found
-- Looking for connect
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for connect - found
-- Looking for remove
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for remove - found
-- Looking for shmat
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for shmat - found
-- Looking for IceConnectionNumber in ICE
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for IceConnectionNumber in ICE - found
-- Found X11: /usr/lib32/libX11.so
-- Found ALSA: /usr/lib32/libasound.so (found version "1.0.27.2")
-- Found BZip2: /usr/lib32/libbz2.so (found version "1.0.6")
-- Looking for BZ2_bzCompressInit in /usr/lib32/libbz2.so
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for BZ2_bzCompressInit in /usr/lib32/libbz2.so - found
-- Found Gettext: /usr/bin/msgmerge (found version "0.18.3")
-- Found JPEG: /usr/lib32/libjpeg.so
-- Found OpenGL: /usr/lib32/libGL.so
-- Looking for include file pthread.h
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for include file pthread.h - found
-- Looking for pthread_create
CMake Warning (dev) in /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/CMakeFiles/CMakeTmp/CMakeLists.txt:
Syntax Warning in cmake code at
Argument not separated from preceding token by whitespace.
This warning is for project developers. Use -Wno-dev to suppress it.
-- Looking for pthread_create - found
-- Found Threads: TRUE
-- Found SDL: /usr/lib32/libSDL.so (found version "1.2.15")
-- Found Subversion: /usr/bin/svn (found version "1.8.8")
-- Could NOT find wxWidgets (missing: wxWidgets_FOUND)
-- Found ZLIB: /usr/lib32/libz.so (found version "1.2.8")
-- Found AIO: /usr/lib32/libaio.so
-- Found Cg: /usr/lib32/libCg.so;/usr/lib32/libCgGL.so
-- Found EGL: /usr/lib32/libEGL.so
-- Found GLESV2: /usr/lib32/libGLESv2.so
-- Found GLEW: /usr/lib32/libGLEW.so
-- Found Libc: /usr/lib32/librt.so;/usr/lib32/libdl.so;/usr/lib32/libm.so
-- Found PortAudio: /usr/lib32/libportaudio.so
-- Found SoundTouch: /usr/lib32/libSoundTouch.so
-- Found SparseHash: /usr/include
-- Found SparseHash_new: /usr/include
-- Skip build of common libraries: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), sparsehash (>=1.5), aio
-- Skip build of pcsx2 core: miss some dependencies
-- check these libraries -> wxWidgets (>=2.8.10), gtk2 (>=2.16), zlib (>=1.2.4), pcsx2 common libs
-- Skip build of zzogl: miss some dependencies
-- check these libraries -> glew (>=1.6), jpeg (>=6.2), opengl, X11, nvidia-cg-toolkit (>=2.1), pcsx2 common libs
-- Skip build of spu2-x: miss some dependencies
-- check these libraries -> soundtouch (>=1.5), alsa, portaudio (>=1.9), sdl (==1.2) pcsx2 common libs
-- Don't build zerospu2. It is super-seeded by spu2x
-- Configuring done
-- Generating done
-- Build files have been written to: /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build
Scanning dependencies of target translations_pcsx2_Iconized
Scanning dependencies of target translations_pcsx2_Main
[ 0%] [ 1%] Generating ja_JP__pcsx2_Iconized.gmo
Generating ja_JP__pcsx2_Main.gmo
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/locales" && /usr/bin/msgmerge --quiet --update --backup=none -s /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/ja_JP/pcsx2_Iconized.po /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/templates/pcsx2_Iconized.pot'
locales/CMakeFiles/translations_pcsx2_Iconized.dir/build.make:73: recipe for target 'locales/ja_JP__pcsx2_Iconized.gmo' failed
make[2]: *** [locales/ja_JP__pcsx2_Iconized.gmo] Error 1
CMakeFiles/Makefile2:80: recipe for target 'locales/CMakeFiles/translations_pcsx2_Iconized.dir/all' failed
make[1]: *** [locales/CMakeFiles/translations_pcsx2_Iconized.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/locales" && /usr/bin/msgmerge --quiet --update --backup=none -s /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/ja_JP/pcsx2_Main.po /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/templates/pcsx2_Main.pot'
locales/CMakeFiles/translations_pcsx2_Main.dir/build.make:75: recipe for target 'locales/ja_JP__pcsx2_Main.gmo' failed
make[2]: *** [locales/ja_JP__pcsx2_Main.gmo] Error 1
make[2]: *** Waiting for unfinished jobs....
[ 1%] Generating id_ID__pcsx2_Main.gmo
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/locales" && /usr/bin/msgmerge --quiet --update --backup=none -s /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/id_ID/pcsx2_Main.po /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/templates/pcsx2_Main.pot'
locales/CMakeFiles/translations_pcsx2_Main.dir/build.make:82: recipe for target 'locales/id_ID__pcsx2_Main.gmo' failed
make[2]: *** [locales/id_ID__pcsx2_Main.gmo] Error 1
CMakeFiles/Makefile2:115: recipe for target 'locales/CMakeFiles/translations_pcsx2_Main.dir/all' failed
make[1]: *** [locales/CMakeFiles/translations_pcsx2_Main.dir/all] Error 2
Scanning dependencies of target CDVDnull
Scanning dependencies of target CDVDlinuz
Scanning dependencies of target dev9null-0.5.0
[ 2%] [ 2%] [ 3%] [ 4%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/convert.c.o
[ 5%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/buffer.c.o
Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/ini.c.o
Building CXX object plugins/CDVDnull/CMakeFiles/CDVDnull.dir/CDVD.cpp.o
Building CXX object plugins/dev9null/CMakeFiles/dev9null-0.5.0.dir/Config.cpp.o
[ 6%] Scanning dependencies of target CDVDiso
Building CXX object plugins/dev9null/CMakeFiles/dev9null-0.5.0.dir/DEV9.cpp.o
[ 6%] Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/CDVDisop.cpp.o
[ 7%] Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/libiso.cpp.o
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadZ2table(isoFile*)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:331:23: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < iso->blocks; i++)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBZ2table(isoFile*)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:374:32: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (i = 0; i < iso->blocks / 16; i++)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlock(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:710:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < iso->blocksize)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlockZ(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:732:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < p)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlockZ2(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:757:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < p)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlockBZ2(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:791:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < p)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlockD(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:822:25: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (iso->dtable[i] != lsn) continue;
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:826:18: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < iso->blocksize) return -1;
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoReadBlockM(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:843:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lsn >= iso->multih[i].slsn &&
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:844:33: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
lsn <= iso->multih[i].elsn)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:857:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < iso->blocksize)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int isoReadBlock(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:870:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lsn > iso->blocks)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoWriteBlock(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:910:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < iso->blocksize) return -1;
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoWriteBlockZ(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:935:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < size)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoWriteBlockZ2(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:959:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < size)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoWriteBlockD(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:977:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < iso->blocksize) return -1;
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp: In function ‘int _isoWriteBlockBZ2(isoFile*, u8*, int)’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:991:29: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (lsn == (iso->blocks - 1))
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/libiso.cpp:1017:12: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
if (ret < size)
^
[ 8%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/version.c.o
[ 9%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/aboutbox.c.o
Linking CXX shared library libCDVDnull.so
[ 9%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/actualfile.c.o
[ 10%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/CD.c.o
[ 11%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/CDVDlinuz.c.o
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/actualfile.c: In function ‘ActualFileSeek’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/actualfile.c:231:11: warning: variable ‘moved’ set but not used [-Wunused-but-set-variable]
off64_t moved;
^
[ 11%] Built target CDVDnull
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:77:25: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u8 *playstationcdname = "PLAYSTATION\0";
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:79:15: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u8 *ps1name = "CD-XA001\0";
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c: In function ‘CDreadTrack’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:151:3: warning: pointer targets in passing argument 2 of ‘LBAtoMSF’ differ in signedness [-Wpointer-sign]
LBAtoMSF(lsn, buffer);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:63:0:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/../convert.h:93:13: note: expected ‘char *’ but argument is of type ‘u8 *’
extern void LBAtoMSF(unsigned long lsn, char *buffer);
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c: In function ‘CDgetDiskType’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:649:3: warning: pointer targets in passing argument 2 of ‘LBAtoMSF’ differ in signedness [-Wpointer-sign]
LBAtoMSF(cdtrack.cdte_addr.lba, &tocbuffer[27]);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:63:0:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/../convert.h:93:13: note: expected ‘char *’ but argument is of type ‘u8 *’
extern void LBAtoMSF(unsigned long lsn, char *buffer);
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:693:7: warning: pointer targets in passing argument 2 of ‘LBAtoMSF’ differ in signedness [-Wpointer-sign]
LBAtoMSF(cdtrack.cdte_addr.lba, &tocbuffer[j*10 + 37]);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/CD.c:63:0:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/../convert.h:93:13: note: expected ‘char *’ but argument is of type ‘u8 *’
extern void LBAtoMSF(unsigned long lsn, char *buffer);
^
[ 11%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/conf.c.o
Linking CXX shared library libdev9null-0.5.0.so
[ 11%] Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/Linux/Config.cpp.o
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c: In function ‘LoadConf’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:169:3: warning: pointer targets in passing argument 4 of ‘INILoadString’ differ in signedness [-Wpointer-sign]
retval = INILoadString(conffilename, "Settings", "Device", conf.devicename);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:33:0:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/../ini.h:109:12: note: expected ‘char *’ but argument is of type ‘u8 *’
extern int INILoadString(char *file, char *section, char *keyword, char *buffer);
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:171:5: warning: pointer targets in passing argument 1 of ‘sprintf’ differ in signedness [-Wpointer-sign]
sprintf(conf.devicename, "/dev/dvd");
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:23:0:
/usr/include/stdio.h:364:12: note: expected ‘char * __restrict__’ but argument is of type ‘u8 *’
extern int sprintf (char *__restrict __s,
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c: In function ‘SaveConf’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:183:3: warning: pointer targets in passing argument 4 of ‘INISaveString’ differ in signedness [-Wpointer-sign]
INISaveString(conffilename, "Settings", "Device", conf.devicename);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/conf.c:33:0:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/../ini.h:107:12: note: expected ‘char *’ but argument is of type ‘u8 *’
extern int INISaveString(char *file, char *section, char *keyword, char *value);
^
[ 12%] Building C object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/Linux/interface.c.o
[ 13%] Building CXX object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/Linux/Linux.cpp.o
[ 14%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/device.c.o
[ 14%] [ 14%] Built target dev9null-0.5.0
Building C object plugins/CDVDiso/src/CMakeFiles/CDVDiso.dir/Linux/support.c.o
[ 15%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/DVD.c.o
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/device.c: In function ‘DeviceOpen’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/device.c:133:3: warning: pointer targets in passing argument 1 of ‘open’ differ in signedness [-Wpointer-sign]
devicehandle = open(conf.devicename, O_RDONLY | O_NONBLOCK);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/device.c:22:0:
/usr/include/fcntl.h:169:12: note: expected ‘const char *’ but argument is of type ‘u8 *’
extern int open (const char *__file, int __oflag, ...) __nonnull ((1));
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/DVD.c:41:23: warning: pointer targets in initialization differ in signedness [-Wpointer-sign]
u8 *playstationname = "PLAYSTATION\0";
^
[ 15%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/interface.c.o
[ 16%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/logfile.c.o
[ 16%] Building C object plugins/CDVDlinuz/Src/CMakeFiles/CDVDlinuz.dir/Linux/mainbox.c.o
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDiso/src/Linux/Linux.cpp:39:3: warning: anonymous type with no linkage used to declare variable ‘<anonymous union> cr’ with linkage [enabled by default]
} cr;
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c: In function ‘MainBoxOKEvent’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c:219:3: warning: pointer targets in passing argument 1 of ‘strcpy’ differ in signedness [-Wpointer-sign]
strcpy(conf.devicename, tempdevice); // Temporarily put in new device name
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c:47:0:
/usr/include/string.h:129:14: note: expected ‘char * __restrict__’ but argument is of type ‘u8 *’
extern char *strcpy (char *__restrict __dest, const char *__restrict __src)
^
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c: In function ‘MainBoxDisplay’:
/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c:371:3: warning: pointer targets in passing argument 2 of ‘gtk_entry_set_text’ differ in signedness [-Wpointer-sign]
gtk_entry_set_text(GTK_ENTRY(mainbox.device), conf.devicename);
^
In file included from /home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/plugins/CDVDlinuz/Src/Linux/mainbox.c:61:0:
/usr/include/gtk-2.0/gtk/gtkentry.h:213:12: note: expected ‘const gchar *’ but argument is of type ‘u8 *’
void gtk_entry_set_text (GtkEntry *entry,
^
Linking C shared library libCDVDlinuz.so
[ 16%] Built target CDVDlinuz
Linking CXX shared library libCDVDiso.so
[ 16%] Built target CDVDiso
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
[ 0%] Generating ja_JP__pcsx2_Iconized.gmo
/bin/sh: -c: line 0: syntax error near unexpected token `('
/bin/sh: -c: line 0: `cd "/home/{redacted}/build/svn/pcsx2 -r5745 (another copy)/build/locales" && /usr/bin/msgmerge --quiet --update --backup=none -s /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/ja_JP/pcsx2_Iconized.po /home/{redacted}/build/svn/pcsx2\ -r5745\ (another\ copy)/locales/templates/pcsx2_Iconized.pot'
locales/CMakeFiles/translations_pcsx2_Iconized.dir/build.make:73: recipe for target 'locales/ja_JP__pcsx2_Iconized.gmo' failed
make[2]: *** [locales/ja_JP__pcsx2_Iconized.gmo] Error 1
CMakeFiles/Makefile2:80: recipe for target 'locales/CMakeFiles/translations_pcsx2_Iconized.dir/all' failed
make[1]: *** [locales/CMakeFiles/translations_pcsx2_Iconized.dir/all] Error 2
Makefile:116: recipe for target 'all' failed
make: *** [all] Error 2
PCSX2 does not support a 64-bits environment and has no plan to support a 64-bits architecture in the future.
It would need a complete rewrite of the core emulator and a lot of time.
You can still run a 32-bits binary if you install all 32-bits libraries (runtime and dev).
Are you building with an x86 target or x64 target?? You need to build for x86 as x64 is not supported.
That might be a problem, but I also was missing two thing, somehow. The most recent few have built so I assumed i had all deps. The build log is too long so I've included it as a file attachment.
I have all the 32b libraries so it should be okay, and its showing that it had found all libs. What are you suggesting I do?
(03-23-2014, 05:11 PM)nstgc Wrote: That might be a problem, but I also was missing two thing, somehow. The most recent few have built so I assumed i had all deps. The build log is too long so I've included it as a file attachment.
I have all the 32b libraries so it should be okay, and its showing that it had found all libs. What are you suggesting I do?
OK well I would make sure you have 32bit gcc (or gcc with an i686 target or gcc multilib, etc, depending on distro) installed and would run CMAKE with addition options as follows:
03-23-2014, 07:03 PM (This post was last modified: 03-23-2014, 07:11 PM by nstgc.)
As for what I have installed
Code:
$ pacman -Qs gcc
local/gcc-libs-multilib 4.8.2-8
Runtime libraries shipped by GCC for multilib
local/gcc-multilib 4.8.2-8 (multilib-devel)
The GNU Compiler Collection - C and C++ frontends for multilib
local/lib32-gcc-libs 4.8.2-8
Runtime libraries shipped by GCC (32-bit)
Code:
$ pacman -Qs wx
local/lib32-wxgtk2.8 2.8.12.1-2
GTK+ implementation of wxWidgets API for GUI
local/wxgtk2.8 2.8.12.1-1
GTK+ implementation of wxWidgets API for GUI
local/wxwidgets 3.0.0-1
wxWidgets is a C++ library that lets developers create applications for
Windows, OS X, Linux and UNIX.
So, yes, I have the 32b version of gcc, and yes, my wxgtk 32bit is only 2.8.
I just installed the 64bit wxgtk 3.0, however it still doesn't build.
[edit] As for modifying build.sh or building without a build script, I'd have to wait until I'm not taking quick breaks during a take home exam for that.