Hello,
I try for first time compile a binary for openwrt, sshfs client...
I have installed builroot envirement using http://downloads.openwrt.org/docs/build … ation.html
and them try to compile like this:
/home/pyxel/work/wrt/sshfs-fuse-1.5# export AR=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-ar
/home/pyxel/work/wrt/sshfs-fuse-1.5# export AS=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-as
/home/pyxel/work/wrt/sshfs-fuse-1.5# export LD=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-ld
/home/pyxel/work/wrt/sshfs-fuse-1.5# export NM=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-nm
/home/pyxel/work/wrt/sshfs-fuse-1.5# export CC=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
/home/pyxel/work/wrt/sshfs-fuse-1.5# export CPP=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-cpp
/home/pyxel/work/wrt/sshfs-fuse-1.5# export GCC=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
/home/pyxel/work/wrt/sshfs-fuse-1.5# export CXX=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-g++
/home/pyxel/work/wrt/sshfs-fuse-1.5# export RANLIB=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-ranlib
/home/pyxel/work/wrt/sshfs-fuse-1.5# export CFLAGS="-Os -s"
/home/pyxel/work/wrt/sshfs-fuse-1.5# ./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu
checking for a BSD-compatible install... /bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for mipsel-linux-strip... no
checking for strip... strip
checking for mipsel-linux-gcc... /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
/home/pyxel/work/wrt/sshfs-fuse-1.5# cat config.log
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.
It was created by sshfs-fuse configure 1.5, which was
generated by GNU Autoconf 2.59. Invocation command line was
$ ./configure --target=mipsel-linux --host=mipsel-linux --build=i386-pc-linux-gnu
## --------- ##
## Platform. ##
## --------- ##
hostname = localhost
uname -m = i686
uname -r = 2.6.15.4-flamme
uname -s = Linux
uname -v = #4 Tue Feb 28 13:19:50 CET 2006
/usr/bin/uname -p = AMD Duron(tm) processor
/bin/uname -X = unknown
/bin/arch = i686
/usr/bin/arch -k = unknown
/usr/convex/getsysinfo = unknown
hostinfo = unknown
/bin/machine = unknown
/usr/bin/oslevel = unknown
/bin/universe = unknown
PATH: /sbin
PATH: /bin
PATH: /usr/sbin
PATH: /usr/bin
PATH: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin
PATH: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1322: checking for a BSD-compatible install
configure:1377: result: /bin/install -c
configure:1388: checking whether build environment is sane
configure:1431: result: yes
configure:1496: checking for gawk
configure:1512: found /bin/gawk
configure:1522: result: gawk
configure:1532: checking whether make sets $(MAKE)
configure:1552: result: yes
configure:1628: checking for mipsel-linux-strip
configure:1657: result: no
configure:1666: checking for strip
configure:1682: found /usr/bin/strip
configure:1693: result: strip
configure:1731: checking for mipsel-linux-gcc
configure:1757: result: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
configure:2039: checking for C compiler version
configure:2042: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc --version </dev/null >&5
./configure: line 2043: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc: No such file or directory
configure:2045: $? = 127
configure:2047: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc -v </dev/null >&5
./configure: line 2048: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc: No such file or directory
configure:2050: $? = 127
configure:2052: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc -V </dev/null >&5
./configure: line 2053: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc: No such file or directory
configure:2055: $? = 127
configure:2078: checking for C compiler default output file name
configure:2081: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc -Os -s conftest.c >&5
./configure: line 2082: /home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc: No such file or directory
configure:2084: $? = 127
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME "sshfs-fuse"
| #define PACKAGE_TARNAME "sshfs-fuse"
| #define PACKAGE_VERSION "1.5"
| #define PACKAGE_STRING "sshfs-fuse 1.5"
| #define PACKAGE_BUGREPORT ""
| #define PACKAGE "sshfs-fuse"
| #define VERSION "1.5"
| /* end confdefs.h. */
|
| int
| main ()
| {
|
| ;
| return 0;
| }
configure:2123: error: C compiler cannot create executables
See `config.log' for more details.
## ---------------- ##
## Cache variables. ##
## ---------------- ##
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-Os -s'
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_PKG_CONFIG_set=
ac_cv_env_PKG_CONFIG_value=
ac_cv_env_SSHFS_CFLAGS_set=
ac_cv_env_SSHFS_CFLAGS_value=
ac_cv_env_SSHFS_LIBS_set=
ac_cv_env_SSHFS_LIBS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i386-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=mipsel-linux
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=mipsel-linux
ac_cv_path_install='/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_CC=/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc
ac_cv_prog_ac_ct_STRIP=strip
ac_cv_prog_make_make_set=yes
## ----------------- ##
## Output variables. ##
## ----------------- ##
ACLOCAL='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run aclocal-1.9'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run tar'
AUTOCONF='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run autoconf'
AUTOHEADER='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run autoheader'
AUTOMAKE='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run automake-1.9'
AWK='gawk'
CC='/home/pyxel/work/wrt/port/whiterussian/openwrt/bin/mipsel-linux-uclibc-gcc'
CCDEPMODE=''
CFLAGS='-Os -s'
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
FUSE_OPT_COMPAT_FALSE=''
FUSE_OPT_COMPAT_TRUE=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='${SHELL} $(install_sh) -c -s'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LTLIBOBJS=''
MAKEINFO='${SHELL} /home/pyxel/work/wrt/sshfs-fuse-1.5/missing --run makeinfo'
OBJEXT=''
PACKAGE='sshfs-fuse'
PACKAGE_BUGREPORT=''
PACKAGE_NAME='sshfs-fuse'
PACKAGE_STRING='sshfs-fuse 1.5'
PACKAGE_TARNAME='sshfs-fuse'
PACKAGE_VERSION='1.5'
PATH_SEPARATOR=':'
PKG_CONFIG=''
SET_MAKE=''
SHELL='/bin/sh'
SSHFS_CFLAGS=''
SSHFS_LIBS=''
STRIP='strip'
VERSION='1.5'
ac_ct_CC=''
ac_ct_STRIP='strip'
ac_pt_PKG_CONFIG=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build_alias='i386-pc-linux-gnu'
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias='mipsel-linux'
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/pyxel/work/wrt/sshfs-fuse-1.5/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
mkdir_p='mkdir -p --'
oldincludedir='/usr/include'
prefix='NONE'
program_transform_name='s,x,x,'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sshnodelay_libs=''
sysconfdir='${prefix}/etc'
target_alias='mipsel-linux'
## ----------- ##
## confdefs.h. ##
## ----------- ##
#define PACKAGE "sshfs-fuse"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "sshfs-fuse"
#define PACKAGE_STRING "sshfs-fuse 1.5"
#define PACKAGE_TARNAME "sshfs-fuse"
#define PACKAGE_VERSION "1.5"
#define VERSION "1.5"
configure: exit 77
what I do wrong ?
thanks for each reply.