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

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

[avr-gcc-list] undefined reference to `__divmodqi4'


From: Guglielmo D.
Subject: [avr-gcc-list] undefined reference to `__divmodqi4'
Date: Mon, 6 Jan 2003 19:47:10 -0500 (EST)

Hi,

I get this error message with the folowing example:

void test(char c)
{
  ....
}

int main()
{
  int a = 100;
  a = a / 100;

  test(a);
}

$ avr-gcc -c test.c

$ avr-ld test.o -o testing

t.o: In function `main':
t.o(.text+0x3a): undefined reference to `__divmodqi4'


any idea ??

__________________________________________________________
Lèche-vitrine ou lèche-écran ?
magasinage.yahoo.ca
avr-gcc-list at http://avr1.org



reply via email to

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