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 

Help re-porting uClinux to the psp
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development
View previous topic :: View next topic  
Author Message
wankel



Joined: 18 Oct 2009
Posts: 17

PostPosted: Mon Nov 16, 2009 8:28 am    Post subject: Reply with quote

Just got a chance to work on this. I succesfully patched it, and placed the config file. In the last step where I install it is where Im running into trouble. I think its an issue with my paths since it cant find a lot of the libraries:

Code:
applets/applets.c:15:20: error: assert.h: No such file or directory
In file included from include/libbb.h:13,
                 from include/busybox.h:10,
                 from applets/applets.c:16:
include/platform.h:102:23: error: byteswap.h: No such file or directory
include/platform.h:103:21: error: endian.h: No such file or directory
include/platform.h:135:24: error: arpa/inet.h: No such file or directory
include/platform.h:301:23: error: sys/mount.h: No such file or directory
In file included from include/busybox.h:10,
                 from applets/applets.c:16:
include/libbb.h:15:19: error: ctype.h: No such file or directory
include/libbb.h:16:20: error: dirent.h: No such file or directory
include/libbb.h:17:19: error: errno.h: No such file or directory
include/libbb.h:18:19: error: fcntl.h: No such file or directory
include/libbb.h:19:22: error: inttypes.h: No such file or directory
include/libbb.h:20:20: error: mntent.h: No such file or directory
include/libbb.h:21:19: error: netdb.h: No such file or directory
include/libbb.h:22:20: error: setjmp.h: No such file or directory
include/libbb.h:23:20: error: signal.h: No such file or directory
include/libbb.h:24:19: error: stdio.h: No such file or directory
include/libbb.h:25:20: error: stdlib.h: No such file or directory
include/libbb.h:28:20: error: string.h: No such file or directory
include/libbb.h:30:23: error: sys/ioctl.h: No such file or directory
include/libbb.h:31:22: error: sys/mman.h: No such file or directory
include/libbb.h:32:24: error: sys/socket.h: No such file or directory
include/libbb.h:33:22: error: sys/stat.h: No such file or directory
include/libbb.h:34:24: error: sys/statfs.h: No such file or directory
include/libbb.h:35:22: error: sys/time.h: No such file or directory
include/libbb.h:36:23: error: sys/types.h: No such file or directory
include/libbb.h:37:22: error: sys/wait.h: No such file or directory
include/libbb.h:38:21: error: termios.h: No such file or directory
include/libbb.h:39:18: error: time.h: No such file or directory
include/libbb.h:40:20: error: unistd.h: No such file or directory
include/libbb.h:41:19: error: utime.h: No such file or directory


have you had a chance to look into this?
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Mon Nov 16, 2009 12:34 pm    Post subject: Reply with quote

nope not yet been really really busy with stuff
Back to top
View user's profile Send private message MSN Messenger
wankel



Joined: 18 Oct 2009
Posts: 17

PostPosted: Wed Dec 09, 2009 10:19 am    Post subject: Reply with quote

lets keep this going people :)
Back to top
View user's profile Send private message
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Thu Dec 10, 2009 10:00 am    Post subject: Reply with quote

i plan on doing so. I'm learning more about linux as I go. I'll update this when I make updates. just give me awhile ;)

edit:
fixed some missed grammer stuff :)
also does anyone have any apps already built that runs on uclinux psp that i could use.
just discovered vi was in busybox :P now i've got a text editor
Back to top
View user's profile Send private message MSN Messenger
coolkehon



Joined: 20 Oct 2008
Posts: 355

PostPosted: Fri Dec 11, 2009 8:59 am    Post subject: Reply with quote

I tried the pre-built toolchain on 32bit linux-mint Helena and copied the crto.o and other files like you said in your post earlier and got it to compile a simple hello world. Tried it and the command line arguments work now.

if I include <iostream> then it won't compile but <string> works and <cstdio> does too. hopefully I can get some apps to work that will make uclinux on the psp useful

edit:
if you have any ideas on how i can modify the uclinux kernel img to run a script on startup or edit the inittab etc please let me know
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PSP Development All times are GMT + 10 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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