Hello,

I'm using a gcc cross compiler to compile ust-0.15

This gcc was built using the crosstool-ng project.

I used this gcc to build  the kernel (vanilla 2.6.27.35), device
driver and a C++ application so I'm sure this gcc is OK.

When I ran ./configure with the proper CC, LD_LIBRARY_PATH and PATH I
got the attached config.log

The error is:
ld: this linker was not configured to use sysroots

ust-0.15 runs on my target so I want to use the same gcc used to build
my application.

Can you help ?

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

It was created by ust configure 0.15, which was
generated by GNU Autoconf 2.65.  Invocation command line was

  $ ./configure --prefix=/home/zvivered/GNU/ust

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

hostname = localhost.localdomain
uname -m = i686
uname -r = 2.6.18-238.19.1.el5
uname -s = Linux
uname -v = #1 SMP Fri Jul 15 07:32:29 EDT 2011

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

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

PATH: /usr/lib/qt-3.3/bin
PATH: /usr/kerberos/bin
PATH: /usr/local/bin
PATH: /usr/bin
PATH: /bin
PATH: /usr/X11R6/bin
PATH: /home/zvivered/bin
PATH: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/libexec/gcc/i686-nptl-linux-gnu/4.3.2
PATH: /home/zvivered/GNU/crosstool-1.5.0/release/libexec/gcc/i686-nptl-linux-gnu/4.3.2


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

