I've been updating my toolchain, and I downloaded the latest toolchain from oopo.net, but got newlib errors. I then renamed my psptoolchain folder and downloaded it fresh from SVN. Same errors:
newlib/libc/search/db_local.h:209: error: syntax error before 'DB'
newlib/libc/search/hash.h: error: syntax error before 'typedef'
/*leaves directory*/
ERROR BUILDING NEWLIB
Latest revision appears to be 1689. Newlib patch: 1.13.0
Any suggestions?
There shouldn't be any problems there. There's a problem I just fixed elsewhere in rev 1688/1689, but not in newlib; my guess is that your newlib-1.13.0.tar.gz got corrupted somehow while downloading or extracting.
I just rebuilt rev 1690 from scratch and verified that it works OK.