gcc and a "long long" type

Pavel Novy novy@feld.cvut.cz
Wed Nov 7 09:56:00 GMT 2001


Hi,
I am experiencing the following issue when linking NetWare loadable 
module (Novell) with object file compiled with gcc:

.../nlmconv.exe: warning: symbol __divdi3 imported but not in import list

A very simple sample which demonstrates the issue follows:

int main (void)
{
   long long a = 1000;
   return a / 10;
}

It looks that it comes from operations with numbers of "long long" type.
Only division used here, but I expect that references to some other 
non-existing symbols will appear with other operations (multiplication, 
modulus, comparison, retyping ...). Any clue? Thanks.

Pavel



More information about the Gcc-bugs mailing list