Hi, I have defined #define SRAM_RULE_SIZE 6 unsigned int i; and i multiply these 2 and (i * SRAM_RULE_SIZE) ; and i get this compiler error.can't figure out why. (0): error : Function __mul_32 not found If anyone is aware what is causing this,Please, let me know. Thanks in advance, shweta
The IXP1200 does not support multiplication. There are data plane libraries which implement the __mul_32 function. The compiler maps any multiplication operation to __mul_32. You have to include them in your source code(rather compile them with the list file) I am not sure about the name of the file, can intrinsic.c or rtl.c. Vijay On Tue, 9 Nov 2004, Shweta Rao wrote:
Hi,
I have defined
#define SRAM_RULE_SIZE 6 unsigned int i;
and i multiply these 2 and
(i * SRAM_RULE_SIZE) ; and i get this compiler error.can't figure out why.
(0): error : Function __mul_32 not found
If anyone is aware what is causing this,Please, let me know.
Thanks in advance, shweta _______________________________________________ ixp1200 mailing list ixp1200@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/ixp1200
participants (2)
-
Shweta Rao
-
Vijay Ramamurthi