Denise Umuhoza
Department of Computer Science
University of the Western Cape
>>> [EMAIL PROTECTED] 12/12/05 1:09 PM >>>
On Friday 09 December 2005 12:07, DENISE UMUHOZA wrote:
> all ,
Denise,
> checking for C compiler default output file name... a.out
> 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.
>******************
Could you upload your config.log to somewhere so that we could take a
look at
it? If you used sbox stuff to configure sbrsh ("the blue dialogs"), you
could
also try it again appending "2> error.log" to the command and checking
the .log file later in case it didn't work.
In my case when trying to build a SH3 toolchain days ago, config.log
told me
everything I could need to fix it. Permission denied, NFS server down
etc and
thanks to Jonas (quitte), that gave me the tip, it worked only after
mounting
the exported directories with "-o tcp".
[]'s
--
Caio Begotti (caio1982)
http://caio.ueberalles.net
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users
------------------------------------------------------------------------
Caio,
here is the config.log file. thanks for your help.
denise
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
$ ./configure
## --------- ##
## Platform. ##
## --------- ##
hostname = ENERGIES
uname -m = arm
uname -r = 2.6.8
uname -s = Linux
uname -v = #1 Thu Nov 3 20:47:51 SAST 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: /scratchbox/tools/bin
PATH: /targets/links/arch_tools/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-gcc-3.3.4-glibc-2.3.2/lib/gcc-lib/arm-linux/3.3.4/specs
Reading specs from
/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/gcc.specs
rename spec cpp to old_cpp
Configured with:
/home/tsavola/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-gcc-3.3.4-glibc-2.3.2
--with-headers=/scratchbox/compilers/arm-gcc-3.3.4-glibc-2.3.2/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 server: mount:
10.10.10.9:/scratchbox/users/denise/targets/10.10.10.1_remote failed,
reason given by server: Permission denied
sbrsh server: mount: nfsmount failed: Bad file descriptor
sbrsh server: mount: Mounting
10.10.10.9:/scratchbox/users/denise/targets/10.10.10.1_remote on
/var/sbrshd/[EMAIL PROTECTED]/10.10.10.1_remote failed: Invalid argument
sbrsh server: Can't mount to point:
/var/sbrshd/[EMAIL PROTECTED]/10.10.10.1_remote/
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/denise/hello-world/missing --run aclocal-1.8'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/denise/hello-world/missing --run tar'
AUTOCONF='${SHELL} /home/denise/hello-world/missing --run autoconf'
AUTOHEADER='${SHELL} /home/denise/hello-world/missing --run autoheader'
AUTOMAKE='${SHELL} /home/denise/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/denise/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/denise/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
~
_______________________________________________
Scratchbox-users mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-users