免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 3005 | 回复: 3
打印 上一主题 下一主题

编译出错了 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-15 18:19 |只看该作者 |倒序浏览
[Linux Building Menu] (configured for s3c2440)

     1). Build Linux Kernel
     2). Build Linux System Core (libc,sysvinit,bash,udev,util-linux,...)
     3). Run Testing on QEMU
     4). Create File System Images (yaffs,yaffs2,jffs2,cramfs,...)
     5). Build Lib/App (alsa,libmad,mpg123,madplay)
     6). Build Lib/App (MPlayer)
     7). Build Lib/App (jpeg,gif,tiff,png,fbv)
     . Build Lib/App (SDL,DirectFB)
     9). Build Lib/App (usbutils,tslib)
    10). Build Lib/App (debianutils,e2fsprogs,vim,perl)
    11). Build 3D Game (doom)
     x). Exit

选择2, 出错,

mkdir -p -- /usr/share/info
mkdir: cannot create directory `/usr/share': No such file or directory
make: *** [installdirs] Error 1

论坛徽章:
0
2 [报告]
发表于 2009-06-15 19:35 |只看该作者
你的Maxwit 源码包是不是放在你的$HOME目录或子目录下的?

论坛徽章:
0
3 [报告]
发表于 2009-06-16 10:32 |只看该作者
home目录空间不够,所以建了个链接到别的分区

论坛徽章:
0
4 [报告]
发表于 2009-06-18 15:33 |只看该作者
由于home目录空间不够,我把source_pkg目录放到了别的分区,然后建了个软链接,
[Linux Building Menu] (configured for s3c2440)

     1). Build Linux Kernel
     2). Build Linux System Core (libc,sysvinit,bash,udev,util-linux,...)
     3). Run Testing on QEMU
     4). Create File System Images (yaffs,yaffs2,jffs2,cramfs,...)
     5). Build Lib/App (alsa,libmad,mpg123,madplay)
     6). Build Lib/App (MPlayer)
     7). Build Lib/App (jpeg,gif,tiff,png,fbv)
     . Build Lib/App (SDL,DirectFB)
     9). Build Lib/App (usbutils,tslib)
    10). Build Lib/App (debianutils,e2fsprogs,vim,perl)
    11). Build 3D Game (doom)
     x). Exit

选择2,编译出错,
rm -f bash
gcc -L./builtins -L./lib/readline -L./lib/readline -L./lib/glob -L./lib/tilde -L./lib/malloc -L./lib/sh -L/home/robertchen/maxwit/utils/usr/lib  -rdynamic  -g -O2 -o bash shell.o eval.o y.tab.o general.o make_cmd.o print_cmd.o  dispose_cmd.o execute_cmd.o variables.o copy_cmd.o error.o expr.o flags.o jobs.o subst.o hashcmd.o hashlib.o mailcheck.o trap.o input.o unwind_prot.o pathexp.o sig.o test.o version.o alias.o array.o arrayfunc.o assoc.o braces.o bracecomp.o bashhist.o bashline.o  list.o stringlib.o locale.o findcmd.o redir.o pcomplete.o pcomplib.o syntax.o xmalloc.o  -lbuiltins -lsh -lreadline -lhistory -ltermcap -lglob -ltilde -lmalloc   -ldl
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
/usr/bin/ld: ./lib/sh/libsh.a(shmatch.o): Relocations in generic ELF (EM: 40)
./lib/sh/libsh.a: could not read symbols: File in wrong format
collect2: ld returned 1 exit status
make: *** [bash] Error 1
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP