From owner-freebsd-bugs Tue Nov 6 11: 0:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 891B637B41A for ; Tue, 6 Nov 2001 11:00:01 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id fA6J01H73949; Tue, 6 Nov 2001 11:00:01 -0800 (PST) (envelope-from gnats) Received: from cauchy.math.missouri.edu (cauchy.math.missouri.edu [128.206.49.166]) by hub.freebsd.org (Postfix) with ESMTP id 8DCA837B418 for ; Tue, 6 Nov 2001 10:59:27 -0800 (PST) Received: (from stephen@localhost) by cauchy.math.missouri.edu (8.11.6/8.11.6) id fA6IxQx73248; Tue, 6 Nov 2001 12:59:26 -0600 (CST) (envelope-from stephen) Message-Id: <200111061859.fA6IxQx73248@cauchy.math.missouri.edu> Date: Tue, 6 Nov 2001 12:59:26 -0600 (CST) From: Stephen Montgomery-Smith Reply-To: Stephen Montgomery-Smith To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: bin/31806: nl_langinfo is in libc but not in include files. Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 31806 >Category: bin >Synopsis: nl_langinfo is in libc but not in include files. >Confidential: no >Severity: serious >Priority: high >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Nov 06 11:00:01 PST 2001 >Closed-Date: >Last-Modified: >Originator: Stephen Montgomery-Smith >Release: FreeBSD 4.4-STABLE i386 >Organization: University of Missouri >Environment: System: FreeBSD cauchy 4.4-STABLE FreeBSD 4.4-STABLE #0: Sat Nov 3 11:57:39 CST 2001 stephen@cauchy:/usr/obj/usr/src/sys/cauchy i386 libc, libc_r >Description: nl_langinfo is in the libraries like libc, but it is not mentioned anywhere in the include files. This creates a problem for ports like gnupg or mozilla, because the configure script finds nl_langinfo in libc, but it then files to compile because there is no langinfo.h >How-To-Repeat: cd /usr/ports/security/gnupg make ..... cc -DHAVE_CONFIG_H -I. -I. -I.. -I../include -I../intl -I/usr/local/include -O -march=pentiumpro -DCOMPAT_LINUX_THREADS -DVM_STACK -Wall -c miscutil.c miscutil.c: In function `asctimestamp': miscutil.c:160: warning: implicit declaration of function `nl_langinfo' miscutil.c:160: `D_T_FMT' undeclared (first use in this function) miscutil.c:160: (Each undeclared identifier is reported only once miscutil.c:160: for each function it appears in.) miscutil.c:160: warning: passing arg 2 of `mem2str' makes pointer from integer without a cast *** Error code 1 >Fix: Looks like langinfo.h is in src-cur, so best to get it into src-4 as soon as possible. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message