Alloca is a type of memory allocation function available under linux, but presumably not available under Windows unless you add the correct .lib to the linker dependencies.
Brian do you know if there is a standard alloca available for Windows. You could try rebuilding the library with: ./configure --disable-alloca etc. Bill. 2009/6/10 Peter_APIIT <[email protected]>: > > When i try to > > mpz_t a, b, c; > > mpz_init(a); > mpz_init(b); > mpz_init(c); > > mpz_set_str(a, "123", 10); > mpz_set_str(b, "1244", 10); > mpz_set_str(c, 0, 10); > > It also gives unresovled external symbol. > > error LNK2001: unresolved external symbol __alloca libmpir.a > > > error LNK2001: unresolved external symbol __alloca libmpir.a > > > Any help please. > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "mpir-devel" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/mpir-devel?hl=en -~----------~----~----~----~------~----~------~--~---
