forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Problem with psptoolchain installation in ubuntu 8.04

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
internalKey



Joined: 30 Aug 2008
Posts: 1

PostPosted: Sat Aug 30, 2008 12:24 am    Post subject: Problem with psptoolchain installation in ubuntu 8.04 Reply with quote

(sorry for my english)

I have install all the necesary libraries but i got a error from psptoolchain.sh:


Quote:

[..........]

checking whether the linker (ld) supports shared libraries... yes
checking how to hardcode library paths into programs... immediate
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... GNU/Linux ld.so
checking command to parse nm output... make[2]: se ingresa al directorio `/home/usuario/psp/psptoolchain/build/binutils-2.16.1/build-psp/libiberty/testsuite'
make[2]: No se hace nada para `all'.
make[2]: se sale del directorio `/home/usuario/psp/psptoolchain/build/binutils-2.16.1/build-psp/libiberty/testsuite'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/regex.c -o pic/regex.o; \
else true; fi
ok
checking if libtool supports shared libraries... yes
checking whether to build shared libraries... no
checking whether to build static libraries... yes
gcc -c -DHAVE_CONFIG_H -g -O2 -I. -I../../libiberty/../include -W -Wall -Wtraditional -pedantic ../../libiberty/regex.c -o regex.o

In file included from ../../libiberty/../include/xregex.h:26,
from ../../libiberty/regex.c:199:
Fallo de segmentación
Por favor envíe un reporte completo de bichos,
con el código preprocesado si es apropiado.
Vea <URL:http://gcc.gnu.org/bugs.html> para más instrucciones.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make[1]: *** [regex.o] Error 1
make[1]: se sale del directorio `/home/usuario/psp/psptoolchain/build/binutils-2.16.1/build-psp/libiberty'
make: *** [all-libiberty] Error 2
make: *** Se espera a que terminen otras tareas....
creating libtool
updating cache ./config.cache
configure: loading cache ./config.cache
checking whether to enable maintainer-specific portions of Makefiles... no
checking whether to install libbfd... yes

[..........................]

config.status: executing depfiles commands
config.status: executing default commands
../scripts/001-binutils-2.16.1.sh: Failed.


The error is in line 26 of xregx.h what is an include of 'xreg2.h', and the error is a segmentation fault. I had search in the web but i don't get the solution to my problem.

Somebody can help me?

Thnks.
Back to top
View user's profile Send private message
ooPo
Site Admin


Joined: 17 Jan 2004
Posts: 2032
Location: Canada

PostPosted: Sat Aug 30, 2008 2:05 am    Post subject: Reply with quote

Code:
Fallo de segmentación

Segfault?

Check for bad ram, overheating, low disk space, etc... anything that would make your machine unstable.
Back to top
View user's profile Send private message Visit poster's website
sauron_le_noir



Joined: 05 Jul 2008
Posts: 229

PostPosted: Sat Aug 30, 2008 3:37 am    Post subject: Reply with quote

First of all became root before you generate psp-gcc no z sudo just log you on as root

Second point can you on a terminal say whitch version of gcc you have
the comand is

gcc --version

or

gcc --v

And there is a new toolchain.sh available that install psp-gcc 4.3.1 instead of 4.2 ;)
Back to top
View user's profile Send private message Send e-mail MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2005 phpBB Group