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 

Hi, strange problem compiling

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



Joined: 09 May 2005
Posts: 84

PostPosted: Sat Jun 30, 2007 10:48 am    Post subject: Hi, strange problem compiling Reply with quote

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:

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?
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sat Jun 30, 2007 3:47 pm    Post subject: Reply with quote

Quote:
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?
Back to top
View user's profile Send private message
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Sun Jul 01, 2007 12:02 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Sun Jul 01, 2007 4:44 pm    Post subject: Reply with quote

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.
Quote:
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.
Back to top
View user's profile Send private message
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Mon Jul 02, 2007 4:30 am    Post subject: Reply with quote

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:


/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.
Back to top
View user's profile Send private message
jimparis



Joined: 10 Jun 2005
Posts: 1179
Location: Boston

PostPosted: Mon Jul 02, 2007 7:15 am    Post subject: Reply with quote

There are no errors in that latest output you posted.
Are you sure it didn't just stop because it was done?
Back to top
View user's profile Send private message
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Mon Jul 02, 2007 7:58 pm    Post subject: Reply with quote

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!
Back to top
View user's profile Send private message
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Thu Jul 05, 2007 2:16 am    Post subject: Reply with quote

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:

make[5]: 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[5]: Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite/gdb.trace'
gdb.stabs:
make[5]: 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[5]: Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite/gdb.stabs'
make[4]: Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb/
testsuite'
make[3]: 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[0-9].exe
rm -f test-cp-name-parser.exe
make[2]: Leaving directory `/home/Dave/psptoolchain/build/gdb-6.4/build-psp/gdb'

test ! -d gcc/libgcc || \
        (cd gcc/libgcc && find . -type d -print) | \
        while read d; do rm -f gcc/$d/libgcc.a || : ; done
rm -rf gcc/libgcc
rm -f gcc/stmp-dirs
make[1]: 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?
Back to top
View user's profile Send private message
Wally



Joined: 26 Sep 2005
Posts: 672

PostPosted: Thu Jul 05, 2007 8:55 pm    Post subject: Reply with quote

thats no error, thats just tidying up the stuff.

Quake probably needs optimising in some areas. not sure
Back to top
View user's profile Send private message AIM Address
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Fri Jul 06, 2007 8:39 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message
PeterM



Joined: 31 Dec 2005
Posts: 125
Location: Edinburgh, UK

PostPosted: Fri Jul 06, 2007 8:49 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
MDave



Joined: 09 May 2005
Posts: 84

PostPosted: Fri Jul 06, 2007 9:13 am    Post subject: Reply with quote

Ahh I see! Thanks for the reply PeterM :)

I'll have a look at the audio code :) sounds tricky though :P
Back to top
View user's profile Send private message
PeterM



Joined: 31 Dec 2005
Posts: 125
Location: Edinburgh, UK

PostPosted: Fri Jul 06, 2007 9:22 am    Post subject: Reply with quote

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.
Back to top
View user's profile Send private message Visit poster's website
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