building latest sdk

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

building latest sdk

Post by JorDy »

when im building the latest sdk i always get the errors when it comes to building the EE source

Code: Select all

*** No rule to make target 'obj', needed by 'all'. stop
I'm in cygwin for this btw
User avatar
jbit
Site Admin
Posts: 293
Joined: Sat May 28, 2005 3:11 am
Location: København, Danmark
Contact:

Post by jbit »

Just tried building here, and the latest svn revision (1379) builds fine.
You need to include much more info if you want help trouble shooting. Like at least the last 15 lines or so of the build output, what svn revision you're using, if you have any local patches (svn status to see if any files differ), what build environment you're using, etc, etc.
J.F.
Posts: 2906
Joined: Sun Feb 22, 2004 11:41 am

Re: building latest sdk

Post by J.F. »

JorDy wrote:when im building the latest sdk i always get the errors when it comes to building the EE source

Code: Select all

*** No rule to make target 'obj', needed by 'all'. stop
I'm in cygwin for this btw
Last time I ran into that problem, I forgot to have the patchfiles in the same directory as the toolchain.sh script. They all have to be together in the same place or the patches don't get applied, and when the patches aren't applied, the target rule isn't present.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

that was building it with the semi recent perl script. I also just tride running the update-ps2sdk.sh and it fails with the following errors (under cygwin)

Code: Select all

mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c -Iinclude/ -I../dev9/include/ -I/tmp/ps2dev/ps2s
dk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall src/po
weroff.c -o obj/poweroff.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c -Iinclude/ -I../dev9/include/ -I/tmp/ps2dev/ps2s
dk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -Isrc/
 obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
echo "#include \"irx.h\"" > obj/build-exports.c
cat src/exports.tab >> obj/build-exports.c
iop-gcc -fno-builtin -O2 -G0 -c -Iinclude/ -I../dev9/include/ -I/tmp/ps2dev/ps2s
dk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -Isrc/
 obj/build-exports.c -o obj/exports.o
rm -f obj/build-exports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/poweroff.irx obj/poweroff.
o obj/imports.o obj/exports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/dev9/poweroff'
make -C atad
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/dev9/atad'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/dev9/include  -I/t
mp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclud
e -Wall -fno-builtin src/ps2atad.c -o obj/ps2atad.o
echo "#include \"irx.h\"" > obj/build-exports.c
cat src/exports.tab >> obj/build-exports.c
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/dev9/include  -I/t
mp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclud
e -Wall -fno-builtin -Isrc/ obj/build-exports.c -o obj/exports.o
rm -f obj/build-exports.c
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/dev9/include  -I/t
mp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclud
e -Wall -fno-builtin -Isrc/ obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/ps2atad.irx obj/ps2atad.o
obj/exports.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/dev9/atad'
make[2]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/dev9'
make -C fs
make[2]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs'
make -C devfs
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs/devfs'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin  src/devfs.c -o obj/de
vfs.o
echo "#include \"irx.h\"" > obj/build-exports.c
cat src/exports.tab >> obj/build-exports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin  -Isrc/ obj/build-expo
rts.c -o obj/exports.o
rm -f obj/build-exports.c
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin  -Isrc/ obj/build-impo
rts.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/devfs.irx obj/devfs.o obj/
exports.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs/devfs'
make -C fakehost
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs/fakehost'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin src/fakehost.c -o obj/
fakehost.o
src/fakehost.c: In function `_start':
src/fakehost.c(247) : warning: assignment from incompatible pointer type
src/fakehost.c(248) : warning: assignment from incompatible pointer type
src/fakehost.c(250) : warning: assignment from incompatible pointer type
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin src/nprintf.c -o obj/n
printf.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin -Isrc/ obj/build-impor
ts.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/fakehost.irx obj/fakehost.
o obj/nprintf.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs/fakehost'
make -C filexio
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs/filexio'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin src/fileXio_iop.c -o o
bj/fileXio_iop.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin -Isrc/ obj/build-impor
ts.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/fileXio.irx obj/fileXio_io
p.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs/filexio'
make -C http
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs/http'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/
tmp/ps2dev/ps2sdk/iop/tcpip/dns/include -I/tmp/ps2dev/ps2sdk/iop/kernel/include
-I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin src/ps2http.c -
o obj/ps2http.o
src/ps2http.c(498) : warning: initialization from incompatible pointer type
src/ps2http.c(498) : warning: initialization from incompatible pointer type
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/
tmp/ps2dev/ps2sdk/iop/tcpip/dns/include -I/tmp/ps2dev/ps2sdk/iop/kernel/include
-I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin -Isrc/ obj/buil
d-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/ps2http.irx obj/ps2http.o
obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs/http'
make -C netfs
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/fs/netfs'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/system/iopmgr/include -
I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/tmp/ps2dev/ps2sdk/iop/kernel/incl
ude -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/
ps2netfs.c -o obj/ps2netfs.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/system/iopmgr/include -
I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/tmp/ps2dev/ps2sdk/iop/kernel/incl
ude -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/
ps2_fio.c -o obj/ps2_fio.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/system/iopmgr/include -
I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/tmp/ps2dev/ps2sdk/iop/kernel/incl
ude -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/
devscan.c -o obj/devscan.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/system/iopmgr/include -
I/tmp/ps2dev/ps2sdk/iop/tcpip/tcpip/include -I/tmp/ps2dev/ps2sdk/iop/kernel/incl
ude -I/tmp/ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -Isr
c/ obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s  -o bin/ps2netfs.irx obj/ps2netfs
.o obj/ps2_fio.o obj/devscan.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs/netfs'
make[2]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/fs'
make -C hdd
make[2]: Entering directory `/tmp/ps2dev/ps2sdk/iop/hdd'
make -C apa
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/hdd/apa'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/misc.c -o o
bj/misc.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/cache.c -o
obj/cache.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/apa.c -o ob
j/apa.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/journal.c -
o obj/journal.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/hdd_fio.c -
o obj/hdd_fio.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf src/hdd.c -o ob
j/hdd.o
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/ps2hdd.irx obj/misc.o obj/
cache.o obj/apa.o obj/journal.o obj/hdd_fio.o obj/hdd.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/hdd/apa'
make -C pfs
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/hdd/pfs'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/bitmap.c -o obj/bitmap.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/dir.c -o obj/dir.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/inode.c -o obj/inode.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/journal.c -o obj/journal.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/misc.c -o obj/misc.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/pfs.c -o obj/pfs.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/pfs_fio.c -o obj/pfs_fio.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/super.c -o obj/super.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/cache.c -o obj/cache.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/block.c -o obj/block.o
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf src/pfs_fioctl.c -o obj/pfs_fioctl.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c -I/tmp/ps2dev/ps2sdk/iop/dev9/atad/include -I/tm
p/ps2dev/ps2sdk/iop/kernel/include -I/tmp/ps2dev/ps2sdk/common/include -Iinclude
 -Wall -fno-builtin-printf -Isrc/ obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/ps2fs.irx obj/bitmap.o obj
