*BSD News Article 50708


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!newsfeed.internetmci.com!psgrain!iafrica.com!ticsa.com!cstatd.cstat.co.za!aztec.co.za!not-for-mail
From: gram@aztec.co.za (Graham Wheeler)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: __dead2 undefined error with FreeBSD2.0/gcc2.6.2
Date: 6 Sep 1995 22:52:34 +0200
Organization: Aztec Public Access Internet
Lines: 17
Message-ID: <42l1mi$avc@aztec.co.za>
NNTP-Posting-Host: aztec.co.za

Hi folks

I recently installed FreeBSD2.0 from the Walnut Creek Jan 1995 CD-ROM.
I find when I try to compile a lot of software I get a problem with 
__dead2 being undefined. It is used in several of the system header
files but doesn't seem to be defined. Adding

#define __dead2

to the start of .c files makes the problem go away, but it's not an
ideal solution. 

Anyone know why I'm having this problem? Thanks in advance

Regards
Graham