*BSD News Article 24660


Return to BSD News archive

Path: sserve!newshost.anu.edu.au!munnari.oz.au!news.Hawaii.Edu!ames!haven.umd.edu!news.umbc.edu!europa.eng.gtefsd.com!howland.reston.ans.net!sol.ctr.columbia.edu!destroyer!news.itd.umich.edu!altitude
From: altitude@css.itd.umich.edu (Alex Tang)
Newsgroups: comp.os.386bsd.questions
Subject: dirent.h
Date: 2 Dec 1993 22:52:02 GMT
Organization: University of Michigan ITD/User Services
Lines: 20
Message-ID: <2dlrii$6so@terminator.rs.itd.umich.edu>
NNTP-Posting-Host: stimpy.css.itd.umich.edu
X-Newsreader: TIN [version 1.2 PL1]

Hi.  I'm running NetBSD-0.8.  I'm trying to build httpd, but i'm having a
peculiar problem.  I keep getting errors from within the file
/usr/include/dirent.h, (when i use cc), and
/usr/local/lib/gcc-lib/i386--bsd.4.3/2.4.3/include (when I use gcc-2.4.5), 

it's saying:

cc -c -g -O -traditional  http_config.c
In file included from /usr/include/sys/dir.h:44, from httpd.h:83, from
http_config.c:9:
/usr/include/dirent.h:48: syntax error before `u_long'

I'm confused.  What do i need to do?

thanx...alex...

--
Alex Tang  ---  ALTITUDE@UMICH.EDU...USERW00Y@UMICHUM.BITNET
-----------+    U of M, SNRE: Student and Computer Consultant II,
PGP on req.|    ITD/CSS Consultant, Short asian with long hair :)