[gopher] a picture is worth a thousand words

Cameron Kaiser spectre at floodgap.com
Tue Dec 29 05:00:49 UTC 2009


> > netbsd:
> >        (cd gopher ; ./configure )
> >        (cd gopher/object ; make all )
> >        (cd libtracker; $(MAKE) $(MFLAGS) MACHINE=dummy)
> >        (cd libvogl;   _$(MAKE) $(MFLAGS) linux)
> >        (cd gophervr;   cp Imakefile.linux Imakefile ; xmkmf; $(MAKE) $(MFLAGS))
> >
> > Note that libvogl and gophervr still have linux targets which essentially
> > presume i386. I fixed the endian problems with PowerPC (and presumably m68k,
> > etc.), but I have not tried to get any of the other targets compiling for
> > them.
> 
> Now it got a bit further!
> This is an i386 actually :-)
> 
> /* start */
> split.c:62: error: conflicting types for 'truncate'
> /usr/include/sys/types.h:245: error: previous declaration of 'truncate' was here
> *** Error code 1
> /* end */

That's an easy fix, one I'll put in the next release. In libtracker/split.c,
change line 61:

LOCAL void lt_truncate(name)

and 97,

lt_truncate(name);

I don't see this occuring anywhere else, so that should be sufficient.

-- 
------------------------------------ personal: http://www.cameronkaiser.com/ --
  Cameron Kaiser * Floodgap Systems * www.floodgap.com * ckaiser at floodgap.com
-- Understanding is a three-edged sword. -- Babylon 5, "Deathwalker" ----------



More information about the Gopher-Project mailing list