Hi, strange problem compiling

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

Moderators: cheriff, TyRaNiD

Post Reply
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Hi, strange problem compiling

Post by MDave »

Previously I was using a pre-compiled toolchain for deving, but I ran into a strange problem. Wanting to compile the psp quake port, everything went ok. But when I came to playing it on my psp, all the sounds were messed up, like really low quality. I thought it was just quake at first, but then I compiled v2 of quake (the version released with a binary software version) and was I getting the exact same problem, yet the released binary didn't.

So I tried updating the toolchain, and then it stopped on this particular error.
Thinking I should do a fresh install of the toolchain to clear my problem, I'm mistaken. The problem still persists, same error. And it looks like its related to the sound problems I had with a pre-compiled toolchain.

Here's the error.

Code: Select all

psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/base -I../../src/user -I../../sr
c/debug    -g -O2 -G0 -Wall -DF_sceAudio_0019 sceAudio.S -c -o sceAudio_0019.o
rm -f libpspaudio.a
psp-ar cru libpspaudio.a sceAudio.o sceAudio_0000.o sceAudio_0001.o sceAudio_000
2.o sceAudio_0003.o sceAudio_0004.o sceAudio_0005.o sceAudio_0006.o sceAudio_000
7.o sceAudio_0008.o sceAudio_0009.o sceAudio_0010.o sceAudio_0011.o sceAudio_001
2.o sceAudio_0013.o sceAudio_0014.o sceAudio_0015.o sceAudio_0016.o sceAudio_001
7.o sceAudio_0018.o sceAudio_0019.o
psp-ranlib libpspaudio.a
psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/base -I../../src/user -I../../sr
c/debug    -g -O2 -G0 -Wall -MT pspaudiolib.o -MD -MP -MF .deps/pspaudiolib.Tpo
-c -o pspaudiolib.o pspaudiolib.c
pspaudiolib.c:14:20: error: stdlib.h: No such file or directory
pspaudiolib.c:15:20: error: string.h: No such file or directory
In file included from ../../src/user/pspthreadman.h:18,
                 from pspaudiolib.c:16:
psp-gcc -DHAVE_CONFIG_H -I. -I../.. -I../../src/base -I../../src/user -I../../sr
c/debug    -g -O2 -G0 -Wall -MT pspaudiolib.o -MD -MP -MF .deps/pspaudiolib.Tpo
-c -o pspaudiolib.o pspaudiolib.c
pspaudiolib.c:14:20: error: stdlib.h: No such file or directory
pspaudiolib.c:15:20: error: string.h: No such file or directory
In file included from ../../src/user/pspthreadman.h:18,
                 from pspaudiolib.c:16:
../../src/base/psptypes.h:22:20: error: stdint.h: No such file or directory
In file included from ../../src/user/pspthreadman.h:18,
                 from pspaudiolib.c:16:
