NetBSD Problem Report #31861

From khym@azeotrope.org  Tue Oct 18 21:55:39 2005
Return-Path: <khym@azeotrope.org>
Received: from yerfable.azeotrope.org (cdm-208-180-124-100.gtwn.cox-internet.com [208.180.124.100])
	by narn.netbsd.org (Postfix) with ESMTP id 4956063B850
	for <gnats-bugs@gnats.NetBSD.org>; Tue, 18 Oct 2005 21:55:39 +0000 (UTC)
Message-Id: <200510182155.j9ILt8TL018341@gedd.azeotrope.org>
Date: Tue, 18 Oct 2005 16:55:10 -0500 (CDT)
From: Dave Huang <khym@azeotrope.org>
Reply-To: khym@azeotrope.org
To: gnats-bugs@netbsd.org
Subject: Namespace pollution: m68k port's <sys/signal.h> includes <m68k/cpuframe.h>
X-Send-Pr-Version: 3.95

>Number:         31861
>Category:       port-m68k
>Synopsis:       Namespace pollution: m68k port's <sys/signal.h> includes <m68k/cpuframe.h>
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    port-m68k-maintainer
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Oct 18 21:56:00 +0000 2005
>Closed-Date:    Sat Nov 12 09:38:58 +0000 2005
>Last-Modified:  Sat Nov 12 09:38:58 +0000 2005
>Originator:     Dave Huang
>Release:        NetBSD 3.99.7
>Organization:
Name: Dave Huang     |   Mammal, mammal / their names are called /
INet: khym@bga.com   |   they raise a paw / the bat, the cat /
FurryMUCK: Dahan     |   dolphin and dog / koala bear and hog -- TMBG
Dahan: Hani G Y+C 24 Y++ L+++ W- C++ T++ A+ E+ S++ V++ F- Q+++ P+ B+ PA+ PL++
>Environment:


System: NetBSD gedd.azeotrope.org 3.99.7 NetBSD 3.99.7 (GEDD) #14: Mon Jul 4 22:59:03 CDT 2005 khym@cheetah.azeotrope.org:/usr/obj.mac68k/sys/arch/mac68k/compile/GEDD mac68k
Architecture: m68k
Machine: mac68k
>Description:
	I'm trying to build the emacs-21.4nb1 package, and it's failing
with:
In file included from dispnew.c:41:
frame.h:88: error: redefinition of `struct frame'

This is due to <sys/signal.h> including <m68k/cpuframe.h>, which defines
a struct frame. In rev 1.13 of sys/arch/m68k/include/signal.h, that was
protected by an #if defined(__M68K_SIGNAL_PRIVATE), but rev 1.14 removed
that.
>How-To-Repeat:
	Try to compile some code that #includes <sys/signal.h>, but also
defines a struct frame.
>Fix:

>Release-Note:

>Audit-Trail:

State-Changed-From-To: open->closed
State-Changed-By: kleink@netbsd.org
State-Changed-When: Sat, 12 Nov 2005 09:38:58 +0000
State-Changed-Why:
Duplicate of port-m68k/26048; please direct follow-ups to that PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.