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

Re: [MiNT] m68k-atari-mint-flags and m68k-atari-mint-stack



After having added "config.guess" and "config.sub" from my system (can be found in /usr/share/autoconf/Autom4te for Mac OS X), "configure" step passed without errors. (I used "./configure --prefix=/usr/local/cross-tools")

But when I compile ("make"), I get this:
gcc -DHAVE_LIBINTL_H -DHAVE_CONFIG_H -I.. -I. -I.. -I../intl -I../intl -g -O2 -c error.c
error.c: In function `private_strerror':
error.c:86: error: conflicting types for `sys_errlist'
/usr/include/stdio.h:259: error: previous declaration of `sys_errlist'
error.c:87: error: conflicting types for `sys_nerr'
/usr/include/stdio.h:258: error: previous declaration of `sys_nerr'


Got it!!
To do it correctly, use: "make CFLAGS=-D_POSIX_SOURCE"


Sorry, for "Spamming" all of you with this odd messages. But I like this mailing list because it's a way to keep "knowledge" for all of future Users. I.e. try googling "mint mailing list <search term>" and if it was discussed before, you'll find some infos.

Wouldn't it be nice if mint mailing list archive was searchable from the website?

Regards
Philipp