编译出错了
[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
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(3)
你的Maxwit 源码包是不是放在你的$HOME目录或子目录下的?
home目录空间不够,所以建了个链接到别的分区
由于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