Project : PSPDEV Compiler : devkitPSP (called directly) Directory : D:\ -------------------------------------------------------------------------------- Switching to target: default Compiling: hello.c hello.c:57:2: warning: no newline at end of file Linking console executable: .\temp.elf d:\devkitpro\devkitpsp\bin\..\lib\gcc\psp\4.1.2\..\..\..\..\psp\bin\ld.exe: D:\devkitPro\devkitPSP\psp\lib: No such file: Permission denied collect2: ld returned 1 exit status Process terminated with status 1 (0 minutes, 0 seconds) 0 errors, 1 warnings
他に、Build MessagesにはLine 57、Warning:no newline at end of file が表示されました。
ttp://foo-bar-web.hp.infoseek.co.jp/pspide.html ここ参考にしてやってて、>>220みたいに全角にしてエラー吐いてたから、半角に書きなおしたんだけど、 devkitPro/devkitPSP/psp/sdk/lib/prxspecs: No such file or directory devkitPro/devkitPSP/psp/sdk/lib/linkfile.prx: No such file or directory ってなって、なぜかprxspecsとlinkfile.prxが無いってエラーだけ吐き続ける・・・なにが悪いのか・・
ttp://sourceforge.net/mailarchive/message.php?msg_name=47A3EDB0.4060304%40ntlworld.com >I do have a test build of a new devkitPSP that's gone out to some >testers which seems to be working so far. I've just had a request to >update the gcc patches with the preferred_stack_boundary option so I'm >hoping to get that done & roll a new release in the next couple of weeks.
/usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libc.a(setsockopt.o): In function `setsockopt': ../../../../../../newlib/libc/sys/psp/socket.c:293: undefined reference to `sceNetInetSetsockopt' ../../../../../../newlib/libc/sys/psp/socket.c:296: undefined reference to `sceNetInetGetErrno' /usr/local/pspdev/lib/gcc/psp/4.1.0/../../../../psp/lib/libc.a(setsockopt.o): In function `getsockopt': ../../../../../../newlib/libc/sys/psp/socket.c:167: undefined reference to `sceNetInetGetsockopt' ../../../../../../newlib/libc/sys/psp/socket.c:170: undefined reference to `sceNetInetGetErrno' collect2: ld はステータス 1 で終了しました make: *** [bzip2] エラー 1
Media Engineの方は>>398の言う通り1つのチップにメモリ含め統合されてると思った。 ttp://techon.nikkeibp.co.jp/article/NEWS/20070913/139102/ ttp://pocketnews.cocolog-nifty.com/pkns/2007/09/blogpsp2000_a96c.html
Project : Test Compiler : devkitPSP (called directly) Directory : C:\devkitPro\work\ -------------------------------------------------------------------------------- Switching to target: default Compiling: ..\SDL\src\SDL.c ..\SDL\src\SDL.c:35:17: error: SDL.h: No such file or directory ..\SDL\src\SDL.c:36:24: error: SDL_endian.h: No such file or directory ..\SDL\src\SDL.c:39:23: error: SDL_leaks.h: No such file or directory ..\SDL\src\SDL.c:58: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'version' ..\SDL\src\SDL.c:62: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SDL_initialized' ..\SDL\src\SDL.c:63: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'ticks_started' ..\SDL\src\SDL.c:69: error: expected ')' before 'flags' ..\SDL\src\SDL.c:154: error: expected ')' before 'flags' ..\SDL\src\SDL.c:177: error: expected ')' before 'flags' ..\SDL\src\SDL.c:212: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'SDL_WasInit' ..\SDL\src\SDL.c: In function 'SDL_Quit': ..\SDL\src\SDL.c:223: warning: implicit declaration of function 'SDL_QuitSubSystem' ..\SDL\src\SDL.c:223: error: 'SDL_INIT_EVERYTHING' undeclared (first use in this function) ..\SDL\src\SDL.c:223: error: (Each undeclared identifier is reported only once ..\SDL\src\SDL.c:223: error: for each function it appears in.) ..\SDL\src\SDL.c: At top level: ..\SDL\src\SDL.c:242: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token Process terminated with status 1 (0 minutes, 5 seconds) 14 errors, 1 warnings
cd builds/unix; ./configure --host psp --prefix=/usr/local/pspdev/psp configure: WARNING: If you wanted to set the --build type, don't use --host. If a cross compiler is detected then cross compile mode will be used. checking build system type... /bin/sh: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one make: *** [builds/unix/unix-def.mk] Error 1
/** * Structure to hold the parameters for a message dialog **/ typedef struct _SceUtilityMsgDialogParams { pspUtilityDialogCommon base; int unknown; pspUtilityMsgDialogMode mode; unsigned int errorValue; /** The message to display (may contain embedded linefeeds) */ char message[512];
int options; /* OR ::pspUtilityMsgDialogOption together for multiple options */ pspUtilityMsgDialogPressed buttonPressed;
>>628 すみません、うまくいきません pspdialogsのソースを参考に組んでいるのですが、その中のOSK_HELPER構造体に typedef struct { unsigned short *title; /* Title of the OSK */ unsigned short *pretext; /* Text at startup */ u16 textlength; /* Size of textarray */ u16 textlimit; /* Limit for entering text */ unsigned short text[128]; /* After OSK is called the entered text will be here */ u16 lines; /* Textbox lines*/ pspUtilityMsgDialogPressed buttonPressed; }OSK_HELPER; のようにpspUtilityMsgDialogPressed buttonPressed;を追加して確認できるようにしました。 pspShowOSKというOSKを表示させるための設定+表示がある関数で pspUtilityMsgDialogParams dialog; SceSize dialog_size = sizeof(dialog); memset(&dialog, 0, dialog_size); を追加し、OSK_HELPERで定義した変数(oskhelper)にOSKの動作が終わった後で oskhelper -> buttonPressed = dialog.buttonPressed; として状態を入れ、それを条件に使ったのですが、あっていますか?
>>638 typedef struct _SceUtilityOskData { int unk_00; int unk_04; int language; int unk_12; int unk_16; int lines; int unk_24; unsigned short* desc; unsigned short* intext; int outtextlength; unsigned short* outtext; int rc; int outtextlimit; } SceUtilityOskData;
/** * **/ typedef struct _SceUtilityOskParams { pspUtilityDialogCommon base; int unk_48; // set 1, if 0 nothing happens, if 2 crash ... SceUtilityOskData* data; int unk_56; int unk_60; } SceUtilityOskParams;
http://pspnfo.orz.hm/index.php?Development#tee41fa4 Q.SDLがインストールできないんだけど?にある WANT_AUTOMAKE=1.9 ./autogen.sh を入力すると bash: ./autogen.sh: No such file or directory となる export WANT_AUTOMAKE=1.9 ./autogen.sh と入力すると bash: export: `./autogen.sh': not a valid identifier となる
export WANT_AUTOMAKE=1.9 とすれば環境変数には入ってるけど sh setup.sh を行うと先ほどのエラーパターンにはまる。 でログをautomakeで検索すると1.4がでてくる。