Compiladno BusyBox , agora 1.7.0

2007-09-12 Por tôpico Saul Piccoli
Primeiro de tudo, eu to usando o Unbuntu.

Bom agora eu to tentando usa o BusyBox-1.7.0
E o problema q to achando é outro:

Fiz:
$ make defconfig
$gedit .config 
e no:
Build Options, mudei o CONFIG_STATIC pra y

ou seja:

#
# Build Options
#
CONFIG_STATIC=y
# CONFIG_BUILD_LIBBUSYBOX is not set
# CONFIG_FEATURE_FULL_LIBBUSYBOX is not set

# CONFIG_FEATURE_SHARED_BUSYBOX is not set
CONFIG_LFS=y
# CONFIG_BUILD_AT_ONCE is not set

salvei e dei o comando:

$ make

o erro encontrado:


[EMAIL PROTECTED]:~/busybox-1.7.0$ make
scripts/kconfig/conf -s Config.in http://config.in/
#
# using defaults found in .config
#
  SPLIT   include/autoconf.h - include/config/*

  GEN include/bbconfigopts.h
  HOSTCC  applets/usage
  GEN include/usage_compressed.h
  CC  applets/applets.o
applets/applets.c:20:2: warning: #warning Static linking against glibc
produces buggy executables

applets/applets.c:21:2: warning: #warning (glibc does not cope well
with ld --gc-sections).
applets/applets.c:22:2: warning: #warning See
sources.redhat.com/bugzilla/show_bug.cgi?id=3400

applets/applets.c:23:2: warning: #warning Note that glibc is
unsuitable for static linking anyway.
applets/applets.c:24:2: warning: #warning If you still want to do it,
remove -Wl,--gc-sections
applets/applets.c:25:2: warning: #warning from top-level Makefile and
remove this warning.

applets/applets.c:26:2: #error Aborting compilation.
make[1]: *** [applets/applets.o] Error 1
make: *** [applets] Error 2
[EMAIL PROTECTED]:~/busybox-1.7.0$
[EMAIL PROTECTED]:~/busybox-1.7.0$



Alguma dica


VALEU!!!


Compiladno BusyBOx

2007-09-11 Por tôpico Saul Piccoli
Pessoal sou muito cabaço em LINUX,
estou tentando compilar o BusyBox-1.5.1 pra fazer um RamDisk virtual.

Usei o comando :

make install ARCH=arm CROSS_COMPILE=arm-linux-

E tive o seguinte problema:

[EMAIL PROTECTED]:/home/spiccoli/busybox-1.5.1# make install ARCH=arm
CROSS_COMPILE=arm-linux-
/home/spiccoli/busybox-1.5.1/scripts/gcc-version.sh: line 11:
arm-linux-gcc: command not found
/home/spiccoli/busybox-1.5.1/scripts/gcc-version.sh: line 11:
arm-linux-gcc: command not found
  CC  applets/applets.o
/bin/sh: arm-linux-gcc: not found
make[1]: *** [applets/applets.o] Error 127
make: *** [applets] Error 2
[EMAIL PROTECTED]:/home/spiccoli/busybox-1.5.1#



Alguem tem alguma dica ai???