albert198511 发表于 2008-2-18 18:09:58

编译 busybox 出错

我装的是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之后出现的错误如下:
# make
GEN .depend
CC applets/applets.o
gcc: cannot specify -o with -c or -S and multiple compilations
make: *** Error 1
make: *** Error 2

期盼高手们指点啊!!!谢谢!!!

dualxu 发表于 2008-2-22 16:07:48

我用的也是busybox113, 我用3.4.1版的arm-linux-gcc没有问题的
可以试试看
页: [1]
查看完整版本: 编译 busybox 出错