*BSD News Article 26474


Return to BSD News archive

Xref: sserve comp.os.386bsd.questions:8237 comp.os.386bsd.misc:1873
Newsgroups: comp.os.386bsd.questions,comp.os.386bsd.misc
Path: sserve!newshost.anu.edu.au!munnari.oz.au!metro!basser.cs.su.oz.au!harbinger.cc.monash.edu.au!yeshua.marcam.com!news.kei.com!sol.ctr.columbia.edu!howland.reston.ans.net!cs.utexas.edu!swrinde!sgiblab!pacbell.com!toad.com!kumr!pozar
From: pozar@kumr.uucp (Tim Pozar)
Subject: Re: Httpd for FreeBSD.. anyone?
Message-ID: <1994Jan24.183236.24172@kumr.uucp>
Keywords: NCSA http freebsd
Organization: Late Night Software (San Francisco)
References: <2ho8iv$oca@ntx.City.UniSA.edu.au>
Date: Mon, 24 Jan 1994 18:32:36 GMT
Lines: 23

In article <2ho8iv$oca@ntx.City.UniSA.edu.au> deraad@CUTL.City.UniSA.edu.au (Mark de Raad) writes:
>I was wondering whether anyone has compiled the NCSA (or other) http
>daemon for FreeBSD (1.02)?.. It keep coming up with complaints about
>my dirent.h file, specifically:
>
>/usr/include/dirent.h:48: parse error before `u_long'
>dirent.h:48: warning: no semicolon at end of struct or union
>dirent.h:49: warning: data definition has no type or storage class
>dirent.h:50: parse error before `d_namlen'
>dirent.h:50: warning: data definition has no type or storage class
>dirent.h:57: parse error before `}'
>
>This seems to indicated a broken dirent.h file, but I have never run 
>into this problem before.

I have compiled it for NetBSD 0.9 and 0.8.  You just need to include the
sys/types.h header.  u_long just needs to be defined...

Tim
-- 
                     Internet: pozar@kumr.lns.com  
Snail: Tim Pozar / KKSF / 77 Maiden Lane / San Francisco CA 94108 / USA
             POTS: +1 415 788 2022  Radio: KC6GNJ / KAE6247