QQ登录

只需一步,快速开始

 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 2311|回复: 1

编译 busybox 出错

[复制链接]
发表于 2008-2-18 18:09:58 | 显示全部楼层 |阅读模式
我装的是busybox-1.1.3
进行的配置如下:
# make menuconfig
Busybox Settings --->                          
    General Configuration --->                        
         Support for devfs                     
    Build Options --->                          
         Build BusyBox as a static binary (no shared libs)      
         Do you want to build BusyBox with a Cross Compiler?     
         (/usr/local/arm/3.3.2/bin/arm-linux-)Cross Compiler prefix
Init Utilities --->                        
    init                       
    Support reading an inittab file
Shells --->                           
        Choose your default shell (ash) --->   
    ash                        
Coreutils --->
    cat                       
    cp
    df
    echo (basic SuSv3 version taking no options)
    env                        
    ls                        
    mkdir                     
    mknod
    mv                        
    pwd                        
    rm                        
    touch                     
Editors --->                           
    vi                        
Linux System Utilities --->                        
    mount                       
    umount                     
    Support loopback mounts               
    Support for the old /etc/mtab file
Networking Utilities --->                    
    inetd

在make之后出现的错误如下:
[root@localhost busybox-1.1.3]# make
  GEN .depend
  CC applets/applets.o
gcc: cannot specify -o with -c or -S and multiple compilations
make[1]: *** [/root/busybox-1.1.3/applets/applets.o] Error 1
make: *** [_all] Error 2

期盼高手们指点啊!!!谢谢!!!
发表于 2008-2-22 16:07:48 | 显示全部楼层
我用的也是busybox113, 我用3.4.1版的arm-linux-gcc没有问题的
可以试试看
回复

使用道具 举报

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

本版积分规则

GMT+8, 2024-4-19 04:23 , Processed in 0.081693 second(s), 15 queries .

© 2021 Powered by Discuz! X3.5.

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