Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 1998 11:12:22 -0500 (CDT)
From:      karl@denninger.net
To:        FreeBSD-gnats-submit@FreeBSD.ORG
Subject:   bin/8040: libskey Makefile correction - long, long open problem
Message-ID:  <199809241612.LAA21705@Codebase.mcs.net>

next in thread | raw e-mail | index | archive | help

>Number:         8040
>Category:       bin
>Synopsis:       Makefile has had "-Werror" for a long time, kills "make world"
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:
>Keywords:
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 24 09:20:01 PDT 1998
>Last-Modified:
>Originator:     Karl Denninger
>Organization:
Karl's Sushi and Packet Smashers
>Release:        FreeBSD 3.0-CURRENT i386
>Environment:

	All -CURRENT extracts for the last year

>Description:

	The Makefile for "libskey" has had the "-Werror" flag for the last
	six to eight months.  There are macros in some of the included files
	which are not used; this generates warnings, and -Werror causes 
	the build to fail

>How-To-Repeat:

	Grab current, type "make world", watch it stop at libskey.

>Fix:

The following patch comments out the "-Werror" for i386 machines.  When the
authors of libskey do a better fix, this can be backed out.

PLEASE COMMIT THIS!  I've been carping about this problem for months.

	
Index: Makefile
===================================================================
RCS file: /usr/cvs/src/lib/libskey/Makefile,v
retrieving revision 1.13
diff -r1.13 Makefile
14,16c14,17
< .if ${MACHINE_ARCH} == "i386"
< CFLAGS+=-Werror
< .endif
---
> CFLAGS+=-W -Wall
> #.if ${MACHINE_ARCH} == "i386"
> #CFLAGS+=-Werror
> #.endif


>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199809241612.LAA21705>