To: None <port-m68k-maintainer@netbsd.org, gnats-admin@netbsd.org,>
From: Dave Huang <khym@azeotrope.org>
List: netbsd-bugs
Date: 10/18/2005 21:56:00
>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: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Oct 18 21:56:00 +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:
>Unformatted: