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

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

Re: [avr-gcc-list] strtol linker error


From: Jason Kyle
Subject: Re: [avr-gcc-list] strtol linker error
Date: Thu, 19 Jul 2001 08:55:00 +1200

At 04:02 19/07/2001, Heinrich Vermeulen wrote:
Hi

I got the following message when linking:
"avr-gcc ***sourceobjectfiles*** /opt/avrgcc/avr/lib/avr3/libc.a
/opt/avrgcc/avr/lib/avr3/libc.m -Wl,-Map=itim.map,--cref,-Tatmega103.x
-mmcu=atmega103 -o itim.elf
/opt/avrgcc/avr/lib/avr3/libc.a (strtol.o): In function 'strtol':
/opt/avrgcc/avr-libc-20010331/src/bsd/strtol.c:113: undefined refernce to
'_ldiv'
"

What could be the problem or is it a bug?

Incompatible versions of gcc and avr-libc, there were some name changes a while ago when more optimised mul and div routines were put in the gcc avr port source. Get a more upto date avr-libc from http://www.amelek.gda.pl/avr/libc/ and your problems should vanish.

Cheers,

Jason Kyle

Thanks
Heinrich Vermeulen
address@hidden


_______________________________________________
avr-gcc-list mailing list
address@hidden
http://avr.jpk.co.nz/mailman/listinfo/avr-gcc-list




reply via email to

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