QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 1318|回复: 5

44b0跑uclinux求助

[复制链接]
发表于 2005-4-11 21:07:19 | 显示全部楼层 |阅读模式
编译完成之后,用skyeye模拟只能启动这里

Starting program: /root/uClinux-dist/linux-2.6.x/linux

Linux version 2.6.9-hsc0 (root@MagicLinux) (gcc version 3.4.3) #4 Mon Apr 11 19:04:04 EDT 2005

CPU: Samsung-S3C44B0x [44b07700] revision 0 (ARMv4T)

Machine: S3C44B0X Development Board

Built 1 zonelists

Kernel command line:

PID hash table entries: 64 (order: 6, 1024 bytes)

Console: colour dummy device 80x30

Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)

Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)

Memory: 8MB = 8MB total

Memory: 6700KB available (1093K code, 226K data, 56K init)



到这就死在这了,请问各位大大这个为何呢?
发表于 2005-4-11 21:40:21 | 显示全部楼层
Kernel command line: ????
回复

使用道具 举报

 楼主| 发表于 2005-4-11 21:49:04 | 显示全部楼层
忘加了!不过加上以后也是一样阿!
Starting program: /root/uClinux-dist/linux-2.6.x/linux
Linux version 2.6.9-hsc0 (root@MagicLinux) (gcc version 3.4.3) #5 Mon Apr 11 21:45:04 EDT 2005
CPU: Samsung-S3C44B0x [44b07700] revision 0 (ARMv4T)
Machine: S3C44B0X Development Board
Built 1 zonelists
Kernel command line: root=/dev/rom0
PID hash table entries: 64 (order: 6, 1024 bytes)
Console: colour dummy device 80x30
Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
Memory: 8MB = 8MB total
Memory: 6700KB available (1093K code, 226K data, 56K init)
回复

使用道具 举报

 楼主| 发表于 2005-4-11 21:51:28 | 显示全部楼层
