 |
forums.ps2dev.org Homebrew PS2, PSP & PS3 Development Discussions
|
| View previous topic :: View next topic |
| Author |
Message |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Sat Aug 16, 2008 9:05 pm Post subject: Toolchain on ubuntu 8.04 |
|
|
W funkcji `gdb_setup_readline,:
w pp_base_format, w pliku pretty-print.c:529
Proszę przesłać pełny raport o błędzie,
wraz z preprocesowanym zródłem, jeśli to odpowiednie.
Po więcej informacji zobacz <URL:http://gcc.gnu.org/bugs.html>.
For Debian GNU/Linux specific bug reporting instructions,
see <URL:file:///usr/share/doc/gcc-4.2/README.Bugs>.
make[2]: *** [event-top.o] Błąd 1
make[2]: *** Oczekiwanie na niezakończone zadania....
make[2]: Opuszczenie katalogu `/home/daniel/psptoolchain/build/gdb-6.4/build-psp/gdb'
make[1]: *** [all-gdb] Błąd 2
make[1]: Opuszczenie katalogu `/home/daniel/psptoolchain/build/gdb-6.4/build-psp'
make: *** [all] Błąd 2
../scripts/007-gdb-6.4.sh: Failed.
ERROR: Could not run the toolchain script.
root@daniel-desktop:/home/daniel/psptoolchain#
So, any help ? OS Ubuntu 8.04 |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sat Aug 16, 2008 11:04 pm Post subject: |
|
|
It just failed on the GDB step (which is one of the last and optional anyway). So you should be able to develop and compile already.
If you require a working GDB installation for debugging, you'd have to manually try to install and compile it (see the /scripts/007-gdb-6.4.sh shell script for steps to do).
Also, if you want PSPLINK you should run /scripts/009-psplinkusb.sh manually too (or just type in "./toolchain.sh 9" in the shell). _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Sat Aug 16, 2008 11:10 pm Post subject: |
|
|
OK thanks, anyway i have problems with -lpng flag
nevermind, downloaded psplibraries
Last edited by fiorello on Sat Aug 16, 2008 11:35 pm; edited 1 time in total |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
|
| Back to top |
|
 |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Sat Aug 16, 2008 11:51 pm Post subject: |
|
|
| Code: | daniel@daniel-desktop:~/psplinkusb/tools/remotejoy/pcsdl$ make
make: sdl-config: Polecenie nie znalezione
cc -O2 -Wall -g -c -o remotejoy.o remotejoy.c
remotejoy.c:28:17: error: SDL.h: No such file or directory
remotejoy.c:29:24: error: SDL_thread.h: No such file or directory
remotejoy.c:209: błąd: expected `), before `*, token
remotejoy.c:372: błąd: expected `), before `*, token
remotejoy.c: W funkcji `post_event,:
remotejoy.c:532: błąd: `SDL_Event, undeclared (first use in this function)
remotejoy.c:532: błąd: (Each undeclared identifier is reported only once
remotejoy.c:532: błąd: for each function it appears in.)
remotejoy.c:532: błąd: expected `;, before `event,
remotejoy.c:534: błąd: `event, undeclared (first use in this function)
remotejoy.c:534: błąd: `SDL_USEREVENT, undeclared (first use in this function)
remotejoy.c:539: ostrzeżenie: niejawna deklaracja funkcji `SDL_PushEvent,
remotejoy.c: Na najwyższym poziomie:
remotejoy.c:551: błąd: expected `), before `*, token
remotejoy.c:712: błąd: expected `=,, `,,, `;,, `asm, or `__attribute__, before `*, token
remotejoy.c:768: błąd: expected `), before `*, token
remotejoy.c: W funkcji `mainloop,:
remotejoy.c:801: błąd: `SDL_Joystick, undeclared (first use in this function)
remotejoy.c:801: błąd: `stick, undeclared (first use in this function)
remotejoy.c:802: błąd: `SDL_Surface, undeclared (first use in this function)
remotejoy.c:802: błąd: `screen, undeclared (first use in this function)
remotejoy.c:803: błąd: `buf1, undeclared (first use in this function)
remotejoy.c:804: błąd: `buf2, undeclared (first use in this function)
remotejoy.c:805: błąd: `SDL_Thread, undeclared (first use in this function)
remotejoy.c:805: błąd: `thread, undeclared (first use in this function)
remotejoy.c:811: błąd: `SDL_HWSURFACE, undeclared (first use in this function)
remotejoy.c:817: błąd: `SDL_FULLSCREEN, undeclared (first use in this function)
remotejoy.c:839: ostrzeżenie: niejawna deklaracja funkcji `SDL_Init,
remotejoy.c:839: błąd: `SDL_INIT_VIDEO, undeclared (first use in this function)
remotejoy.c:839: błąd: `SDL_INIT_JOYSTICK, undeclared (first use in this function)
remotejoy.c:853: ostrzeżenie: niejawna deklaracja funkcji `SDL_SetVideoMode,
remotejoy.c:860: ostrzeżenie: niejawna deklaracja funkcji `SDL_ShowCursor,
remotejoy.c:860: błąd: `SDL_DISABLE, undeclared (first use in this function)
remotejoy.c:863: ostrzeżenie: niejawna deklaracja funkcji `create_surface,
remotejoy.c:875: ostrzeżenie: niejawna deklaracja funkcji `SDL_WM_SetCaption,
remotejoy.c:879: ostrzeżenie: niejawna deklaracja funkcji `SDL_NumJoysticks,
remotejoy.c:881: ostrzeżenie: niejawna deklaracja funkcji `SDL_JoystickOpen,
remotejoy.c:887: ostrzeżenie: niejawna deklaracja funkcji `get_joyinfo,
remotejoy.c:910: ostrzeżenie: niejawna deklaracja funkcji `SDL_CreateThread,
remotejoy.c:918: błąd: `SDL_Event, undeclared (first use in this function)
remotejoy.c:918: błąd: expected `;, before `event,
remotejoy.c:920: ostrzeżenie: niejawna deklaracja funkcji `SDL_WaitEvent,
remotejoy.c:920: błąd: `event, undeclared (first use in this function)
remotejoy.c:925: błąd: `SDL_VIDEORESIZE, undeclared (first use in this function)
remotejoy.c:927: ostrzeżenie: niejawna deklaracja funkcji `SDL_FreeSurface,
remotejoy.c:933: błąd: `SDL_USEREVENT, undeclared (first use in this function)
remotejoy.c:952: ostrzeżenie: niejawna deklaracja funkcji `SDL_BlitSurface,
remotejoy.c:955: ostrzeżenie: niejawna deklaracja funkcji `update_fps,
remotejoy.c:957: ostrzeżenie: niejawna deklaracja funkcji `SDL_UpdateRect,
remotejoy.c:979: błąd: `SDL_KEYDOWN, undeclared (first use in this function)
remotejoy.c:979: błąd: `SDL_KEYUP, undeclared (first use in this function)
remotejoy.c:982: błąd: `SDL_KeyboardEvent, undeclared (first use in this function)
remotejoy.c:982: błąd: `key, undeclared (first use in this function)
remotejoy.c:982: błąd: expected expression before `), token
remotejoy.c:984: błąd: `SDLK_ESCAPE, undeclared (first use in this function)
remotejoy.c:989: błąd: `SDLK_F8, undeclared (first use in this function)
remotejoy.c:993: ostrzeżenie: niejawna deklaracja funkcji `SDL_WM_ToggleFullScreen,
remotejoy.c:999: błąd: `SDLK_F3, undeclared (first use in this function)
remotejoy.c:1014: błąd: `SDLK_F4, undeclared (first use in this function)
remotejoy.c:1041: błąd: `SDLK_F5, undeclared (first use in this function)
remotejoy.c:1068: błąd: `SDLK_F9, undeclared (first use in this function)
remotejoy.c:1076: błąd: `SDLK_F10, undeclared (first use in this function)
remotejoy.c:1080: ostrzeżenie: niejawna deklaracja funkcji `save_screenshot,
remotejoy.c:1086: błąd: `SDLK_LEFT, undeclared (first use in this function)
remotejoy.c:1088: błąd: `SDLK_RIGHT, undeclared (first use in this function)
remotejoy.c:1090: błąd: `SDLK_UP, undeclared (first use in this function)
remotejoy.c:1092: błąd: `SDLK_DOWN, undeclared (first use in this function)
remotejoy.c:1094: błąd: `SDLK_a, undeclared (first use in this function)
remotejoy.c:1096: błąd: `SDLK_s, undeclared (first use in this function)
remotejoy.c:1098: błąd: `SDLK_z, undeclared (first use in this function)
remotejoy.c:1100: błąd: `SDLK_x, undeclared (first use in this function)
remotejoy.c:1102: błąd: `SDLK_q, undeclared (first use in this function)
remotejoy.c:1104: błąd: `SDLK_w, undeclared (first use in this function)
remotejoy.c:1106: błąd: `SDLK_RETURN, undeclared (first use in this function)
remotejoy.c:1108: błąd: `SDLK_SPACE, undeclared (first use in this function)
remotejoy.c:1110: błąd: `SDLK_y, undeclared (first use in this function)
remotejoy.c:1112: błąd: `SDLK_u, undeclared (first use in this function)
remotejoy.c:1114: błąd: `SDLK_i, undeclared (first use in this function)
remotejoy.c:1116: błąd: `SDLK_o, undeclared (first use in this function)
remotejoy.c:1118: błąd: `SDLK_p, undeclared (first use in this function)
remotejoy.c:1141: błąd: `SDL_QUIT, undeclared (first use in this function)
remotejoy.c:1146: błąd: `SDL_JOYBUTTONDOWN, undeclared (first use in this function)
remotejoy.c:1146: błąd: `SDL_JOYBUTTONUP, undeclared (first use in this function)
remotejoy.c:1172: błąd: `SDL_JOYAXISMOTION, undeclared (first use in this function)
remotejoy.c:1302: ostrzeżenie: niejawna deklaracja funkcji `SDL_JoystickClose,
remotejoy.c:1319: ostrzeżenie: niejawna deklaracja funkcji `SDL_KillThread,
remotejoy.c:1324: ostrzeżenie: niejawna deklaracja funkcji `SDL_Quit,
|
- wneh i try to compile pcsdl in remotejoy folder |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sun Aug 17, 2008 12:06 am Post subject: |
|
|
Again a optional component. Remotejoy is a tool that allows you to output the PSPs display on your PC monitor through USB connection. If you don't need this tool you can just ignore those errors. If you want it, install SDL sources for PC on your ubuntu box. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Sun Aug 17, 2008 12:13 am Post subject: |
|
|
| How do i do this ? i tried to copy sdl.h and sdl_xxxx.h files into sdk/include folder but it gave me nothing. Is there any magical way ? |
|
| Back to top |
|
 |
