I was trying to compile avr-gcc on Linux (Mandriva 2009.1) and got some
errors from the make process that I did not understand. I'd appreciate any
help or directions.
I used the instructions from
http://paul.graysonfamily.org/thoughts/avrlinux/
Attached is the log file for the process.

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

It was created by GNU C Runtime Library configure 1.0, which was
generated by GNU Autoconf 2.59.  Invocation command line was

  $ ../../../../gcc-4.4.3/libgcc/configure --with-multisubdir=avr6 
--with-multisrctop= --enable-multilib --cache-file=./config.cache 
--enable-multilib --with-cross-host=i686-pc-linux-gnu 
--prefix=/usr/local/atmel/ --enable-languages=c 
--program-transform-name=s,^,avr-, --with-target-subdir=avr 
--build=i686-pc-linux-gnu --host=avr --target=avr 
--srcdir=../../../gcc-4.4.3/libgcc 
CC=/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include 
CFLAGS=-g -O2  CPPFLAGS= LDFLAGS= build_alias=i686-pc-linux-gnu host_alias=avr 
target_alias=avr CC=/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 CXX=avr-c++ -B/usr/local/atmel//avr/bin/ 
-B/usr/local/atmel//avr/lib/ -isystem /usr/local/atmel//avr/include -isystem 
/usr/local/atmel//avr/sys-include  -mmcu=avr6 F77= -mmcu=avr6 GCJ=avr-gcj 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 GFORTRAN=avr-gfortran -B/usr/local/atmel//avr/bin/ 
-B/usr/local/atmel//avr/lib/ -isystem /usr/local/atmel//avr/include -isystem 
/usr/local/atmel//avr/sys-include  -mmcu=avr6 
LD_LIBRARY_PATH=/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gmp/.libs:/home/frederick/Download/gcc/fmm_gcc/gcc_build/./prev-gmp/.libs:/home/frederick/Download/gcc/fmm_gcc/gcc_build/./mpfr/.libs:/home/frederick/Download/gcc/fmm_gcc/gcc_build/./prev-mpfr/.libs:/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc:/home/frederick/Download/gcc/fmm_gcc/gcc_build/./prev-gcc
 -srcdir=../../../../gcc-4.4.3/libgcc

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

hostname = Bytesy_Mandriva
uname -m = i686
uname -r = 2.6.29.1-desktop-4mnb
uname -s = Linux
uname -v = #1 SMP Mon Apr 20 18:57:56 EDT 2009

/usr/bin/uname -p = unknown
/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: /usr/local/atmel/bin
PATH: /sbin
PATH: /usr/sbin
PATH: /bin
PATH: /usr/bin
PATH: /usr/X11R6/bin
PATH: /usr/local/bin
PATH: /usr/local/sbin
PATH: /usr/lib/qt4/bin


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