../../src/base/psptypes.h:40: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u8'
../../src/base/psptypes.h:41: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u16'
../../src/base/psptypes.h:43: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u32'
../../src/base/psptypes.h:44: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u64'
../../src/base/psptypes.h:46: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 's8'
../../src/base/psptypes.h:47: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 's16'
../../src/base/psptypes.h:49: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 's32'
../../src/base/psptypes.h:50: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 's64'
../../src/base/psptypes.h:55: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vu8'
../../src/base/psptypes.h:56: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vu16'
../../src/base/psptypes.h:58: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vu32'
../../src/base/psptypes.h:59: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vu64'
$
te__' before 'vs8'
../../src/base/psptypes.h:62: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vs16'
../../src/base/psptypes.h:64: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vs32'
../../src/base/psptypes.h:65: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'vs64'
../../src/base/psptypes.h:69: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before '_lb'
../../src/base/psptypes.h:70: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before '_lh'
../../src/base/psptypes.h:71: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before '_lw'
../../src/base/psptypes.h:72: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before '_ld'
../../src/base/psptypes.h:74: error: expected ')' before 'val'
../../src/base/psptypes.h:75: error: expected ')' before 'val'
../../src/base/psptypes.h:76: error: expected ')' before 'val'
../../src/base/psptypes.h:77: error: expected ')' before 'val'
../../src/base/psptypes.h:81: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u_short16'
../../src/base/psptypes.h:82: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u_int16'
../../src/base/psptypes.h:83: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u_int32'
../../src/base/psptypes.h:84: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u_int64'
../../src/base/psptypes.h:85: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'u_long64'
../../src/base/psptypes.h:89: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'short16'
../../src/base/psptypes.h:90: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'int16'
../../src/base/psptypes.h:91: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'int32'
../../src/base/psptypes.h:92: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'int64'
../../src/base/psptypes.h:93: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'long64'
../../src/base/psptypes.h:98: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'SceUShort16'
../../src/base/psptypes.h:99: error: expected '=', ',', ';', 'asm' or '__attribu
te__' before 'SceUInt32'
../../src/base/psptypes.h:100: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceUInt64'
../../src/base/psptypes.h:101: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceULong64'
../../src/base/psptypes.h:105: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceShort16'
../../src/base/psptypes.h:106: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceInt32'
../../src/base/psptypes.h:107: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceInt64'
../../src/base/psptypes.h:108: error: expected '=', ',', ';', 'asm' or '__attrib
ute__' before 'SceLong64'
../../src/base/psptypes.h:141: error: expected specifier-qualifier-list before '
SceLong64'
../../src/base/psptypes.h:166: error: expected specifier-qualifier-list before '
SceLong64'
../../src/base/psptypes.h:196: error: expected specifier-qualifier-list before '
SceLong64'
../../src/base/psptypes.h:230: error: expected specifier-qualifier-list before '
SceLong64'
../../src/base/psptypes.h:395: error: expected specifier-qualifier-list before '
SceULong64'
../../src/base/psptypes.h:416: error: expected specifier-qualifier-list before '
SceULong64'
In file included from ../../src/user/pspthreadman.h:19,
                 from pspaudiolib.c:16:
../../src/user/pspkerneltypes.h:36: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'SceOff'
../../src/user/pspkerneltypes.h:37: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'SceIores'
In file included from ../../src/user/pspthreadman.h:21,
                 from pspaudiolib.c:16:
../../src/debug/pspdebug.h:57: error: expected ')' before 'color'
../../src/debug/pspdebug.h:64: error: expected ')' before 'color'
../../src/debug/pspdebug.h:81: error: expected declaration specifiers or '...' b
efore 'u32'
../../src/debug/pspdebug.h:81: error: expected declaration specifiers or '...' b
efore 'u8'
../../src/debug/pspdebug.h:100: error: expected ')' before '*' token
../../src/debug/pspdebug.h:153: error: expected specifier-qualifier-list before
'u32'
../../src/debug/pspdebug.h:213: error: expected declaration specifiers or '...'
before 'u32'
../../src/debug/pspdebug.h:227: error: expected specifier-qualifier-list before
'u32'
../../src/debug/pspdebug.h:249: error: expected ':', ',', ';', '}' or '__attribu
te__' before 'enable'
In file included from pspaudiolib.c:16:
../../src/user/pspthreadman.h:41: error: expected specifier-qualifier-list befor
e 'SceUInt32'
../../src/user/pspthreadman.h:655: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:665: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:676: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:676: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:676: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:688: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:688: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:688: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:700: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:700: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:700: error: expected declaration specifiers or '..
.' before 'u32'
../../src/user/pspthreadman.h:1472: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'sceKernelUSec2SysClockWide'
../../src/user/pspthreadman.h:1494: error: expected ')' before 'clock'
../../src/user/pspthreadman.h:1510: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'sceKernelGetSystemTimeWide'
../../src/user/pspthreadman.h:1559: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'sceKernelGetVTimerBaseWide'
../../src/user/pspthreadman.h:1578: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'sceKernelGetVTimerTimeWide'
../../src/user/pspthreadman.h:1598: error: expected '=', ',', ';', 'asm' or '__a
ttribute__' before 'sceKernelSetVTimerTimeWide'
../../src/user/pspthreadman.h:1619: error: expected declaration specifiers or '.
..' before 'SceInt64'
../../src/user/pspthreadman.h:1619: error: expected declaration specifiers or '.
..' before 'SceInt64'
../../src/user/pspthreadman.h:1643: error: expected declaration specifiers or '.
..' before 'SceInt64'
pspaudiolib.c: In function 'pspAudioInit':
pspaudiolib.c:117: warning: implicit declaration of function 'strcpy'
pspaudiolib.c:117: warning: incompatible implicit declaration of built-in functi
on 'strcpy'
make[3]: *** [pspaudiolib.o] Error 1
make[3]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk/src/audio'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk/src'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk'
make: *** [all] Error 2
../scripts/006-pspsdk-stage2.sh: Failed.
ERROR: Could not run the toolchain script.

