Error in building 1.6.7 from repository

View: New views
3 Messages — Rating Filter:   Alert me  

Error in building 1.6.7 from repository

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi All,

I'm getting an error in building post-1.6.7 from the repository:

avr-gcc -DHAVE_CONFIG_H -I. -I. -I../../.. -I../../../common -I../../../include -g -Wall -W -Wstrict-prototypes -D__COMPILING_AVR_LIBC__ -mcall-prologues -Os -x assembler-with-cpp -D__COMPILING_AVR_LIBC__ -c -o eerd_block_at90s1200.o \
    -mmcu= \
    ../../../libc/misc/eerd_block.S
cc1.exe: error: missing argument to "-mmcu="
make[5]: *** [eerd_block_at90s1200.o] Error 1
make[5]: Leaving directory `/c/avrdev/avr-libc/avr-libc/avr/lib/avr2'
make[4]: *** [all-recursive] Error 1
make[4]: Leaving directory `/c/avrdev/avr-libc/avr-libc/avr/lib/avr2'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/c/avrdev/avr-libc/avr-libc/avr/lib'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/c/avrdev/avr-libc/avr-libc/avr'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/c/avrdev/avr-libc/avr-libc'
make: *** [all] Error 2

The error message is obvious. However I don't know why this is happening, though I haven't looked deeply into it yet.

Anyone have any ideas?

Eric Weddington


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@...
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

Re: Error in building 1.6.7 from repository

by Joerg Wunsch :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As Weddington, Eric wrote:

> cc1.exe: error: missing argument to "-mmcu="
> make[5]: *** [eerd_block_at90s1200.o] Error 1

dejavu... Trying to remember...

Ah, now I remember: you have to upgrade your GNU make.

I discovered this while you were on vacation, see here:

http://lists.nongnu.org/archive/html/avr-libc-dev/2009-07/msg00001.html

If upgrading GNU make is not an option to you, we have to hack up the
Rules.am file to use a different approach rather than the lastword
built-in function.

--
cheers, J"org               .-.-.   --... ...--   -.. .  DL8DTL

http://www.sax.de/~joerg/                        NIC: JW11-RIPE
Never trust an operating system you don't have sources for. ;-)


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@...
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev

RE: Error in building 1.6.7 from repository

by Weddington, Eric :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

 

> -----Original Message-----
> From:
> avr-libc-dev-bounces+eric.weddington=atmel.com@...
> [mailto:avr-libc-dev-bounces+eric.weddington=atmel.com@nongnu.
> org] On Behalf Of Joerg Wunsch
> Sent: Friday, August 07, 2009 3:32 AM
> To: avr-libc-dev@...
> Subject: Re: [avr-libc-dev] Error in building 1.6.7 from repository
>
> As Weddington, Eric wrote:
>
> > cc1.exe: error: missing argument to "-mmcu="
> > make[5]: *** [eerd_block_at90s1200.o] Error 1
>
> dejavu... Trying to remember...
>
> Ah, now I remember: you have to upgrade your GNU make.
>
> I discovered this while you were on vacation, see here:
>
> http://lists.nongnu.org/archive/html/avr-libc-dev/2009-07/msg0
> 0001.html

Ah, yes, now I remember that message going by.


>
> If upgrading GNU make is not an option to you, we have to hack up the
> Rules.am file to use a different approach rather than the lastword
> built-in function.

Upgrading is a PITA, considering the chaotic state of MinGW. I'll give it a try...

Thanks!

Eric


_______________________________________________
AVR-libc-dev mailing list
AVR-libc-dev@...
http://lists.nongnu.org/mailman/listinfo/avr-libc-dev