Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!cancer.vividnet.com!hunter.premier.net!hammer.uoregon.edu!arclight.uoregon.edu!news.sprintlink.net!news-peer.sprintlink.net!howland.erols.net!news.mathworks.com!uunet!in1.uu.net!news.eden.com!interval.net!arlut.utexas.edu!usenet From: Ian Fink <fink@arlut.utexas.edu> Newsgroups: comp.unix.bsd.bsdi.misc,comp.unix.bsd.misc,comp.unix.misc,comp.unix.questions,comp.infosystems.www.servers.unix Subject: Re: mod_counter & gd1.2 Date: Tue, 29 Oct 1996 13:02:09 -0600 Organization: Applied Research Laboratories - The University of Texas at Austin Lines: 26 Message-ID: <327654B1.1390@arlut.utexas.edu> References: <327636B0.68EE@Greenwood.net> NNTP-Posting-Host: seadevil.arlut.utexas.edu Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (X11; I; HP-UX A.09.05 9000/730) To: "Jeremy T. Elston" <TechSupport@Greenwood.net> Xref: euryale.cc.adfa.oz.au comp.unix.bsd.bsdi.misc:5203 comp.unix.bsd.misc:1418 comp.unix.misc:25917 comp.unix.questions:90189 comp.infosystems.www.servers.unix:21252 Jeremy T. Elston wrote: > > Running BSDI 2.1 (with all patches) and Apache 1.1.1. Trying to install mod_counter > (from galaxy.net). Can not get gd1.2 to compile on my machine. > > make > gcc -O -c gd.c > In file included from gd.c:1: > /usr/include/malloc.h:197: syntax error before `u_short' > /usr/include/malloc.h:211: syntax error before `u_short' > /usr/include/malloc.h:223: syntax error before `caddr_t' > *** Error code 1 > > Stop. > > Sorry, I am not a code compiling wiz, could someone please drop me a clue > here? Thanks. I will check the newsgroup for responses. In the file gd.c comment out the line: #include <malloc.h> I did this under BSD/OS 2.0.1 using gcc. It compiled and the library works great! Ian Fink fink@arlut.utexas.edu