# Error: can not define uint64\_t when running ./configure

**URL:** <https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477>\
**Category:** NGINX\
**Created:** [November 25, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477 "2009-11-25T22:32:27Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![ppragin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47c2d/32.png) [@ppragin](https://www.ruby-forum.com/u/ppragin)\
**Post date:** [November 25, 2009, 10:32pm UTC](https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477/1 "2009-11-25T22:32:27Z")

</div>

I am trying to build ngnix-0.7.64 on CentOS release 5.2 64bit. I am  
getting this error when running ./configure. I am not able to find  
anything on google. Please help.

./configure  
checking for OS

- Linux 2.6.18-92.1.22.el5 x86\_64  
checking for C compiler … found
- using GNU C compiler
- gcc version: 4.1.2 20071124 (Red Hat 4.1.2-42)  
checking for gcc -pipe switch … found  
------snip------  
checking for PCRE library … found  
checking for system md library … not found  
checking for system md5 library … not found  
checking for OpenSSL md5 crypto library … found  
checking for zlib library … found  
creating objs/Makefile  
checking for int size … 4 bytes  
checking for long size … 8 bytes  
checking for long long size … 8 bytes  
checking for void \* size … 8 bytes  
checking for uint64\_t … uint64\_t not found u\_int64\_t not found  
./configure: error: can not define uint64\_t

Posted at Nginx Forum:

> **[error: can not define uint64\_t when running ./configure](https://forum.nginx.org/read.php?2,25614,25614#msg-25614)**
>
> I am trying to build ngnix-0.7.64 on CentOS release 5.2 64bit. I am getting this error when running ./configure. I am not able to find anything on google. Please help. \[root@app1:/home/ppragin/nginx-0.7.64\] ./configure checking for OS + Linux...

---

<div class="post-metadata">

**Author:** ![ppragin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47c2d/32.png) [@ppragin](https://www.ruby-forum.com/u/ppragin)\
**Post date:** [December 19, 2009, 3:25pm UTC](https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477/2 "2009-12-19T15:25:22Z")

</div>

On Wed, Nov 25, 2009 at 04:31:39PM -0500, ppragin wrote:

> ------snip------  
> checking for uint64\_t … uint64\_t not found u\_int64\_t not found  
> ./configure: error: can not define uint64\_t

What is in objs/autoconf.err near “checking for uint64\_t” ?

–  
Igor S.

> **[Igor Sysoev](http://sysoev.ru/en/)**

---

<div class="post-metadata">

**Author:** ![ppragin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47c2d/32.png) [@ppragin](https://www.ruby-forum.com/u/ppragin)\
**Post date:** [January 6, 2011, 7:36am UTC](https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477/3 "2011-01-06T07:36:08Z")

</div>

the same problem on open suse

Posted at Nginx Forum:

> **[Re: error: can not define uint64\_t when running ./configure](https://forum.nginx.org/read.php?2,25614,163999#msg-163999)**
>
> I am trying to build ngnix-0.7.64 on CentOS release 5.2 64bit. I am getting this error when running ./configure. I am not able to find anything on google. Please help. \[root@app1:/home/ppragin/nginx-0.7.64\] ./configure checking for OS + Linux...

---

<div class="post-metadata">

**Author:** ![ppragin](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/p/e47c2d/32.png) [@ppragin](https://www.ruby-forum.com/u/ppragin)\
**Post date:** [January 6, 2011, 8:38am UTC](https://www.ruby-forum.com/t/error-can-not-define-uint64-t-when-running-configure/179477/4 "2011-01-06T08:38:47Z")

</div>

Hello!

On Thu, Jan 06, 2011 at 01:34:46AM -0500, yang wrote:

> the same problem on open suse

Well, the same question:

> > What is in objs/autoconf.err near “checking for uint64\_t” ?

Though most likely you want to remove -Werror from CFLAGS, try

$ CFLAGS=“” ./configure

Alternatively, apply patch from here:

> **[\[PATCH\] Fix ./configure script for less error-forgiving compilers](http://mailman.nginx.org/pipermail/nginx-devel/2010-November/000548.html)**

Maxim D.