Any ideas?
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

pspaudiolib.c:14:20: error: stdlib.h: No such file or directory
pspaudiolib.c:15:20: error: string.h: No such file or directory
Those should be built and installed with newlib. It looks like your toolchain is still either badly out of date or wasn't built properly. You say you rebuilt the toolchain -- are you sure you're not still using the old one by accident?
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Yeah, pretty sure. "svn update" in the psptoolchain directory is the correct command to check and update the toolchain, correct? It looks like it builds newlib ok . Must be a very specific problem to my setup, should I re-install cygwin and do a whole new fresh install? It's only the 6th part of the toolchain that gets me any errors, and it halts on the error posted above.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

MDave wrote:Yeah, pretty sure. "svn update" in the psptoolchain directory is the correct command to check and update the toolchain, correct?
If your working copy is based at the trunk. Use "svn info" to make sure you're not on a branch.
It looks like it builds newlib ok
If /usr/local/pspdev/psp/include/stdlib.h does not exist than newlib was not built correctly.

Also, when I said "are you sure you're not still using the old one" I meant the pre-built toolchain that you downloaded. If that is installed somewhere else and your PATH is pointing there first, it will execute the wrong compiler etc.
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Ok, I've done a clean slate of re-installing cygwin and the toolchain.

It gets pretty far into building the toolchain until it starts getting a few errors, and then it stops.

Heres where it starts getting errors then stops building the toolchain (or its stuck in an infinite loop or something)

Code: Select all


/psp-prxgen.Tpo -c -o psp-prxgen.o psp-prxgen.c
psp-prxgen.c: In function `validate_header':
psp-prxgen.c:191: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:191: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:191: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c:191: warning: unsigned int format, u32 arg (arg 6)
psp-prxgen.c:193: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:193: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:193: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c:193: warning: unsigned int format, u32 arg (arg 6)
psp-prxgen.c:195: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:195: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:195: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c:195: warning: unsigned int format, u32 arg (arg 6)
psp-prxgen.c:196: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:196: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:198: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:198: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:198: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c: In function `load_sections':
psp-prxgen.c:316: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:316: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:316: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c:316: warning: unsigned int format, u32 arg (arg 6)
psp-prxgen.c:319: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:319: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c:319: warning: unsigned int format, u32 arg (arg 5)
psp-prxgen.c:319: warning: unsigned int format, u32 arg (arg 6)
psp-prxgen.c:322: warning: unsigned int format, u32 arg (arg 3)
psp-prxgen.c:322: warning: unsigned int format, u32 arg (arg 4)
psp-prxgen.c: In function `remove_weak_relocs':
psp-prxgen.c:418: warning: int format, Elf32_Word arg (arg 4)
psp-prxgen.c:449: warning: int format, u32 arg (arg 3)
mv -f .deps/psp-prxgen.Tpo .deps/psp-prxgen.Po
gcc  -g -O2 -Wall   -o psp-prxgen.exe psp-prxgen.o getopt_long.o
gcc -DHAVE_CONFIG_H -I. -I..     -g -O2 -Wall -MT psp-fixup-imports.o -MD -MP -M
F .deps/psp-fixup-imports.Tpo -c -o psp-fixup-imports.o psp-fixup-imports.c
psp-fixup-imports.c: In function `validate_header':
psp-fixup-imports.c:180: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:180: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:180: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:180: warning: unsigned int format, u32 arg (arg 6)
psp-fixup-imports.c:182: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:182: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:182: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:182: warning: unsigned int format, u32 arg (arg 6)
psp-fixup-imports.c:184: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:184: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:184: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:184: warning: unsigned int format, u32 arg (arg 6)
psp-fixup-imports.c:185: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:185: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:187: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:187: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:187: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c: In function `load_sections':
psp-fixup-imports.c:311: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:311: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:311: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:311: warning: unsigned int format, u32 arg (arg 6)
psp-fixup-imports.c:314: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:314: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:314: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:314: warning: unsigned int format, u32 arg (arg 6)
psp-fixup-imports.c:317: warning: unsigned int format, u32 arg (arg 3)
psp-fixup-imports.c:317: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c: In function `fixup_imports':
psp-fixup-imports.c:469: warning: unsigned int format, u32 arg (arg 4)
psp-fixup-imports.c:469: warning: unsigned int format, u32 arg (arg 5)
psp-fixup-imports.c:469: warning: unsigned int format, u32 arg (arg 9)
psp-fixup-imports.c:469: warning: unsigned int format, u32 arg (arg 10)
mv -f .deps/psp-fixup-imports.Tpo .deps/psp-fixup-imports.Po
gcc  -g -O2 -Wall   -o psp-fixup-imports.exe psp-fixup-imports.o getopt_long.o

