*BSD News Article 64733


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.ysu.edu!usenet.ins.cwru.edu!magnus.acs.ohio-state.edu!math.ohio-state.edu!howland.reston.ans.net!newsfeed.internetmci.com!nntp-hub2.barrnet.net!news.ner.bbnplanet.net!cpk-news-hub1.bbnplanet.com!snooze.ser.bbnplanet.com!news.mountain.net!usenet
From: terryr@ovnet.com (Terry E. Rataiczak)
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: HTTPD 1.5c
Date: Thu, 28 Mar 1996 19:35:37 GMT
Organization: MountainNet, Inc. Morgantown WV 800.444.1458
Lines: 26
Message-ID: <4jepl6$r6l@news.mountain.net>
NNTP-Posting-Host: doghouse.heuristics.com
X-Newsreader: Forte Free Agent 1.0.82

I get the following error when trying to compile NCSAs httpde1.5c:

>make bsdi
cd src ; make ; cd ../cgi-src ; make ; cd ../support ; make
gcc  -c -g  -DAIX3 -DDIGEST_AUTH   -DDBM_SUPPORT httpd.c
In file included from constants.h:39, from httpd.c:92:
/usr/include/netinet/in.h:75: redefinition of `struct in_addr'
/usr/include/netinet/in.h:125: redefinition of `struct sockaddr_in'
/usr/include/netinet/in.h:140: redefinition of `struct ip_opts'
/usr/include/netinet/in.h:173: redefinition of `struct ip_mreq'
In file included from util.h:23, from httpd.c:104:
/usr/include/netinet/in.h:75: redefinition of `struct in_addr'
/usr/include/netinet/in.h:125: redefinition of `struct sockaddr_in'
/usr/include/netinet/in.h:140: redefinition of `struct ip_opts'
/usr/include/netinet/in.h:173: redefinition of `struct ip_mreq'
*** Error code 1

Stop.
*** Error code 1

Stop.

Any ideas?