configure:1199: creating cache ./config.cache
configure:1388: checking for --enable-version-specific-runtime-libs
configure:1403: result: no
configure:1435: checking for a BSD-compatible install
configure:1490: result: /usr/bin/install -c
configure:1506: checking for gawk
configure:1522: found /bin/gawk
configure:1532: result: gawk
configure:1555: checking build system type
configure:1573: result: i686-pc-linux-gnu
configure:1581: checking host system type
configure:1595: result: avr-unknown-none
configure:1654: checking for avr-ar
configure:1680: result: /usr/local/atmel//avr/bin/ar
configure:1733: checking for avr-lipo
configure:1759: result: avr-lipo
configure:1813: checking for avr-nm
configure:1839: result: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/nm
configure:1892: checking for avr-ranlib
configure:1918: result: /usr/local/atmel//avr/bin/ranlib
configure:1972: checking for avr-strip
configure:1998: result: /usr/local/atmel//avr/bin/strip
configure:2049: checking whether ln -s works
configure:2053: result: yes
configure:2070: checking for avr-gcc
configure:2096: result: 
/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6
configure:2380: checking for C compiler version
configure:2383: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 --version </dev/null >&5
xgcc (GCC) 4.4.3
Copyright (C) 2010 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:2386: $? = 0
configure:2388: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 -v </dev/null >&5
Reading specs from /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/specs
Target: avr
Configured with: ../gcc-4.4.3/configure --target=avr --prefix=/usr/local/atmel/ 
--enable-languages=c
Thread model: single
gcc version 4.4.3 (GCC) 
configure:2391: $? = 0
configure:2393: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 -V </dev/null >&5
xgcc: '-V' must come at the start of the command line
configure:2396: $? = 1
configure:2415: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 -o conftest -g -O2    conftest.c  >&5
Known MCU names:
  avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
  attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
  at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
  attiny13 attiny2313 atmega603 atmega103 at43usb320 at43usb355 at76c711
  atmega48 atmega8 atmega83 atmega85 atmega88 atmega8515 atmega8535
  atmega16 atmega161 atmega162 atmega163 atmega165 atmega168 atmega169
  atmega32 atmega323 atmega325 atmega3250 atmega64 atmega128 atmega645
  atmega6450 at90can128 at94k
Assembler messages:
Fatal error: unknown MCU: avr6

configure:2418: $? = 1
configure:2590: checking for suffix of object files
configure:2611: /home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6 -c -g -O2   conftest.c >&5
Known MCU names:
  avr1 avr2 avr3 avr4 avr5 at90s1200 attiny10 attiny11 attiny12 attiny15
  attiny28 at90s2313 at90s2323 at90s2333 at90s2343 attiny22 attiny26
  at90s4433 at90s4414 at90s4434 at90s8515 at90s8535 at90c8534 at86rf401
  attiny13 attiny2313 atmega603 atmega103 at43usb320 at43usb355 at76c711
  atmega48 atmega8 atmega83 atmega85 atmega88 atmega8515 atmega8535
  atmega16 atmega161 atmega162 atmega163 atmega165 atmega168 atmega169
  atmega32 atmega323 atmega325 atmega3250 atmega64 atmega128 atmega645
  atmega6450 at90can128 at94k
Assembler messages:
Fatal error: unknown MCU: avr6

