Yes, vm build is broken again in 626. Use vtlb
plugins won't build on linux, I get following error:
Code:
build.sh: 5: function: not found
It repeats indefinitely...
(01-24-2009, 09:17 AM)Zeydlitz Wrote: [ -> ]At what revision?
HEAD revision as of the time of this post, I'm not sure exactly what the rev number is.
Edit: playground rev 627, official rev 403
rev 641 : pcsx2/Linux/memzero.h
in line 66 a " ; " is missing before the else.
and I'm unable to compile due to false values provided by push and pop from cpudetect.cpp
in plugins/build.sh
it's not function buildplugin {
cd ${curdir}/$1
sh build.sh $2
etc ....
it must be:
buildplugin() {
cd ${curdir}/$1
sh build.sh $2
etc....
Hope this help.
In Fedora, the packages needed to build it are:
subversion
bzip2-devel
glew-devel
libXxf86vm-devel
alsa-lib-devel
joystick
SDL-devel
SDL_gfx-devel
SDL_sound-devel
SDL_Pango-devel
SDL_image-devel
SDL_mixer-devel
SDL_net-devel
SDL_ttf-devel
gtk2-devel
autoconf
automake
the nVIDIA Cg toolkit must be downloaded and installed separately from an RPM at
http://developer.nvidia.com/object/cg_toolkit.html
I'm not quite sure exactly which components of SDL that PCSX2 uses, I think you will only need SDL-devel and SDL_gfx-devel though. The rest are listed just in case.
Current (672) revision is compilable and usable with interpreter under Linux. EErecs would not be working until trouble with signals handling + pthreads resolved.
Rev. 672 won't compile for me :\ Core2 CPU, x86_64 Archlinux, GCC 4.3.3
Code:
ix86_cpudetect.cpp:126: Error: suffix or operands invalid for `push'
ix86_cpudetect.cpp:129: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:123: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:126: Error: suffix or operands invalid for `push'
ix86_cpudetect.cpp:129: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:123: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:126: Error: suffix or operands invalid for `push'
ix86_cpudetect.cpp:129: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:123: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:126: Error: suffix or operands invalid for `push'
ix86_cpudetect.cpp:129: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:123: Error: suffix or operands invalid for `pop'
ix86_cpudetect.cpp:126: Error: suffix or operands invalid for `push'
ix86_cpudetect.cpp:129: Error: suffix or operands invalid for `pop'
make[2]: *** [ix86_cpudetect.o] Error 1
make[2]: Leaving directory `/home/maister/bin/pcsx2/pcsx2-playground-read-only/pcsx2/x86/ix86'
make[1]: *** [install-recursive] Error 1
make[1]: Leaving directory `/home/maister/bin/pcsx2/pcsx2-playground-read-only/pcsx2/x86'
make: *** [install-recursive] Error 1
I get some different error messages when I try to enable disable devbuild and debug etc, but all error messages are bound to cpudetect.cpp
EDIT: Tried compiling the same thing in i686 chroot, and it worked. Is it possible that the CPU is detected wrongly, and tries to compile for i686 for some reason?
I have compiled the pcsx2 emu many times, and have failed at compiling any plugins, how do I do it? Thank you.