avr-gcc-list
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[avr-gcc-list] Error when compiling GCC 4.1.1


From: Gerard Marull Paretas
Subject: [avr-gcc-list] Error when compiling GCC 4.1.1
Date: Mon, 29 Jan 2007 19:45:56 +0100

Hello!

I've been trying to compile GCC 4.1.1 under linux, including some of the patches that WinAVR new release (2007) takes. All the patches work fine, but when I finally add the gcc-4.1-new-devices-m256X.patch [Which I specially need to get atmega2561 running!], I'm not able to compile. The error returned by gcc is the following one:

Code:

make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/build-x86_64-unknown-linux-gnu/fixincludes'
make[2]: Entering directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/libcpp'
test -f config.h || (rm -f stamp-h1 && make stamp-h1)
make[2]: Leaving directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/libcpp'
make[2]: Entering directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/gcc'
make \
          CFLAGS="-g -O2  -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -pedantic -Wno-long-long -Wno-variadic-macros -Wold-style-definition -Wmissing-format-attribute  " \
          CONFIG_H="config.h  auto-host.h ../../gcc/../include/ansidecl.h" \
          MAKEOVERRIDES= \
          -f libgcc.mk all
make[3]: Entering directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/gcc'
/home/gerard/Desktop/gcc-4.1.1/obj-avr/./gcc/xgcc -B/home/gerard/Desktop/gcc-4.1.1/obj-avr/./gcc/ -B/usr/local/avr/avr/bin/ -B/usr/local/avr/avr/lib/ -isystem /usr/local/avr/avr/include -isystem /usr/local/avr/avr/sys-include -O2  -O2 -g -O2   -DIN_GCC -DCROSS_COMPILE   -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition  -isystem ./include  -DDF=SF -Dinhibit_libc -mcall-prologues -g  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED -Dinhibit_libc -I. -I. -I../../gcc -I../../gcc/. -I../../gcc/../include -I../../gcc/../libcpp/include  -DL_muldi3 -c ../../gcc/libgcc2.c -o libgcc/./_muldi3.o
/tmp/ccdQdZmJ.s: Assembler messages:
/tmp/ccdQdZmJ.s:26: Error: `)' required
/tmp/ccdQdZmJ.s:26: Error: garbage at end of line
/tmp/ccdQdZmJ.s:27: Error: `)' required
/tmp/ccdQdZmJ.s:27: Error: garbage at end of line
make[3]: *** [libgcc/./_muldi3.o] Error 1
make[3]: Leaving directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/gcc'
make[2]: *** [stmp-multilib] Error 2
make[2]: Leaving directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr/gcc'
make[1]: *** [all-gcc] Error 2
make[1]: Leaving directory `/home/gerard/Desktop/gcc-4.1.1/obj-avr'
make: *** [all] Error 2


Is there any solution?

Thanks for your help!

And I've got a last question. I have started a new project, and I've chosen atmega2561 for it, but I see in some posts & mails that this version is supported as a "beta". May I change to m1281?

Gerard.

P.D. I attach the patch that's giving that error.

Attachment: gcc-4.1-new-devices-m256X.patch
Description: Binary data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]