![]() |
|
|
|
#1
|
||||
|
||||
|
I got a similar error, but my toolchain was still installed, and I could compile things.
maybe try compiling one of the examples? |
|
#2
|
||||
|
||||
|
Got it working using this guide: http://www.guztech.nl/index.php?opti...:psp&Itemid=56
Just ended up with the pspLink error. Thanks for helping me with the first prob +rep
__________________
|
|
#3
|
||||
|
||||
|
did you get it to compile with no errors?
I never did. D: |
|
#4
|
|||
|
|||
|
It worked for me. I only installed, did not ran the psp libraries script
|
|
#5
|
||||
|
||||
|
Mine blew up on Xubuntu 8.10 32-bit.
![]() Code:
psp-ar rc ./libgcc.a libgcc/./_muldi3.o libgcc/./_negdi2.o libgcc/./_lshrdi3.o libgcc/./_ashldi3.o libgcc/./_ashrdi3.o libgcc/./_cmpdi2.o libgcc/./_ucmpdi2.o libgcc/./_floatdidf.o libgcc/./_floatdisf.o libgcc/./_fixunsdfsi.o libgcc/./_fixunssfsi.o libgcc/./_fixunsdfdi.o libgcc/./_fixdfdi.o libgcc/./_fixunssfdi.o libgcc/./_fixsfdi.o libgcc/./_fixxfdi.o libgcc/./_fixunsxfdi.o libgcc/./_floatdixf.o libgcc/./_fixunsxfsi.o libgcc/./_fixtfdi.o libgcc/./_fixunstfdi.o libgcc/./_floatditf.o libgcc/./_clear_cache.o libgcc/./_enable_execute_stack.o libgcc/./_trampoline.o libgcc/./__main.o libgcc/./_absvsi2.o libgcc/./_absvdi2.o libgcc/./_addvsi3.o libgcc/./_addvdi3.o libgcc/./_subvsi3.o libgcc/./_subvdi3.o libgcc/./_mulvsi3.o libgcc/./_mulvdi3.o libgcc/./_negvsi2.o libgcc/./_negvdi2.o libgcc/./_ctors.o libgcc/./_ffssi2.o libgcc/./_ffsdi2.o libgcc/./_clz.o libgcc/./_clzsi2.o libgcc/./_clzdi2.o libgcc/./_ctzsi2.o libgcc/./_ctzdi2.o libgcc/./_popcount_tab.o libgcc/./_popcountsi2.o libgcc/./_popcountdi2.o libgcc/./_paritysi2.o libgcc/./_paritydi2.o libgcc/./_powisf2.o libgcc/./_powidf2.o libgcc/./_powixf2.o libgcc/./_powitf2.o libgcc/./_mulsc3.o libgcc/./_muldc3.o libgcc/./_mulxc3.o libgcc/./_multc3.o libgcc/./_divsc3.o libgcc/./_divdc3.o libgcc/./_divxc3.o libgcc/./_divtc3.o libgcc/./_eprintf.o libgcc/./__gcc_bcmp.o libgcc/./_divdi3.o libgcc/./_moddi3.o libgcc/./_udivdi3.o libgcc/./_umoddi3.o libgcc/./_udiv_w_sdiv.o libgcc/./_udivmoddi4.o libgcc/./_pack_sf.o libgcc/./_unpack_sf.o libgcc/./_addsub_sf.o libgcc/./_mul_sf.o libgcc/./_div_sf.o libgcc/./_fpcmp_parts_sf.o libgcc/./_compare_sf.o libgcc/./_eq_sf.o libgcc/./_ne_sf.o libgcc/./_gt_sf.o libgcc/./_ge_sf.o libgcc/./_lt_sf.o libgcc/./_le_sf.o libgcc/./_unord_sf.o libgcc/./_si_to_sf.o libgcc/./_sf_to_si.o libgcc/./_negate_sf.o libgcc/./_make_sf.o libgcc/./_sf_to_df.o libgcc/./_thenan_sf.o libgcc/./_sf_to_usi.o libgcc/./_usi_to_sf.o libgcc/./_pack_df.o libgcc/./_unpack_df.o libgcc/./_addsub_df.o libgcc/./_mul_df.o libgcc/./_div_df.o libgcc/./_fpcmp_parts_df.o libgcc/./_compare_df.o libgcc/./_eq_df.o libgcc/./_ne_df.o libgcc/./_gt_df.o libgcc/./_ge_df.o libgcc/./_lt_df.o libgcc/./_le_df.o libgcc/./_unord_df.o libgcc/./_si_to_df.o libgcc/./_df_to_si.o libgcc/./_negate_df.o libgcc/./_make_df.o libgcc/./_df_to_sf.o libgcc/./_thenan_df.o libgcc/./_df_to_usi.o libgcc/./_usi_to_df.o libgcc/./unwind-dw2.o libgcc/./unwind-dw2-fde.o libgcc/./unwind-sjlj.o libgcc/./gthr-gnat.o libgcc/./unwind-c.o *** buffer overflow detected ***: psp-ar terminated rm -f ./libgcov.a psp-ar rc ./libgcov.a libgcc/./_gcov.o libgcc/./_gcov_merge_add.o libgcc/./_gcov_merge_single.o libgcc/./_gcov_merge_delta.o libgcc/./_gcov_fork.o libgcc/./_gcov_execl.o libgcc/./_gcov_execlp.o libgcc/./_gcov_execle.o libgcc/./_gcov_execv.o libgcc/./_gcov_execvp.o libgcc/./_gcov_execve.o libgcc/./_gcov_interval_profiler.o libgcc/./_gcov_pow2_profiler.o libgcc/./_gcov_one_value_profiler.o *** buffer overflow detected ***: psp-ar terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x4012e558] /lib/tls/i686/cmov/libc.so.6[0x4012c680] /lib/tls/i686/cmov/libc.so.6[0x4012bd68] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x400a1a18] /lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x40094e0d] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4007615f] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x4012be17] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x4012bd5d] psp-ar[0x80512e2] psp-ar[0x804f2db] psp-ar[0x8052158] psp-ar[0x8059e98] psp-ar[0x804b8f5] psp-ar[0x804c690] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x4004a685] psp-ar[0x80496e1] ======= Memory map: ======== 08048000-080c5000 r-xp 00000000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c5000-080c6000 r--p 0007c000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c6000-080c7000 rw-p 0007d000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c7000-080cb000 rw-p 080c7000 00:00 0 098c7000-0994c000 rw-p 098c7000 00:00 0 [heap] 40000000-4001a000 r-xp 00000000 08:02 70432 /lib/ld-2.8.90.so 4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso] 4001b000-4001c000 r--p 0001a000 08:02 70432 /lib/ld-2.8.90.so 4001c000-4001d000 rw-p 0001b000 08:02 70432 /lib/ld-2.8.90.so 4001d000-4001f000 rw-p 4001d000 00:00 0 4001f000-40020000 r--p 00000000 08:03 16437 /usr/lib/locale/en_CA.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40020000-40027000 r--s 00000000 08:03 8529 /usr/lib/gconv/gconv-modules.cache 40027000-40031000 rw-p 40027000 00:00 0 40034000-4018c000 r-xp 00000000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018c000-4018e000 r--p 00158000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018e000-4018f000 rw-p 0015a000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018f000-40193000 rw-p 4018f000 00:00 0 40193000-401d2000 r--p 00000000 08:03 16431 /usr/lib/locale/en_CA.utf8/LC_CTYPE 401e7000-401f4000 r-xp 00000000 08:02 70431 /lib/libgcc_s.so.1 401f4000-401f5000 r--p 0000c000 08:02 70431 /lib/libgcc_s.so.1 401f5000-401f6000 rw-p 0000d000 08:02 70431 /lib/libgcc_s.so.1 bffa6000-bffbc000 rw-p bffea000 00:00 0 [stack] make[3]: *** [libgcov.a] Aborted make[3]: *** Deleting file `libgcov.a' make[3]: *** Waiting for unfinished jobs.... ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0x4012e558] /lib/tls/i686/cmov/libc.so.6[0x4012c680] /lib/tls/i686/cmov/libc.so.6[0x4012bd68] /lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0x400a1a18] /lib/tls/i686/cmov/libc.so.6(_IO_padn+0xed)[0x40094e0d] /lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0x27cf)[0x4007615f] /lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa7)[0x4012be17] /lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0x4012bd5d] psp-ar[0x80512e2] psp-ar[0x804f2db] psp-ar[0x8052158] psp-ar[0x8059e98] psp-ar[0x804b8f5] psp-ar[0x804c690] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0x4004a685] psp-ar[0x80496e1] ======= Memory map: ======== 08048000-080c5000 r-xp 00000000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c5000-080c6000 r--p 0007c000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c6000-080c7000 rw-p 0007d000 08:03 240901 /usr/local/pspdev/bin/psp-ar 080c7000-080cb000 rw-p 080c7000 00:00 0 09c11000-09f81000 rw-p 09c11000 00:00 0 [heap] 40000000-4001a000 r-xp 00000000 08:02 70432 /lib/ld-2.8.90.so 4001a000-4001b000 r-xp 4001a000 00:00 0 [vdso] 4001b000-4001c000 r--p 0001a000 08:02 70432 /lib/ld-2.8.90.so 4001c000-4001d000 rw-p 0001b000 08:02 70432 /lib/ld-2.8.90.so 4001d000-4001f000 rw-p 4001d000 00:00 0 4001f000-40020000 r--p 00000000 08:03 16437 /usr/lib/locale/en_CA.utf8/LC_MESSAGES/SYS_LC_MESSAGES 40020000-40027000 r--s 00000000 08:03 8529 /usr/lib/gconv/gconv-modules.cache 40027000-40031000 rw-p 40027000 00:00 0 40034000-4018c000 r-xp 00000000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018c000-4018e000 r--p 00158000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018e000-4018f000 rw-p 0015a000 08:02 70564 /lib/tls/i686/cmov/libc-2.8.90.so 4018f000-40193000 rw-p 4018f000 00:00 0 40193000-401d2000 r--p 00000000 08:03 16431 /usr/lib/locale/en_CA.utf8/LC_CTYPE 401e7000-401f4000 r-xp 00000000 08:02 70431 /lib/libgcc_s.so.1 401f4000-401f5000 r--p 0000c000 08:02 70431 /lib/libgcc_s.so.1 401f5000-401f6000 rw-p 0000d000 08:02 70431 /lib/libgcc_s.so.1 bfbcd000-bfbe4000 rw-p bffe9000 00:00 0 [stack] make[3]: *** [libgcc.a] Aborted make[3]: *** Deleting file `libgcc.a' make[3]: Leaving directory `/home/hyperhacker/Desktop/psptoolchain/build/gcc-4.1.0/build-psp/gcc' make[2]: *** [stmp-multilib] Error 2 make[2]: Leaving directory `/home/hyperhacker/Desktop/psptoolchain/build/gcc-4.1.0/build-psp/gcc' make[1]: *** [all-gcc] Error 2 make[1]: Leaving directory `/home/hyperhacker/Desktop/psptoolchain/build/gcc-4.1.0/build-psp' make: *** [all] Error 2 ../scripts/002-gcc-4.1.0-stage1.sh: Failed. [edit] libgmp-dev is now libgmp3-dev. Let's try that... nope. Code:
checking whether the C compiler (gcc-4.2 ) works... no configure: error: installation or configuration problem: C compiler cannot create executables. ../scripts/001-binutils-2.16.1.sh: Failed. ERROR: Could not run the toolchain script. OK, so I tried doing "su" and running the toolchain.sh instead of toolchain-sudo.sh, that seemed to work... it ran for probably an hour and then guess what: Code:
make[3]: Entering directory `/home/hyperhacker/psp/psptoolchain/build/gcc-4.3.2/build-psp/gcc' *** buffer overflow detected ***: /usr/local/pspdev/psp/bin/ar terminated ![]() Yeah, something's broken. If I use 4.2 I get cannot create executables. If I use 4.3 I get buffer overflow. [edit] BAH! Worst case of unhelpful error message ever. The reason gcc-4.2 couldn't create executables was it wasn't installed. V__________v Trying again while I go do something else because this takes forever to run...
__________________
>> PSP-2001 running 5.00m33-6, 4GB Lexar memory stick Luna is not dead, it just has a todo list a mile long. My website is, though. But it will return, someday... >_> Last edited by HyperHacker; 12-14-2008 at 05:52 AM. Reason: gcc-4.2 wasn't even installed *facepalm* |
|
#6
|
|||
|
|||
|
Maybe it does work with Xubuntu
|
|
#7
|
||||
|
||||
|
OK, so here's all the hoops I had to jump through to get this thing installed and working! It's like solving some kind of ancient riddle. Lots of Googling, experimentation, and totally misleading error messages. And these scripts re-download, re-build etc everything every time they run, which can take hours, so if you don't do everything precisely right, you can end up spending an hour waiting just to see if it'll work this time. Argh!
This is installing on 32-bit Xubuntu 8.10 on December 14th 2008. YMMV. Good luck. (hint: "~/" is a shortcut for "/home/yourusername/", and make sure you substitute "hyperhacker" for your own username.) First off, run a bunch of command similar to this, but not quite. Code:
cd ~ sudo su apt-get install gcc-4.2 autoconf automake bison flex gcc make libncurses5-dev libusb-dev patch subversion texinfo wget libgmp3-dev mkdir psp cd psp Now go here and download "PSP Custom Firmware 4.01 M33-2 Update". You will need this later. (Someone remind me to upload a mirror of this somewhere.) Then: Code:
svn co svn://svn.ps2dev.org/psp/trunk/psptoolchain psptoolchain cd psptoolchain export PSPDEV=/usr/local/pspdev export PATH=$PATH:$PSPDEV/bin mkdir -p /usr/local/pspdev chmod a+rxw /usr/local/pspdev chown hyperhacker:hyperhacker /usr/local/pspdev ./toolchain.sh Code:
cd .. svn co svn://svn.ps2dev.org/psp/trunk/psplibraries psplibraries apt-get install libtool cd psplibraries cp /usr/share/misc/config.guess ./build/freetype/builds/unix In the .rar file you downloaded earlier, for some reason is an "SDK" folder. Copy that entire folder into /usr/local/pspdev - you should end up with /usr/local/pspdev/SDK, with the contents: include, lib, psp-packer, samples, readme.txt. Continue (and the next line will again take about half an hour): Code:
./libraries-sudo.sh chown -R hyperhacker:hyperhacker /usr/local/pspdev Code:
export PSPDEV="/usr/local/pspdev" export PSPSDK="$PSPDEV/psp/sdk" export PATH="$PATH:$PSPDEV/bin:$PSPSDK/bin" FINALLY, everything is installed, now if you want you can set up psplink: Code:
cd ../psptoolchain/build/psplinkusb make release cd ../usbhostfs_pc make cd ../pspsh make That was nuts, now go out for a beer or something, you've earned it. I'm going to sleep. @_@
__________________
>> PSP-2001 running 5.00m33-6, 4GB Lexar memory stick Luna is not dead, it just has a todo list a mile long. My website is, though. But it will return, someday... >_> |
|
#8
|
||||
|
||||
|
Also I used this one that Blade_Punk gave to me http://www.guztech.nl/index.php?opti...psp&Itemid=56\
__________________
|
|
#9
|
|||
|
|||
|
Everything works up to the toolchain.sh script. Then a get an error that says something about textinfo being uninstalled.
Can anyone help? I am using easy peasy OS on an ASUS EEE PC 701 thanks in advance |
|
#10
|
|||
|
|||
|
The error would help
By the way, try installing textinfo |
![]() |
|
|
|||
|
|||
|
|
| Thread Tools | |
| Display Modes | |
|
|