make[2]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk/tools'
make[2]: Entering directory `/home/Dave/psptoolchain/build/pspsdk'
make[2]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk'
make[1]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk'
Making install in src
make[1]: Entering directory `/home/Dave/psptoolchain/build/pspsdk/src'
Making install in atrac3
make[2]: Entering directory `/home/Dave/psptoolchain/build/pspsdk/src/atrac3'
make[3]: Entering directory `/home/Dave/psptoolchain/build/pspsdk/src/atrac3'
test -z "/usr/local/pspdev/psp/sdk/lib" || /usr/bin/mkdir -p "/usr/local/pspdev/
psp/sdk/lib"
 /usr/bin/install -c -m 644 'libpspatrac3.a' '/usr/local/pspdev/psp/sdk/lib/libp
spatrac3.a'
 psp-ranlib '/usr/local/pspdev/psp/sdk/lib/libpspatrac3.a'
test -z "/usr/local/pspdev/psp/sdk/include" || /usr/bin/mkdir -p "/usr/local/psp
dev/psp/sdk/include"
 /usr/bin/install -c -m 644 'pspatrac3.h' '/usr/local/pspdev/psp/sdk/include/psp
atrac3.h'
make[3]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk/src/atrac3'
make[2]: Leaving directory `/home/Dave/psptoolchain/build/pspsdk/src/atrac3'
Making install in audio
make[2]: Entering directory `/home/Dave/psptoolchain/build/pspsdk/src/audio'
make[3]: Entering directory `/home/Dave/psptoolchain/build/pspsdk/src/audio'
test -z "/usr/local/pspdev/psp/sdk/lib" || /usr/bin/mkdir -p "/usr/local/pspdev/
psp/sdk/lib"
 /usr/bin/install -c -m 644 'libpspaudio.a' '/usr/local/pspdev/psp/sdk/lib/libps
paudio.a'
 /usr/bin/install -c -m 644 'libpspaudiolib.a' '/usr/local/pspdev/psp/sdk/lib/li
bpspaudiolib.a'
 /usr/bin/install -c -m 644 'libpspaudiocodec.a' '/usr/local/pspdev/psp/sdk/lib/
libpspaudiocodec.a'
 psp-ranlib '/usr/local/pspdev/psp/sdk/lib/libpspaudio.a'
 psp-ranlib '/usr/local/pspdev/psp/sdk/lib/libpspaudiolib.a'
 psp-ranlib '/usr/local/pspdev/psp/sdk/lib/libpspaudiocodec.a'
And these are the instructions I've followed:

http://tinmanx.com/Windows_PSP_SDK_Guide.html

EDIT: Just noticed somthing peculier, my psptoolchain folder is read-only, as well as my /usr/ directory's! I'll turn that off.

Going to try running the toolchain again ...

EDIT: Ok, it keeps changing the folders to read only. Guess theres no way around that.
jimparis
Posts: 1145
Joined: Fri Jun 10, 2005 4:21 am
Location: Boston

Post by jimparis »

There are no errors in that latest output you posted.
Are you sure it didn't just stop because it was done?
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

I'm pretty sure it stopped, it didn't take me to the bash command prompt and when I closed and opened cygwin again, and attempted to compile quake again, it compiled, but with the same exact sound issues.

I guess its a vista <-> cygwin problem.

I'm currently looking for an alternative development environment though.

Thanks for the help!
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Ok, I'm on XP now, and have setup cygwin and compiled the toolchain.

However, at the end of the compile I get what I think is an error, is this normal?

Code: Select all

make&#91;5&#93;&#58; Entering directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb
/testsuite/gdb.trace'
rm -f actions circ collection limits
rm -f *.o *.diff *~ *.bad core sh3 hppa mn10300
make&#91;5&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite/gdb.trace'
gdb.stabs&#58;
make&#91;5&#93;&#58; Entering directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb
/testsuite/gdb.stabs'
rm -f *.o *~ core tmp.c tmp.s weird.s errs
make&#91;5&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite/gdb.stabs'
make&#91;4&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite'
make&#91;3&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb'

rm -f *.o *.a    *~ init.c-tmp init.l-tmp version.c-tmp
rm -f init.c version.c
rm -f gdb.exe core make.log
rm -f gdb&#91;0-9&#93;.exe
rm -f test-cp-name-parser.exe
make&#91;2&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb'

test ! -d gcc/libgcc || \
        &#40;cd gcc/libgcc && find . -type d -print&#41; | \
        while read d; do rm -f gcc/$d/libgcc.a || &#58; ; done
rm -rf gcc/libgcc
rm -f gcc/stmp-dirs
make&#91;1&#93;&#58; Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp'
rm -f *.a TEMP errs core *.o *~ \#* TAGS *.E *.log

Dave@dave-xp ~/psptoolchain
$

Dave@dave-xp ~/psptoolchain
$
Still getting sound problems with quake. Is it just me?
User avatar
Wally
Posts: 663
Joined: Mon Sep 26, 2005 11:25 am

Post by Wally »

thats no error, thats just tidying up the stuff.

Quake probably needs optimising in some areas. not sure
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Ahh thats a relief.

However, I have doubts about Peter M's quake port having sound issues, as there is no issues with the previous versions, as well as no reported issues to do with sound on the sourceforge project's bugs page. Like I said in my first post, I compiled the older versions of quake and I still get the sound issues :(

Maybe a recent (after what the latest code in the quake svn repository is dated) toolchain update messed up how quake handles the sound?
Hence why I ask if anyone else who has compiled it gets the same problem.

The sound examples that come with the sdk work fine for me btw.
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

There could be issues with Quake's sound that just happen to live peacefully with another version of the SDK.

I'm pretty sure it was broken with an old SDK version, worked with a version from SVN, and I've not updated my toolchain in a while.

I remember thinking that I couldn't see anything wrong with Quake's audio code and that the SDK must have been borked. I could definitely have missed something though.
http://aaiiee.wordpress.com/

I can no longer do any homebrew PSP development nor discuss PSP specific topics.
MDave
Posts: 82
Joined: Mon May 09, 2005 10:43 pm

Post by MDave »

Ahh I see! Thanks for the reply PeterM :)

I'll have a look at the audio code :) sounds tricky though :P
PeterM
Posts: 125
Joined: Sat Dec 31, 2005 7:25 pm
Location: Edinburgh, UK
Contact:

Post by PeterM »

The PSP specific file for Quake's audio isn't too big. You shouldn't need to look at or touch Quake's own audio code.
http://aaiiee.wordpress.com/

I can no longer do any homebrew PSP development nor discuss PSP specific topics.
Post Reply