/dir.o obj/inode.o obj/journal.o obj/misc.o obj/pfs.o obj/pfs_fio.o obj/super.o
obj/cache.o obj/block.o obj/pfs_fioctl.o obj/imports.o -lgcc
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/hdd/pfs'
make[2]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/hdd'
make -C sound
make[2]: Entering directory `/tmp/ps2dev/ps2sdk/iop/sound'
make -C freesd
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/sound/freesd'
mkdir -p obj/
mkdir -p bin/
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy src/freesd.c -o obj/freesd.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy src/batch.c -o obj/batch.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy src/block.c -o obj/block.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy src/effect.c -o obj/effect.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy src/voice.c -o obj/voice.o
echo "#include \"irx.h\"" > obj/build-exports.c
cat src/exports.tab >> obj/build-exports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy -Isrc/ obj/build-exports.c -o obj/exports.o
rm -f obj/build-exports.c
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -fno-builtin-me
mcpy -Isrc/ obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -fno-builtin -nostdlib -s -o bin/freesd.irx obj/freesd.o ob
j/batch.o obj/block.o obj/effect.o obj/voice.o obj/exports.o obj/imports.o
make[3]: Leaving directory `/tmp/ps2dev/ps2sdk/iop/sound/freesd'
make -C ahx
make[3]: Entering directory `/tmp/ps2dev/ps2sdk/iop/sound/ahx'
mkdir -p obj/
mkdir -p bin/
iop-as -march=r3000 -EL -G0  src/hw.s -o obj/hw.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -I/tmp/ps2dev/p
s2sdk/iop/sound/freesd/include/ src/ahx_irx.c -o obj/ahx_irx.o
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -I/tmp/ps2dev/p
s2sdk/iop/sound/freesd/include/ src/spu2.c -o obj/spu2.o
echo "#include \"irx_imports.h\"" > obj/build-imports.c
cat src/imports.lst >> obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -I/tmp/ps2dev/p
s2sdk/iop/sound/freesd/include/ -Isrc/ obj/build-imports.c -o obj/imports.o
rm -f obj/build-imports.c
iop-gcc -fno-builtin -O2 -G0 -c  -I/tmp/ps2dev/ps2sdk/iop/kernel/include -I/tmp/
ps2dev/ps2sdk/common/include -Iinclude -Wall -fno-builtin-printf -I/tmp/ps2dev/p
s2sdk/iop/sound/freesd/include/ src/AHX.c -o obj/AHX.o
src/AHX.c: In function `AHXPlayer_ProcessFrame':
src/AHX.c(976) : internal error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <URL&#58;http&#58;//www.gnu.org/software/gcc/bugs.html> for instructions.
make&#91;3&#93;&#58; *** &#91;obj/AHX.o&#93; Error 1
make&#91;3&#93;&#58; Leaving directory `/tmp/ps2dev/ps2sdk/iop/sound/ahx'
make&#91;2&#93;&#58; *** &#91;all-ahx&#93; Error 2
make&#91;2&#93;&#58; Leaving directory `/tmp/ps2dev/ps2sdk/iop/sound'
make&#91;1&#93;&#58; *** &#91;all-sound&#93; Error 2
make&#91;1&#93;&#58; Leaving directory `/tmp/ps2dev/ps2sdk/iop'
make&#58; *** &#91;all-iop&#93; Error 2
ERROR BUILDING PS2SDK

john@jordans ~/toolchain2
$
User avatar
Lukasz
Posts: 248
Joined: Mon Jan 19, 2004 8:37 pm
Location: Denmark
Contact:

Post by Lukasz »

Unfortunately it is iop-gcc which crashes. As you can seen in the last lines of the ouput, the GCC developers want you to send a bug report.

I can build PS2SDK fine under Linux, so this is probably one of those hard-to-find bugs which are caused by Cygwin.
JorDy
Posts: 121
Joined: Sun Dec 11, 2005 8:45 am

Post by JorDy »

yeah i just quickly commented out that function while it was compiling, just means i cant use sound which doesn't bother me.

thanks anyway
mikesp
Posts: 4
Joined: Thu Jul 08, 2004 3:42 am

Post by mikesp »

I had the same problem. Here is detailed answers how to resolve it.
http://forums.ps2dev.org/viewtopic.php?t=4909
Post Reply