Certain versions of GCC do not accept long long constants in 32-bit mode, or accept it only with a warning (one which, unfortunately, cannot be selectively disabled). Most of the time, configure.pl will detect this and enable a workaround (though you may still see large numbers of warnings to the effect that a constant is too large to fit into a 'long'). If it does not, you can pass the flag --dumb-gcc at configure time to enable the workaround; it is safe to use this flag no matter what version of GCC you are using.
Versions of GCC which contain this bug include 2.95.x, 3.3, 3.4, and 4.0. A patch which lets the warning be toggled off was posted to the GCC Bugzilla site (bug 13358), and sent multiple times to the appropriate GCC mailing lists, but it was never applied. Perhaps someday... for now I've given up, but if someone else wants to try getting it in, I would certainly appreciate it.