*BSD News Article 35454


Return to BSD News archive

Newsgroups: comp.os.386bsd.questions
Path: sserve!newshost.anu.edu.au!munnari.oz.au!constellation!news.uoknor.edu!ns1.nodak.edu!netnews.nwnet.net!news.clark.edu!spool.mu.edu!sol.ctr.columbia.edu!news.cs.columbia.edu!news.columbia.edu!lamont!anshar.shadow.net!nobody
From: cklaus@anshar.shadow.net (Christopher Klaus)
Subject: compiling gcc 2.6 on netbsd
Message-ID: <34dior$kdl@anshar.shadow.net>
Lines: 36
Sender: news@lamont.ldgo.columbia.edu
Organization: Shadow Information Services, Inc.
X-Newsreader: TIN [version 1.2 PL2]
Date: Sun, 4 Sep 1994 22:46:51 GMT




I am compiling gcc and was using gcc2.4.5 version.  For some reason,
I keep getting many errors of size_t declared previously or not
declared.  I get similiar problems with sys_errlist in many other
packages of it not being declared or already declared or improperly
declared.  How do i fix this problem?

/usr/home/cklaus/tmp/gcc-2.6.0/include/stddef.h:169: warning: this is the 
location of the previous definition
../objc/hash.h: In function `hash_ptr':
In file included from ../objc/objc-api.h:30,
                 from encoding.h:32,
                 from encoding.c:28:
../objc/hash.h:158: `size_t' undeclared (first use this function)
../objc/hash.h:158: (Each undeclared identifier is reported only once
../objc/hash.h:158: for each function it appears in.)
../objc/hash.h:158: parse error before `key'
/usr/include/stdio.h: At top level:
In file included from ../objc/objc-api.h:31,
                 from encoding.h:32,
                 from encoding.c:28:
/usr/include/stdio.h:47: `size_t' used prior to declaration
*** Error code 1

Stop.
*** Error code 1



-- 
Christopher William Klaus  <cklaus@shadow.net>  <iss@shadow.net>
Internet Security Systems, Inc.         Computer Security Consulting
2209 Summit Place Drive,              Penetration Analysis of Networks
Atlanta,GA 30350-2430. (404)998-5871.