还有就是我用arm-uclinux-elf-tools-base-gcc3.4.3-20050221编译
在编译user/init的时候会有如下错误要怎么解决呢?
make[2]: Entering directory `/root/uClinux-dist/user/init'
/usr/local/arm-uclinux-tools/bin/arm-uclinux-elf-gcc  -Os                     -g -fomit-frame-pointer   -Dlinux -D__linux__ -Dunix -D__uClinux__ -DEMBED -nostdinc -I/root/uClinux-dist/include -I/root/uClinux-dist/include/include -fno-builtin -nostartfiles -D__PIC__ -fpic -msingle-pic-base -DCONSOLE_BAUD_RATE=9600   -c -o simpleinit.o simpleinit.c
In file included from /root/uClinux-dist/include/sys/types.h:30,
                 from simpleinit.c:10:
/root/uClinux-dist/include/bits/types.h:29:20: stddef.h: No such file or directory
In file included from /root/uClinux-dist/include/bits/types.h:144,
                 from /root/uClinux-dist/include/sys/types.h:30,
                 from simpleinit.c:10:
/root/uClinux-dist/include/bits/pthreadtypes.h:48: error: parse error before "size_t"
/root/uClinux-dist/include/bits/pthreadtypes.h:48: warning: no semicolon at end of struct or union
/root/uClinux-dist/include/bits/pthreadtypes.h:51: error: parse error before "__stacksize"
/root/uClinux-dist/include/bits/pthreadtypes.h:51: warning: data definition has no type or storage class
/root/uClinux-dist/include/bits/pthreadtypes.h:52: warning: data definition has no type or storage class
In file included from simpleinit.c:11:
/root/uClinux-dist/include/stdlib.h:480: error: parse error before "size_t"
/root/uClinux-dist/include/stdlib.h:509: error: parse error before "size_t"
/root/uClinux-dist/include/stdlib.h:607: error: parse error before "__size"
/root/uClinux-dist/include/stdlib.h:609: error: parse error before "__nmemb"
/root/uClinux-dist/include/stdlib.h:618: error: parse error before "size_t"
In file included from /root/uClinux-dist/include/stdlib.h:629,
                 from simpleinit.c:11:
/root/uClinux-dist/include/alloca.h:33: error: parse error before "__size"
In file included from simpleinit.c:11:
/root/uClinux-dist/include/stdlib.h:634: error: parse error before "__size"
/root/uClinux-dist/include/stdlib.h:639: error: parse error before "size_t"
/root/uClinux-dist/include/stdlib.h:814: error: parse error before "size_t"
/root/uClinux-dist/include/stdlib.h:818: error: parse error before "size_t"
In file included from simpleinit.c:12:
/root/uClinux-dist/include/unistd.h:311: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:314: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:318: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:320: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:341: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:345: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:424: error: parse error before "size_t"
In file included from simpleinit.c:12:
/root/uClinux-dist/include/unistd.h:513: error: parse error before "confstr"
/root/uClinux-dist/include/unistd.h:513: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:513: warning: data definition has no type or storage class
/root/uClinux-dist/include/unistd.h:683: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:708: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:731: error: parse error before "size_t"
In file included from simpleinit.c:12:
/root/uClinux-dist/include/unistd.h:753: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:760: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:770: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:771: error: parse error before "size_t"
/root/uClinux-dist/include/unistd.h:788: error: parse error before "size_t"
In file included from simpleinit.c:13:
/root/uClinux-dist/include/limits.h:124:26: no include path in which to search for limits.h
In file included from /root/uClinux-dist/include/stdio.h:67,
                 from simpleinit.c:14:
/root/uClinux-dist/include/bits/uClibc_stdio.h:474: error: parse error before "_stdio_fwrite"
/root/uClinux-dist/include/bits/uClibc_stdio.h:474: error: parse error before "size_t"
/root/uClinux-dist/include/bits/uClibc_stdio.h:475: warning: data definition has no type or storage class
/root/uClinux-dist/include/bits/uClibc_stdio.h:476: error: parse error before "_stdio_fread"
/root/uClinux-dist/include/bits/uClibc_stdio.h:476: error: parse error before "size_t"
/root/uClinux-dist/include/bits/uClibc_stdio.h:477: warning: data definition has no type or storage class
In file included from simpleinit.c:14:
/root/uClinux-dist/include/stdio.h:71:20: stdarg.h: No such file or directory
In file included from simpleinit.c:14:
/root/uClinux-dist/include/stdio.h:258: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:264: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:282: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:284: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:288: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:292: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:296: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:305: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:316: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:335: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:339: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:344: error: parse error before "__gnuc_va_list"
/root/uClinux-dist/include/stdio.h:440: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:443: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:448: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:472: error: parse error before "fread"
/root/uClinux-dist/include/stdio.h:472: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:473: warning: data definition has no type or storage class
/root/uClinux-dist/include/stdio.h:475: error: parse error before "fwrite"
/root/uClinux-dist/include/stdio.h:475: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:476: warning: data definition has no type or storage class
/root/uClinux-dist/include/stdio.h:480: error: parse error before "fread_unlocked"
/root/uClinux-dist/include/stdio.h:480: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:481: warning: data definition has no type or storage class
/root/uClinux-dist/include/stdio.h:482: error: parse error before "fwrite_unlocked"
/root/uClinux-dist/include/stdio.h:482: error: parse error before "size_t"
/root/uClinux-dist/include/stdio.h:483: warning: data definition has no type or storage class
In file included from simpleinit.c:15:
/root/uClinux-dist/include/fcntl.h:139: error: parse error before "size_t"
/root/uClinux-dist/include/fcntl.h:151: error: parse error before "size_t"
/root/uClinux-dist/include/fcntl.h:158: error: parse error before "size_t"
/root/uClinux-dist/include/fcntl.h:169: error: parse error before "size_t"
In file included from simpleinit.c:16:
/root/uClinux-dist/include/string.h:39: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:42: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:51: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:58: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:61: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:65: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:75: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:86: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:93: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:99: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:106: error: parse error before "strxfrm"
/root/uClinux-dist/include/string.h:107: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:107: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:141: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:184: error: parse error before "strcspn"
/root/uClinux-dist/include/string.h:185: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:188: error: parse error before "strspn"
/root/uClinux-dist/include/string.h:189: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:223: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:230: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:232: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:238: error: parse error before "strlen"
/root/uClinux-dist/include/string.h:238: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:244: error: parse error before "strnlen"
/root/uClinux-dist/include/string.h:244: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:245: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:260: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:261: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:273: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:284: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:288: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:291: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:294: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:322: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:370: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:372: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:425: error: parse error before "strlcat"
/root/uClinux-dist/include/string.h:426: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:426: warning: data definition has no type or storage class
/root/uClinux-dist/include/string.h:427: error: parse error before "strlcpy"
/root/uClinux-dist/include/string.h:428: error: parse error before "size_t"
/root/uClinux-dist/include/string.h:428: warning: data definition has no type or storage class
In file included from /root/uClinux-dist/include/signal.h:324,
                 from simpleinit.c:17:
/root/uClinux-dist/include/bits/sigstack.h:54: error: parse error before "size_t"
/root/uClinux-dist/include/bits/sigstack.h:54: warning: no semicolon at end of struct or union
/root/uClinux-dist/include/bits/sigstack.h:55: warning: data definition has no type or storage class
In file included from /root/uClinux-dist/include/ucontext.h:27,
                 from /root/uClinux-dist/include/signal.h:326,
                 from simpleinit.c:17:
/root/uClinux-dist/include/sys/ucontext.h:88: error: parse error before "stack_t"
/root/uClinux-dist/include/sys/ucontext.h:88: warning: no semicolon at end of struct or union
/root/uClinux-dist/include/sys/ucontext.h:91: error: parse error before '}' token
/root/uClinux-dist/include/sys/ucontext.h:91: warning: data definition has no type or storage class
In file included from /root/uClinux-dist/include/signal.h:326,
                 from simpleinit.c:17:
/root/uClinux-dist/include/ucontext.h:32: error: parse error before '*' token
/root/uClinux-dist/include/ucontext.h:35: error: parse error before '*' token
/root/uClinux-dist/include/ucontext.h:39: error: parse error before '*' token
/root/uClinux-dist/include/ucontext.h:48: error: parse error before '*' token
/root/uClinux-dist/include/ucontext.h:48: error: `makecontext' declared as function returning a function
/root/uClinux-dist/include/ucontext.h:49: error: parse error before "int"
In file included from simpleinit.c:18:
/root/uClinux-dist/include/pwd.h:112: error: parse error before "size_t"
/root/uClinux-dist/include/pwd.h:118: error: parse error before "size_t"
/root/uClinux-dist/include/pwd.h:123: error: parse error before "size_t"
/root/uClinux-dist/include/pwd.h:132: error: parse error before "size_t"
In file included from /root/uClinux-dist/include/sys/uio.h:29,
                 from simpleinit.c:24:
