Problem with psptoolchain installation in ubuntu 8.04

Discuss the development of new homebrew software, tools and libraries.

Moderators: cheriff, TyRaNiD

Post Reply
internalKey
Posts: 1
Joined: Sat Aug 30, 2008 12:15 am

Problem with psptoolchain installation in ubuntu 8.04

Post by internalKey »

(sorry for my english)

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

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

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.
ooPo
Site Admin
Posts: 2023
Joined: Sat Jan 17, 2004 9:56 am
Location: Canada
Contact:

Post by ooPo »

Code: Select all

Fallo de segmentación
Segfault?

Check for bad ram, overheating, low disk space, etc... anything that would make your machine unstable.
sauron_le_noir
Posts: 203
Joined: Sat Jul 05, 2008 8:03 am

Post by sauron_le_noir »

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 ;)
Post Reply