Riku Voipio wrote:
On Wednesday 02 November 2005 19:54, Timo Steuerwald wrote:
  
- I've set my new target to sbrsh and the rest the same as described in 
http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Building-for-ARM
    

how did you configure sbrsh (in sbox) and sbrshd (on target machine) ?

  
I already have written that here: http://maemo.org/pipermail/maemo-developers/2005-November/001665.html

You need to follow this document:

http://scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html#cputransp

  
Yes, already done.

  
checking whether the C compiler works... configure: error: cannot run C
compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.
    

So what does config.log say?

  
A part of config.log is also pasted in the mail linked above. I also tried it again with another target which I have configured the same way as described for qemu emulation in http://www.scratchbox.org/download/files/sbox-releases/0.9.8/doc/installdoc.html#cctarget
The previous created target have I moved to OLD_ARM, this was configured as described in the maemo tutorial (http://www.maemo.org/platform/docs/tutorials/Maemo_tutorial.html#Building-for-ARM).
For both targets I selected sbrsh as CPU transparency method instead of qemu, of course. I haven't found any documentation about how I must set up a target for sbrsh, so I thought this should be enough.
BTW: Does the devkit selection only install the applications for debian packaging?
You can also try "sbrsh targetname --mount" directly to see if you have 
problem in nfs mounting or somewhere else. If mounting works, but apps still 
dont, try tcp networking or

  

Hmmh, --mount command line option doesn't exist, but well ... no, it won't work, I will only get a very well known message:

<----------snip----------->
[sbox-OLD_ARM: ~] > sbrsh OLD_ARM
sbrsh: Permission denied
<----------snip----------->

:-((((

Currently all config files point to OLD_ARM, so that isn't the source of my problem.
As I already said, I can mount from the device both entries of /etc/exports, but only as root not as the created user (if that's important).
I attached both Config.log files to this mail.

Cheers,

Timo


This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /home/timo/hello-world/configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = arm
uname -r = 2.6.10-5-386
uname -s = Linux
uname -v = #1 Mon Oct 10 11:15:41 UTC 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = arm
/usr/bin/arch -k       = arm
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin
PATH: /scratchbox/devkits/debian/bin
PATH: /scratchbox/doc_tools/bin
PATH: /scratchbox/tools/bin
PATH: /targets/links/libtool/bin
PATH: /host_usr/bin
PATH: /scratchbox/compilers/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /sbin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1306: checking for a BSD-compatible install
configure:1361: result: /usr/bin/install -c
configure:1372: checking whether build environment is sane
configure:1415: result: yes
configure:1472: checking for gawk
configure:1488: found /scratchbox/tools/bin/gawk
configure:1498: result: gawk
configure:1508: checking whether make sets $(MAKE)
configure:1528: result: yes
configure:1739: checking for gcc
configure:1755: found /usr/bin/gcc
configure:1765: result: gcc
configure:2009: checking for C compiler version
configure:2012: gcc --version </dev/null >&5
sbox-arm-linux-gcc (GCC) 3.3.4 (Debian)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2015: $? = 0
configure:2017: gcc -v </dev/null >&5
Reading specs from /scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/lib/gcc-lib/arm-linux/3.3.4/specs
Reading specs from /scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/gcc.specs
rename spec cpp to old_cpp
Configured with: /home/larimo/sb-toolchains/gcc/glibc/work/gcc-3.3-3.3.4-patched/configure --target=arm-linux --host=i386-linux --build=i386-linux --prefix=/scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1 --with-headers=/scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/usr/include --enable-languages=c,c++ --program-transform-name=s/^-/arm-linux-/ --program-prefix=arm-linux- --with-cpu=
Thread model: posix
gcc version 3.3.4 (Debian)
configure:2020: $? = 0
configure:2022: gcc -V </dev/null >&5
sbox-arm-linux-gcc: `-V' must come at the start of the command line
configure:2025: $? = 1
configure:2048: checking for C compiler default output file name
configure:2051: gcc    conftest.c  >&5
configure:2054: $? = 0
configure:2100: result: a.out
configure:2105: checking whether the C compiler works
configure:2111: ./a.out
sbrsh: Permission denied
configure:2114: $? = 1
configure:2123: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_path_install='/usr/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/timo/hello-world/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/timo/hello-world/missing --run tar'
AUTOCONF='${SHELL} /home/timo/hello-world/missing --run autoconf'
AUTOHEADER='${SHELL} /home/timo/hello-world/missing --run autoheader'
AUTOMAKE='${SHELL} /home/timo/hello-world/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
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/timo/hello-world/missing --run makeinfo'
OBJEXT=''
PACKAGE='HelloQemu'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.1'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/timo/hello-world/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'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "HelloQemu"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.1"

configure: exit 1
This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake.

It was created by configure, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ /home/timo/hello-world/configure 

## --------- ##
## Platform. ##
## --------- ##

hostname = ubuntu
uname -m = i686
uname -r = 2.6.10-5-386
uname -s = Linux
uname -v = #1 Mon Oct 10 11:15:41 UTC 2005

/usr/bin/uname -p = unknown
/bin/uname -X     = unknown

/bin/arch              = i686
/usr/bin/arch -k       = i686
/usr/convex/getsysinfo = unknown
hostinfo               = unknown
/bin/machine           = unknown
/usr/bin/oslevel       = unknown
/bin/universe          = unknown

PATH: /usr/bin
PATH: /scratchbox/doc_tools/bin
PATH: /scratchbox/tools/bin
PATH: /targets/links/libtool/bin
PATH: /host_usr/bin
PATH: /scratchbox/compilers/bin
PATH: /bin
PATH: /usr/bin
PATH: /usr/local/bin
PATH: /usr/X11R6/bin
PATH: /sbin
PATH: /usr/sbin


## ----------- ##
## Core tests. ##
## ----------- ##

configure:1306: checking for a BSD-compatible install
configure:1361: result: /scratchbox/tools/bin/install -c
configure:1372: checking whether build environment is sane
configure:1415: result: yes
configure:1472: checking for gawk
configure:1488: found /scratchbox/tools/bin/gawk
configure:1498: result: gawk
configure:1508: checking whether make sets $(MAKE)
configure:1528: result: yes
configure:1739: checking for gcc
configure:1755: found /scratchbox/compilers/bin/gcc
configure:1765: result: gcc
configure:2009: checking for C compiler version
configure:2012: gcc --version </dev/null >&5
sbox-arm-linux-gcc (GCC) 3.3.4 (Debian)
Copyright (C) 2003 Free Software Foundation, Inc.
This is free software; see the source for copying conditions.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

configure:2015: $? = 0
configure:2017: gcc -v </dev/null >&5
Reading specs from /scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/lib/gcc-lib/arm-linux/3.3.4/specs
Reading specs from /scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/gcc.specs
rename spec cpp to old_cpp
Configured with: /home/larimo/sb-toolchains/gcc/glibc/work/gcc-3.3-3.3.4-patched/configure --target=arm-linux --host=i386-linux --build=i386-linux --prefix=/scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1 --with-headers=/scratchbox/compilers/arm-linux-gcc-3.3_3.3.4-glibc-2.3.2.ds1/usr/include --enable-languages=c,c++ --program-transform-name=s/^-/arm-linux-/ --program-prefix=arm-linux- --with-cpu=
Thread model: posix
gcc version 3.3.4 (Debian)
configure:2020: $? = 0
configure:2022: gcc -V </dev/null >&5
sbox-arm-linux-gcc: `-V' must come at the start of the command line
configure:2025: $? = 1
configure:2048: checking for C compiler default output file name
configure:2051: gcc    conftest.c  >&5
configure:2054: $? = 0
configure:2100: result: a.out
configure:2105: checking whether the C compiler works
configure:2111: ./a.out
sbrsh: Permission denied
configure:2114: $? = 1
configure:2123: error: cannot run C compiled programs.
If you meant to cross compile, use `--host'.
See `config.log' for more details.

## ---------------- ##
## Cache variables. ##
## ---------------- ##

ac_cv_env_CC_set=
ac_cv_env_CC_value=
ac_cv_env_CFLAGS_set=
ac_cv_env_CFLAGS_value=
ac_cv_env_CPPFLAGS_set=
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=
ac_cv_env_build_alias_value=
ac_cv_env_host_alias_set=
ac_cv_env_host_alias_value=
ac_cv_env_target_alias_set=
ac_cv_env_target_alias_value=
ac_cv_exeext=
ac_cv_path_install='/scratchbox/tools/bin/install -c'
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=gcc
ac_cv_prog_make_make_set=yes

## ----------------- ##
## Output variables. ##
## ----------------- ##

ACLOCAL='${SHELL} /home/timo/hello-world/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/timo/hello-world/missing --run tar'
AUTOCONF='${SHELL} /home/timo/hello-world/missing --run autoconf'
AUTOHEADER='${SHELL} /home/timo/hello-world/missing --run autoheader'
AUTOMAKE='${SHELL} /home/timo/hello-world/missing --run automake-1.8'
AWK='gawk'
CC='gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
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/timo/hello-world/missing --run makeinfo'
OBJEXT=''
PACKAGE='HelloQemu'
PACKAGE_BUGREPORT=''
PACKAGE_NAME=''
PACKAGE_STRING=''
PACKAGE_TARNAME=''
PACKAGE_VERSION=''
PATH_SEPARATOR=':'
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.1'
ac_ct_CC='gcc'
ac_ct_STRIP=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__leading_dot='.'
am__quote=''
bindir='${exec_prefix}/bin'
build_alias=''
datadir='${prefix}/share'
exec_prefix='NONE'
host_alias=''
includedir='${prefix}/include'
infodir='${prefix}/info'
install_sh='/home/timo/hello-world/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'
sysconfdir='${prefix}/etc'
target_alias=''

## ----------- ##
## confdefs.h. ##
## ----------- ##

#define PACKAGE "HelloQemu"
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
#define PACKAGE_TARNAME ""
#define PACKAGE_VERSION ""
#define VERSION "0.1"

configure: exit 1
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://maemo.org/mailman/listinfo/maemo-developers

Reply via email to