/root/uClinux-dist/include/bits/uio.h:45: error: parse error before "size_t"
/root/uClinux-dist/include/bits/uio.h:45: warning: no semicolon at end of struct or union
In file included from simpleinit.c:28:
/root/uClinux-dist/include/time.h:201: error: parse error before "strftime"
/root/uClinux-dist/include/time.h:201: error: parse error before "size_t"
/root/uClinux-dist/include/time.h:203: warning: data definition has no type or storage class
simpleinit.c: In function `err':
simpleinit.c:122: error: storage size of 'output' isn't known
simpleinit.c: In function `enter_single':
simpleinit.c:148: error: `NULL' undeclared (first use in this function)
simpleinit.c:148: error: (Each undeclared identifier is reported only once
simpleinit.c:148: error: for each function it appears in.)
simpleinit.c: In function `do_command':
simpleinit.c:210: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `respawn_children':
simpleinit.c:284: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `main':
simpleinit.c:318: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `boot_single':
simpleinit.c:480: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `spawn':
simpleinit.c:520: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `read_initfile':
simpleinit.c:708: error: `NULL' undeclared (first use in this function)
simpleinit.c: In function `sigint_processing':
simpleinit.c:840: error: `NULL' undeclared (first use in this function)
make[2]: *** [simpleinit.o] 错误 1
make[2]: Leaving directory `/root/uClinux-dist/user/init'
make[1]: *** [all] 错误 2
make[1]: Leaving directory `/root/uClinux-dist/user'
make: *** [subdirs] 错误 1
回复

使用道具 举报

 楼主| 发表于 2005-4-12 10:30:03 | 显示全部楼层
顶上来,还请各位大大指教
回复

使用道具 举报

发表于 2005-4-12 19:53:58 | 显示全部楼层
换2.95.x的gcc试试…………
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

GMT+8, 2024-11-5 13:27 , Processed in 0.066588 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

快速回复 返回顶部 返回列表