Hi Kiran, On Sep 6, 2:38 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote: > On Sep 5, 11:08 am, "William Stein" <[EMAIL PROTECTED]> wrote:> First, does > the file stdint.h exist on your machine? If so > > does the following program compile and run or not, and > > if so, what does it output: > > > #include <stdio.h> > > #include <stdint.h> > > main() { > > > printf("%d",LONG_BIT); > > > } > > It does not compile. I don't get an error from line 2, but LONG_BIT > does not appear to be defined. >
Could you add limits.h any try again? You should also force a complete rebuild of the sagelib spkg just to make sure there is no funny business left over. The following is from a Centos 5 box: [EMAIL PROTECTED] ~]$ cat LONG_BIT.C #include <stdio.h> #include <stdint.h> //#include <limits.h> main() { printf("%d",LONG_BIT); } [EMAIL PROTECTED] ~]$ g++ LONG_BIT.C LONG_BIT.C: In function 'int main()': LONG_BIT.C:7: error: 'LONG_BIT' was not declared in this scope [EMAIL PROTECTED] ~]$ cat LONG_BIT.C #include <stdio.h> #include <stdint.h> #include <limits.h> main() { printf("%d",LONG_BIT); } [EMAIL PROTECTED] ~]$ g++ LONG_BIT.C [EMAIL PROTECTED] ~]$ ./a.out 64 [EMAIL PROTECTED] ~]$ Cheers, Michael <SNIP> --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://sage.math.washington.edu/sage/ and http://sage.scipy.org/sage/ -~----------~----~----~----~------~----~------~--~---