| View previous topic :: View next topic |
| Author |
Message |
wankel
Joined: 18 Oct 2009 Posts: 17
|
Posted: Mon Nov 16, 2009 8:28 am Post subject: |
|
|
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 |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Mon Nov 16, 2009 12:34 pm Post subject: |
|
|
| nope not yet been really really busy with stuff |
|
| Back to top |
|
 |
wankel
Joined: 18 Oct 2009 Posts: 17
|
Posted: Wed Dec 09, 2009 10:19 am Post subject: |
|
|
| lets keep this going people :) |
|
| Back to top |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Thu Dec 10, 2009 10:00 am Post subject: |
|
|
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 |
|
 |
coolkehon
Joined: 20 Oct 2008 Posts: 355
|
Posted: Fri Dec 11, 2009 8:59 am Post subject: |
|
|
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 |
|
 |
|