bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] tar-1.15: locale.h needed but not included


From: Michael Deutschmann
Subject: [Bug-tar] tar-1.15: locale.h needed but not included
Date: Mon, 20 Dec 2004 23:57:32 -0800 (PST)

Compilation of tar-1.15 fails on rmt/rmt.c and src/tar.c (at least) with
an error that LC_ALL is not defined.  The code is using setlocale(), but
isn't including <locale.h>.

There is a reference to <locale.h> in the "system.h" header file, but it
is guarded by an "#ifdef HAVE_LOCALE_H", and your configure.ac doesn't
check for locale.h.

Adding "-DHAVE_LOCALE_H" to CFLAGS supresses the problem.

(I'm also getting a testsuite failure for listed02.at:148, but appears
that issue has already been raised on this list.)

Vitals:
i386-pc-linux-gnu, glibc 2.1.3, gcc 2.95.3

---- Michael Deutschmann <address@hidden>




reply via email to

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