[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Project builds fine on i686 but warnings and a compilation error show up
From: |
Juan A. Rubio |
Subject: |
Project builds fine on i686 but warnings and a compilation error show up on x86_64 |
Date: |
Sun, 10 Jun 2012 21:37:53 +0100 |
Hi,
I'm building a project of mine using autotools and I'm trying to figure out
a problem that recently came up. My project has been building correctly for
over a year under a number of i686 Ubuntu-based desktop platforms (various
ubuntu releases, 10.04 through to 12.04 on i686 desktops and laptops).
Recently I've been trying to build the same project under a x86_64 Ubuntu
Server-based system, and under this system the build fails. In addition to
the build failure, I've noticed the following warning showing up a number
of times in different places during the compilation. This warning which
never shows up when building the same project on the i686 systems.
warning: cast to pointer from integer of different size
[-Wint-to-pointer-cast]
Both systems are running pretty much the same build tools, in particular:
GNU Autoconf 2.68
gcc version 4.6.3 (Ubuntu/Linaro 4.6.3-1ubuntu5)
So I'm trying to figure out how to fix the build in the x86_64 system. Any
pointers/help would be much appreciated (I'm attaching config.log files
both systems)
Thanks in advance,
Juan
config.log.x86_64
Description: Binary data
config.log.i686
Description: Binary data
- Project builds fine on i686 but warnings and a compilation error show up on x86_64,
Juan A. Rubio <=