configure:2343: checking build system type
configure:2357: result: i686-pc-linux-gnu
configure:2377: checking host system type
configure:2390: result: i686-pc-linux-gnu
configure:2410: checking target system type
configure:2423: result: i686-pc-linux-gnu
configure:2467: checking for a BSD-compatible install
configure:2535: result: /usr/bin/install -c
configure:2546: checking whether build environment is sane
configure:2596: result: yes
configure:2737: checking for a thread-safe mkdir -p
configure:2776: result: /bin/mkdir -p
configure:2789: checking for gawk
configure:2805: found /usr/bin/gawk
configure:2816: result: gawk
configure:2827: checking whether make sets $(MAKE)
configure:2849: result: yes
configure:3013: checking for gcc
configure:3040: result: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc
configure:3269: checking for C compiler version
configure:3278: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc --version >&5
gcc (crosstool-NG-1.5.0) 4.3.2
Copyright (C) 2008 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:3289: $? = 0
configure:3278: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc -v >&5
Using built-in specs.
Target: i686-nptl-linux-gnu
Configured with: /home/zvivered/GNU/crosstool-1.5.0/working/src/gcc-4.3.2/configure --build=i386-build_redhat-linux-gnu --host=i386-build_redhat-linux-gnu --target=i686-nptl-linux-gnu --prefix=/home/zvivered/GNU/crosstool-1.5.0/release --with-sysroot=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu//sys-root --enable-languages=c --disable-multilib --with-arch=i686 --with-pkgversion=crosstool-NG-1.5.0 --enable-__cxa_atexit --with-gmp=/home/zvivered/GNU/crosstool-1.5.0/release --with-mpfr=/home/zvivered/GNU/crosstool-1.5.0/release --with-local-prefix=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu//sys-root --disable-nls --enable-threads=posix --enable-symvers=gnu --enable-c99 --enable-long-long --enable-target-optspace
Thread model: posix
gcc version 4.3.2 (crosstool-NG-1.5.0) 
configure:3289: $? = 0
configure:3278: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc -V >&5
gcc: '-V' option must have argument
configure:3289: $? = 1
configure:3278: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc -qversion >&5
gcc: unrecognized option '-qversion'
gcc: no input files
configure:3289: $? = 1
configure:3309: checking whether the C compiler works
configure:3331: /home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc    conftest.c  >&5
ld: this linker was not configured to use sysroots
configure:3335: $? = 1
configure:3373: result: no
configure: failed program was:
| /* confdefs.h */
| #define PACKAGE_NAME "ust"
| #define PACKAGE_TARNAME "ust"
| #define PACKAGE_VERSION "0.15"
| #define PACKAGE_STRING "ust 0.15"
| #define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
| #define PACKAGE_URL ""
| #define PACKAGE "ust"
| #define VERSION "0.15"
| #define VERSION_MAJOR 0
| #define VERSION_MINOR 15
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:3378: error: in `/home/zvivered/GNU/ust-0.15':
configure:3382: error: C compiler cannot create executables
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc
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_LIBS_set=
ac_cv_env_LIBS_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_host=i686-pc-linux-gnu
ac_cv_path_install='/usr/bin/install -c'
ac_cv_path_mkdir=/bin/mkdir
ac_cv_prog_AWK=gawk
ac_cv_prog_ac_ct_CC=/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc
ac_cv_prog_make_make_set=yes
ac_cv_target=i686-pc-linux-gnu

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

ACLOCAL='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run aclocal-1.11'
AMDEPBACKSLASH=''
AMDEP_FALSE=''
AMDEP_TRUE=''
AMTAR='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run tar'
AM_BACKSLASH='\'
AM_DEFAULT_VERBOSITY='0'
AR=''
AUTOCONF='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run autoconf'
AUTOHEADER='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run autoheader'
AUTOMAKE='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run automake-1.11'
AWK='gawk'
CC='/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc'
CCDEPMODE=''
CFLAGS=''
CPP=''
CPPFLAGS=''
CYGPATH_W='echo'
DEFS=''
DEPDIR=''
DSYMUTIL=''
DUMPBIN=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EGREP=''
EXEEXT=''
FGREP=''
GREP=''
INSTALL_DATA='${INSTALL} -m 644'
INSTALL_PROGRAM='${INSTALL}'
INSTALL_SCRIPT='${INSTALL}'
INSTALL_STRIP_PROGRAM='$(install_sh) -c -s'
LD=''
LDFLAGS=''
LIBFORMAT=''
LIBOBJS=''
LIBS=''
LIBTOOL=''
LIPO=''
LN_S=''
LTLIBOBJS=''
MAJOR_VERSION='0'
MAKEINFO='${SHELL} /home/zvivered/GNU/ust-0.15/config/missing --run makeinfo'
MINOR_VERSION='15'
MKDIR_P='/bin/mkdir -p'
NM=''
NMEDIT=''
OBJDUMP=''
OBJEXT=''
OTOOL64=''
OTOOL=''
PACKAGE='ust'
PACKAGE_BUGREPORT='mathieu dot desnoyers at efficios dot com'
PACKAGE_NAME='ust'
PACKAGE_STRING='ust 0.15'
PACKAGE_TARNAME='ust'
PACKAGE_URL=''
PACKAGE_VERSION='0.15'
PATH_SEPARATOR=':'
RANLIB=''
SED=''
SET_MAKE=''
SHELL='/bin/sh'
STRIP=''
VERSION='0.15'
ac_ct_CC='/home/zvivered/GNU/crosstool-1.5.0/release/i686-nptl-linux-gnu/bin/gcc'
ac_ct_DUMPBIN=''
am__EXEEXT_FALSE=''
am__EXEEXT_TRUE=''
am__fastdepCC_FALSE=''
am__fastdepCC_TRUE=''
am__include=''
am__isrc=''
am__leading_dot='.'
am__quote=''
am__tar='${AMTAR} chof - "$$tardir"'
am__untar='${AMTAR} xf -'
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias=''
build_cpu='i686'
build_os='linux-gnu'
build_vendor='pc'
datadir='${datarootdir}'
datarootdir='${prefix}/share'
docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
dvidir='${docdir}'
exec_prefix='NONE'
host='i686-pc-linux-gnu'
host_alias=''
host_cpu='i686'
host_os='linux-gnu'
host_vendor='pc'
htmldir='${docdir}'
includedir='${prefix}/include'
infodir='${datarootdir}/info'
install_sh='${SHELL} /home/zvivered/GNU/ust-0.15/config/install-sh'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
localedir='${datarootdir}/locale'
localstatedir='${prefix}/var'
lt_ECHO='echo'
mandir='${datarootdir}/man'
mkdir_p='/bin/mkdir -p'
oldincludedir='/usr/include'
pdfdir='${docdir}'
prefix='/home/zvivered/GNU/ust'
program_transform_name='s,x,x,'
psdir='${docdir}'
sbindir='${exec_prefix}/sbin'
sharedstatedir='${prefix}/com'
sysconfdir='${prefix}/etc'
target='i686-pc-linux-gnu'
target_alias=''
target_cpu='i686'
target_os='linux-gnu'
target_vendor='pc'

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

/* confdefs.h */
#define PACKAGE_NAME "ust"
#define PACKAGE_TARNAME "ust"
#define PACKAGE_VERSION "0.15"
#define PACKAGE_STRING "ust 0.15"
#define PACKAGE_BUGREPORT "mathieu dot desnoyers at efficios dot com"
#define PACKAGE_URL ""
#define PACKAGE "ust"
#define VERSION "0.15"
#define VERSION_MAJOR 0
#define VERSION_MINOR 15

configure: exit 77
_______________________________________________
ltt-dev mailing list
[email protected]
http://lists.casi.polymtl.ca/cgi-bin/mailman/listinfo/ltt-dev

Reply via email to