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

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

[avr-gcc-list] itoa(): _udivhi3 undefined


From: Richter_Matthias
Subject: [avr-gcc-list] itoa(): _udivhi3 undefined
Date: Wed, 28 Mar 2001 13:12:49 +0200

Hello,

I wanted to use the function itoa() in my program. When I tried to
compile this program, I got this error message:

address@hidden:> /opt/avrgcc/bin/avr-gcc -mmcu=at90s8515 -o lok2_1.out
lok2_1.c
lok2_1.c: In function `main':
lok2_1.c:56: warning: return type of `main' is not `int'
/opt/avrgcc/bin/../lib/gcc-lib/avr/2.97/../../../../avr/lib/libc.a(itoa.o):
In 
function `itoa':
./misc/itoa.S:45: undefined reference to `_udivhi3'

I couldn't find the definition of '_udivhi3'. Where is it (should it
be?) defined?

(used version of gcc/binutils/libc: Gunnar's binary distribution
(20010228), Linux)

Matthias



reply via email to

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