Raphael

Joined: 17 Jan 2006 Posts: 646 Location: Germany
|
Posted: Sun Aug 17, 2008 1:47 am Post subject: |
|
|
remotejoy requires the PC SDL libraries not the PSP port, as it's a pc host application.
http://ubuntuforums.org/showthread.php?t=136765
| Quote: |
sudo apt-get install libsdl1.2-dev libsdl1.2debian
|
I don't know if that's correct or the latest version really as I don't have an UBUNTU (or other LINUX) environment around atm. _________________ <Don't push the river, it flows.>
http://wordpress.fx-world.org - my devblog
http://wiki.fx-world.org - VFPU documentation wiki
Alexander Berl |
|
| Back to top |
|
 |
DairyKing
Joined: 28 Jun 2008 Posts: 13
|
Posted: Sun Aug 17, 2008 5:54 am Post subject: |
|
|
Did you run the 'toolchain.sh' or 'sudo toolchain-sudo.sh'?
On Ubuntu, should be the latter, if still doesnt work, try to go to the individual directories and manually 'make'. |
|
| Back to top |
|
 |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Sun Aug 17, 2008 6:54 am Post subject: |
|
|
| OK, i sucessfully set up evrything, but now i have question. What IDE to use so i can build my project, then app is copied to my ms0 and command is send to pspsh to start my game. ? I dont care what IDE, i just care how easily i can set it up. |
|
| Back to top |
|
 |
fiorello
Joined: 21 Jun 2008 Posts: 14
|
Posted: Mon Aug 18, 2008 6:14 am Post subject: |
|
|
| very sorry for double posting but i need script that will mount drive 0 as ../../psp/psprpg, in pspsh cd to host0 and then it will execute main.prx/EBOOT.pbp from this folder. |
|
| Back to top |
|
 |
|
|
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
|