Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

Re: uint32

From: Joerg Bruehe <joerg(at)mysql.com>
Date: Thu Jul 26 2007 - 14:15:53 EDT


Hi Renato,

Renato Golin wrote:
> Hi,
>
> I'm building the skeleton 0.3 against mysql 5.1.20-beta and mysql's
> configure didn't detect uint32 on my system so my config.h is:
>
> /* Define to 1 if the system has the type `uint'. */
> #define HAVE_UINT 1
>
> /* Define to 1 if the system has the type `uint16'. */
> /* #undef HAVE_UINT16 */
>
> /* Define to 1 if the system has the type `uint32'. */
> /* #undef HAVE_UINT32 */
>
> /* Define to 1 if the system has the type `uint64'. */
> /* #undef HAVE_UINT64 */
>
> /* Define to 1 if the system has the type `uint8'. */
> /* #undef HAVE_UINT8 */
>
> /* Define to 1 if the system has the type `ulong'. */
> #define HAVE_ULONG 1
>
> Then, the include/my_global.h (around line 964):
>
> #ifndef HAVE_UINT32
> typedef unsigned long uint32;
> #endif
> #else
> #error Neither int or long is of 4 bytes width
> #endif
>
> and the build fails... :(

would you mind quoting the exact error message ? As your text reads now, we are forced to guess ...

Jörg

-- 
Joerg Bruehe, Senior Production Engineer
MySQL AB, www.mysql.com



-- 
MySQL Internals Mailing List
For list archives: 
http://lists.mysql.com/internals
To unsubscribe:    
http://lists.mysql.com/internals?unsub=lists@pantek.com
Received on Thu Jul 26 14:16:17 2007

This archive was generated by hypermail 2.1.8 : Thu Aug 09 2007 - 19:06:21 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library