No, it is not. You put a space before "/lib" and you used apostrophes instead of backquotes. Read and follow README.PSP.b00st wrote:jimparis: My command is the same, except I put the whole path to psp-config.
Search found 1145 matches
- Tue Oct 18, 2005 8:25 am
- Forum: PSP Development
- Topic: SDL setup question
- Replies: 24
- Views: 10114
- Tue Oct 18, 2005 4:19 am
- Forum: PSP Development
- Topic: SDL setup question
- Replies: 24
- Views: 10114
I don't know where you got that command, but it's wrong. Use the one in README.PSP:
Code: Select all
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser -lpsputility" ./configure --host psp --prefix=`psp-config --psp-prefix`
- Mon Oct 17, 2005 5:30 pm
- Forum: PSP Development
- Topic: SDL setup question
- Replies: 24
- Views: 10114
- Sun Oct 16, 2005 5:19 pm
- Forum: PSP Development
- Topic: libc opendir freezes PSP
- Replies: 7
- Views: 4807
I still say that there's no possible difference between calloc() and malloc() because the only variable in the DIR structure gets overwritten immediately anyway. If you can provide a small compilable example I'll check it out, but I suspect your problem is hidden elsewhere and is just being triggere...
- Sun Oct 16, 2005 11:40 am
- Forum: PSP Development
- Topic: Home button and backlight timeout in user mode
- Replies: 1
- Views: 965
- Sun Oct 16, 2005 7:43 am
- Forum: PSP Development
- Topic: libc opendir freezes PSP
- Replies: 7
- Views: 4807
Re: libc opendir freezes PSP
It seems that memory that is allocated for DIR structure in opendir() should be initialized to zero, as current implementation causes PSP to freeze. Do you have an example? It's working fine here. The DIR structure only contains a single element anyway, which clearly gets set in the very next line,...
- Sun Oct 16, 2005 4:29 am
- Forum: PSP Development
- Topic: errno & libc
- Replies: 4
- Views: 3116
Re: errno & libc
I'd rather see something without a lookup: static int psp_set_errno(int code) { if (code & 0x80010000) { errno = code & 0xFFFF; return -1; } return code; } and then modify our newlib errno.h to use errno codes that match up ...
- Fri Oct 14, 2005 6:57 pm
- Forum: PSP Development
- Topic: Checking libz using standard configure
- Replies: 2
- Views: 1059
- Thu Oct 13, 2005 4:31 pm
- Forum: PSP Development
- Topic: PSP GDB
- Replies: 19
- Views: 13415
- Thu Oct 13, 2005 4:06 pm
- Forum: PSP Development
- Topic: PSP GDB
- Replies: 19
- Views: 13415
- Thu Oct 13, 2005 8:26 am
- Forum: PSP Development
- Topic: PSP to PSP communication via serial connection
- Replies: 3
- Views: 1678
- Wed Oct 12, 2005 12:13 pm
- Forum: PSP Development
- Topic: PSP to PSP communication via serial connection
- Replies: 3
- Views: 1678
Yeah, just connect pin 3 (orange) on each PSP to pin 6 (grey) on the other (using the numbering here).
- Wed Oct 12, 2005 12:10 pm
- Forum: PSP Development
- Topic: PSP cache HOWTO/FAQ
- Replies: 10
- Views: 3153
I haven't used the GE; obviously this wouldn't work if there's a case where you're changing the data as the GE reads it. Well, that would be inherently buggy code anyway. Concurrent memory access can surely work if you're careful (think Dekker's algorithm), and this might be useful for future work ...
- Wed Oct 12, 2005 8:50 am
- Forum: PSP Development
- Topic: PSP cache HOWTO/FAQ
- Replies: 10
- Views: 3153
- Wed Oct 12, 2005 4:03 am
- Forum: PSP Development
- Topic: Error Compiling SDL_Image
- Replies: 2
- Views: 1309
- Sun Oct 09, 2005 5:28 am
- Forum: PSP Development
- Topic: GU library?
- Replies: 12
- Views: 2943
I have no idea what your code or build process looks like, but it appears you're not linking against the right libraries. You need -lpsuser and -lpsputility at least. See the build.mak in pspsdk.
Or just start with samples that actually work:
Or just start with samples that actually work:
Code: Select all
cd /usr/local/pspdev/psp/sdk/samples/gu/cube/
make
- Sun Oct 09, 2005 5:00 am
- Forum: PSP Development
- Topic: GU library?
- Replies: 12
- Views: 2943
- Sun Oct 09, 2005 4:32 am
- Forum: PSP Development
- Topic: GU library?
- Replies: 12
- Views: 2943
- Sun Oct 09, 2005 3:59 am
- Forum: PSP Development
- Topic: GU library?
- Replies: 12
- Views: 2943
- Sun Oct 09, 2005 1:55 am
- Forum: PSP Development
- Topic: A subversion directory organization question
- Replies: 1
- Views: 1023
That'll work. See https://jim.sh/svn/jim/vendor/vendor.txt
- Sat Oct 08, 2005 5:30 pm
- Forum: PSP Development
- Topic: ld crashes while linking libcairo
- Replies: 7
- Views: 4878
- Fri Oct 07, 2005 6:55 pm
- Forum: PSP Development
- Topic: SDL Install Tip.. (error fix tip)
- Replies: 3
- Views: 1478
Re: SDL Install Tip.. (error fix tip)
careful) 1) -lpsplibc <-- this is added by AmesianX..(hoho..) why? when you compile SDL library, occur errors because psplibc.. No, this is wrong. -lpsplibc and -lc never go together. The instructions in README.PSP are correct; I just tested them again. Your problem is probably because you need to ...
- Fri Oct 07, 2005 6:33 am
- Forum: PSP Development
- Topic: Problem: installing Toolchain under Linux
- Replies: 6
- Views: 5324
Make sure you're using a recent autoconf and automake. For Debian, something like
Probably similar for Ubuntu.
Code: Select all
apt-get install automake1.9
update-alternatives --set automake /usr/bin/automake-1.9
- Thu Oct 06, 2005 7:45 pm
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 6472
- Thu Oct 06, 2005 8:31 am
- Forum: PSP Development
- Topic: Need help with textures
- Replies: 8
- Views: 2644
CPUs have a small cache of fast on-board memory that is used to avoid accessing slower main memory when possible. The CPU takes care of writing that cache back to main memory at some unknown later time. The GU doesn't know about this cache and accesses the main memory directly, so anytime you want t...
- Thu Oct 06, 2005 7:57 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 6472
I suggest we just get rid of the sce_fd and sceKernelStdin(), sceKernelStdout(), and sceKernelStderr() stuff completely. Those functions just return 0, 1, and 2 anyway, even if something like pspDebugInstallStderrHandler() has been called. You should get access.. every one of your patches has looked...
- Thu Oct 06, 2005 7:33 am
- Forum: PSP Development
- Topic: Need help with textures
- Replies: 8
- Views: 2644
- Thu Oct 06, 2005 6:59 am
- Forum: PSP Development
- Topic: Need help with textures
- Replies: 8
- Views: 2644
- Thu Oct 06, 2005 6:30 am
- Forum: PSP Development
- Topic: Need help with textures
- Replies: 8
- Views: 2644
Re: Need help with textures
Flush the data cache. sceKernelDcacheWritebackAll()bumper wrote:1) Any idea about my corrupted texture (black lines) ?
Yes.2) Another question not related to the previous one, can I use malloc and free with the PSPSDK ?
- Thu Oct 06, 2005 6:08 am
- Forum: PSP Development
- Topic: newlib open(...) fix.
- Replies: 15
- Views: 6472