configure:2614: $? = 1
configure: failed program was:
| /* confdefs.h.  */
| 
| #define PACKAGE_NAME "GNU C Runtime Library"
| #define PACKAGE_TARNAME "libgcc"
| #define PACKAGE_VERSION "1.0"
| #define PACKAGE_STRING "GNU C Runtime Library 1.0"
| #define PACKAGE_BUGREPORT ""
| /* end confdefs.h.  */
| 
| int
| main ()
| {
| 
|   ;
|   return 0;
| }
configure:2627: error: in 
`/home/frederick/Download/gcc/fmm_gcc/gcc_build/avr/avr6/libgcc':
configure:2630: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.

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

ac_cv_build=i686-pc-linux-gnu
ac_cv_build_alias=i686-pc-linux-gnu
ac_cv_env_CC_set=set
ac_cv_env_CC_value='/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6'
ac_cv_env_CFLAGS_set=set
ac_cv_env_CFLAGS_value='-g -O2 '
ac_cv_env_CPPFLAGS_set=set
ac_cv_env_CPPFLAGS_value=
ac_cv_env_CPP_set=
ac_cv_env_CPP_value=
ac_cv_env_LDFLAGS_set=set
ac_cv_env_LDFLAGS_value=
ac_cv_env_build_alias_set=set
ac_cv_env_build_alias_value=i686-pc-linux-gnu
ac_cv_env_host_alias_set=set
ac_cv_env_host_alias_value=avr
ac_cv_env_target_alias_set=set
ac_cv_env_target_alias_value=avr
ac_cv_host=avr-unknown-none
ac_cv_host_alias=avr
ac_cv_prog_AR=/usr/local/atmel//avr/bin/ar
ac_cv_prog_AWK=gawk
ac_cv_prog_CC='/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6'
ac_cv_prog_LIPO=avr-lipo
ac_cv_prog_NM=/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/nm
ac_cv_prog_RANLIB=/usr/local/atmel//avr/bin/ranlib
ac_cv_prog_STRIP=/usr/local/atmel//avr/bin/strip

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

AR='/usr/local/atmel//avr/bin/ar'
AWK='gawk'
CC='/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/xgcc 
-B/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/ 
-B/usr/local/atmel//avr/bin/ -B/usr/local/atmel//avr/lib/ -isystem 
/usr/local/atmel//avr/include -isystem /usr/local/atmel//avr/sys-include  
-mmcu=avr6'
CFLAGS='-g -O2 '
CPP=''
CPPFLAGS=''
DEFS=''
ECHO_C=''
ECHO_N='-n'
ECHO_T=''
EXEEXT=''
INSTALL_DATA='/usr/bin/install -c -m 644'
INSTALL_PROGRAM='/usr/bin/install -c'
INSTALL_SCRIPT='/usr/bin/install -c'
LDFLAGS=''
LIBOBJS=''
LIBS=''
LIPO='avr-lipo'
LN_S='ln -s'
LTLIBOBJS=''
NM='/home/frederick/Download/gcc/fmm_gcc/gcc_build/./gcc/nm'
OBJEXT=''
PACKAGE_BUGREPORT=''
PACKAGE_NAME='GNU C Runtime Library'
PACKAGE_STRING='GNU C Runtime Library 1.0'
PACKAGE_TARNAME='libgcc'
PACKAGE_VERSION='1.0'
PATH_SEPARATOR=':'
RANLIB='/usr/local/atmel//avr/bin/ranlib'
SHELL='/bin/sh'
STRIP='/usr/local/atmel//avr/bin/strip'
ac_ct_AR=''
ac_ct_CC=''
ac_ct_LIPO=''
ac_ct_NM=''
ac_ct_RANLIB=''
ac_ct_STRIP=''
asm_hidden_op=''
bindir='${exec_prefix}/bin'
build='i686-pc-linux-gnu'
build_alias='i686-pc-linux-gnu'
build_cpu='i686'
build_libsubdir='build-i686-pc-linux-gnu'
build_os='linux-gnu'
build_subdir='build-i686-pc-linux-gnu'
build_vendor='pc'
datadir='${prefix}/share'
decimal_float=''
enable_decimal_float=''
enable_shared='yes'
exec_prefix='NONE'
extra_parts=''
fixed_point=''
host='avr-unknown-none'
host_alias='avr'
host_cpu='avr'
host_noncanonical='avr'
host_os='none'
host_subdir='.'
host_vendor='unknown'
includedir='${prefix}/include'
infodir='${prefix}/info'
libdir='${exec_prefix}/lib'
libexecdir='${exec_prefix}/libexec'
libgcc_topdir='../../../../gcc-4.4.3/libgcc/..'
localstatedir='${prefix}/var'
mandir='${prefix}/man'
oldincludedir='/usr/include'
prefix='/usr/local/atmel/'
program_transform_name='s,^,avr-,'
sbindir='${exec_prefix}/sbin'
set_have_cc_tls=''
sharedstatedir='${prefix}/com'
slibdir='$(exec_prefix)/$(host_noncanonical)/lib'
sysconfdir='${prefix}/etc'
target_alias='avr'
target_subdir='avr'
tmake_file=''
vis_hide=''

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

#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME "GNU C Runtime Library"
#define PACKAGE_STRING "GNU C Runtime Library 1.0"
#define PACKAGE_TARNAME "libgcc"
#define PACKAGE_VERSION "1.0"

configure: exit 1
_______________________________________________
AVR-GCC-list mailing list
AVR-GCC-list@nongnu.org
http://lists.nongnu.org/mailman/listinfo/avr-gcc-list

Reply via email to