My env:

 

clfs@ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$
env                

CLFS_CPU=i686

CLFS_HOST=i486-cross-linux-gnu

TERM=xterm

CLFS_TARGET=i686-pc-linux-uclibc

OLDPWD=/mnt/clfs/source/embedded-0.0.1

LC_ALL=POSIX

CLFS=/mnt/clfs

PATH=/mnt/clfs/cross-tools/bin:/bin:/usr/bin

PWD=/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31

CLFS_ARCH=i386

PS1=${debian_chroot:+($debian_chroot)}\u@\h:\w\$


SHLVL=1

HOME=/home/clfs

CLFS_ENDIAN=little

_=/usr/bin/env

clfs@ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$

 

 

before I try to build ‘uClibc-0.9.31’,
I patched ‘uClibc-0.9.31-configs-2.patch’and copy ‘config.i386.little’ in clfs 
dictionary
to ‘uClibc-0.9.31’ as .config, the call ‘make’, error show below:

 

clfs@ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$
sudo make

/bin/sh: -g: invalid
option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

/bin/sh: -d: invalid option

Usage:      /bin/sh [GNU long option] [option] ...

      /bin/sh [GNU long option] [option] script-file ...

GNU long options:

      --debug

      --debugger

      --dump-po-strings

      --dump-strings

      --help

      --init-file

      --login

      --noediting

      --noprofile

      --norc

      --posix

      --protected

      --rcfile

      --restricted

      --verbose

      --version

Shell options:

      -irsD or -c command or -O shopt_option          (invocation only)

      -abefhkmnptuvxBCHP or -o option

make: -gcc: Command not found

make: -gcc: Command not found

  MKDIR include/bits

  GEN include/bits/sysnum.h

extra/scripts/gen_bits_syscall_h.sh:
line 31: -gcc: command not found

extra/scripts/gen_bits_syscall_h.sh:
line 27: -gcc: command not found

ERROR: Could not generate
syscalls.

Make sure that you have proper
kernel headers.

Your .config in
KERNEL_HEADERS="" was set to:

/usr/include/

make: *** [include/bits/sysnum.h]
Error 1

clfs@ryang-desktop:/mnt/clfs/source/embedded-0.0.1/uClibc-0.9.31$

 

 

 

 

how to solve?                                     
_______________________________________________
Clfs-support mailing list
[email protected]
http://lists.cross-lfs.org/listinfo.cgi/clfs-support-cross-lfs.org

Reply via email to