[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Autoconf AC_CHECK_SIZEOF always 0 on CentOS

From: Eric Blake
Subject: Re: Autoconf AC_CHECK_SIZEOF always 0 on CentOS
Date: Tue, 07 Aug 2012 12:59:50 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0

On 08/07/2012 12:20 PM, Inge Henriksen wrote:
> I use GNU Autoconf 2.63 on CentoOS 6.3 32-bit. In my configure script I check
> the sizes of some types, like:
> , but the result is always 0 when running ./configure:
> checking size of char... 0
> checking size of int... 0
> checking size of long... 0
> The same configurations run fine on Mac OS X SL and Ubuntu though.
> Any ideas why AC_CHECK_SIZEOF returns 0 on CentOS?

Not without seeing the config.log snippets corresponding to those tests
getting the wrong results.  It may be a case of compiler warnings being
turned up to high and causing a spurious miscompilation of the example,
but the config.log output would make that point clear.

Eric Blake   address@hidden    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

[Prev in Thread] Current Thread [Next in Thread]