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

Re: [MiNT] Some freemint questions



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 2013-02-04 16:07, M.A. Kehr wrote:
> In file included from /usr/include/bits/posix1_lim.h:126, from
> /usr/include/limits.h:153, from ../strtol.c:29: 
> /usr/include/bits/local_lim.h:49: warning: `__INT_MAX__' redefined 
> /usr/lib/gcc-lib/m68k-atari-mint/2.95.3/include/limits.h:65:
> warning: this is the location of the previous definition make[5]:
> *** [strtol.o] Error 1
> 
> What does this mean?


That means that either the include paths are not set up correctly or
that there is an inconsistency in how header files get included in the
source files.  The source file strtol.c pulls in /usr/include/limits.h
instead of /usr/lib/gcc-lib/m68k-atari-mint/2.95.3/include/limits.h
although the correct one was already included.

- From the top of my head I remember that some define had to be provided
to the make command or put in some Makefile in order to be able to
cross-compile MiNT.  But don't take that for a certainty, better
double-check the mailing list archives.

Hth.  Cheers,
	T.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://www.enigmail.net/

iF4EAREIAAYFAlEP7v0ACgkQSwr0ZkS0/dzkhwD/fO1kELM8FjjP9GSBl8Wzkz70
EYnIQbWKFQjJZb6t4LIBAKE+aX4hHe+MX5hGtj3oEaAzKvokrDGcd2AuAmvcrgdw
=JJPb
-----END PGP SIGNATURE-----