[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
sh-utils 2.0j: configure bug
From: |
Keith Warno |
Subject: |
sh-utils 2.0j: configure bug |
Date: |
Thu, 7 Jun 2001 11:57:53 -0400 (EDT) |
Greetings.
configure of sh-utils 2.0j fails to set HAVE_DECL_STRNDUP to non-zero,
resulting in a strndup() declaration in src/sys2.h. Because the package
is compiled with an optimation flag (-O2) the compiler attempts to use
various string macros, one of which is strndup(). This conflicts with
the src/sys2.h:
In file included from system.h:278,
from date.c:28:
sys2.h:287: macro `strndup' used without args
make[2]: *** [date.o] Error 1
This is a minor thing; the build will work if HAVE_DECL_STRNDUP is
manually set to 1 or if the compiler is told not to use string inlines
(via defining __NO_STRING_INLINES).
My development environment consists of:
glibc 2.2.2
gcc 2.95.3
on a highly tweaked SuSE 6.2 i686 box
Attached is the generated config.h and config.log.
Regards,
kw
--
| Keith Warno cell: +1 609-209-5800
| http://www.valaran.com/ work: +1 609-716-7200 x243
| Valaran Corporation Penguin Guy SMS : address@hidden
+--------------------------------------------------------------//
config.h
Description: Text document
config.log
Description: Text document
- sh-utils 2.0j: configure bug,
Keith Warno <=