Return to BSD News archive
Xref: sserve comp.windows.x.i386unix:10920 comp.os.386bsd.apps:1322 comp.os.386bsd.questions:12030 Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!EU.net!Germany.EU.net!b.marco.de!krabat!leo From: leo@krabat.marco.de (Matthias Pfaller) Newsgroups: comp.windows.x.i386unix,comp.os.386bsd.apps,comp.os.386bsd.questions Subject: Re: __NetBSD__ X11R6 i386 Message-ID: <3813@krabat.marco.de> Date: 2 Aug 94 12:31:26 GMT References: <30dr4j$phk@darum.uni-mannheim.de> <bakulCtsIBF.4BH@netcom.com> Followup-To: comp.windows.x.i386unix,comp.os.386bsd.apps,comp.os.386bsd.questions Organization: marco GmbH, D-85221 Dachau Lines: 15 X-Newsreader: TIN [version 1.2 PL2] Bakul Shah (bakul@netcom.com) wrote: > Andrew Wheadon (andrew@wipux2.wifo.uni-mannheim.de) writes: > > When making World it's failing after trying to create a new Makefile > > with the compiled imake. It fails with both gnumake and bsdmake. > This is due to the 64 bit off_t type in NetBSD-current. To fix > this you need to either have a proper lseek() declaration in > imake.c's scope, or a quick and dirty fix is to just use a > (off_t) in the lseek call in imake.c. BTW, this is the same fix The problem is indeed the 64 bit off_t, but you don't need the proper lseek() declaration but the proper ftruncate declaration. Anyway, thank's for the hint. It put me on the right track... Matthias (leo@marco.de)