Compile Error Asterik-10.2.1

I am trying to compile Asterik-10.2.1 under Centos Minimal Install 6.2.
I am receiving the following warnings and errors when trying to Install and Compile Asterisk:

1.Warnings about the Clock skew detected. Your build may be incomplete.

1.Warnings about the Clock skew detected. Your build may be incomplete.
2. #Lots of Errors revolving around declaration of parameters#
/usr/include/bits/type.h:40: error: declaration for parameter ‘__uint16_t’ but no such parameter
chan_sip.c:31462: error: expected ‘{’ at end of input
make[1]: *** [chan_sip.0] Error 1
make: *** [channels-install] Error 2

Any help is appreciated thank you.

  1. set the system time to the current time, or at least to later than when the tar-ball was created, then re-extract the archive.

  2. the first step should be ./configure, and I am surprised that anything happened without it.

Probably worth doing a “make clean” as well, especially if the system clock was ever ahead of the current time.