Return to BSD News archive
Newsgroups: comp.os.386bsd.questions Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!bunyip.cc.uq.oz.au!munnari.oz.au!ihnp4.ucsd.edu!usc!howland.reston.ans.net!EU.net!sun4nl!sci.kun.nl!wittlin From: wittlin@sci.kun.nl (Aleksander Wittlin) Subject: Re: Did anyone compiled xvgr for FreeBSD? Message-ID: <CqArGt.DJx@sci.kun.nl> Keywords: FreeBSD, XFree86 ACE xvgr Sender: news@sci.kun.nl (News owner) Nntp-Posting-Host: angel.sci.kun.nl Organization: University of Nijmegen, The Netherlands X-Newsreader: NN version 6.4.19 References: <Cq783F.9Dt@sci.kun.nl> <2rnsli$na7@usenet.INS.CWRU.Edu> Date: Tue, 24 May 1994 07:58:05 GMT Lines: 32 In <2rnsli$na7@usenet.INS.CWRU.Edu> ljo@johnny5.eeap.cwru.edu (L Jonas Olsson) writes: >In article <Cq783F.9Dt@sci.kun.nl> wittlin@sci.kun.nl (Aleksander Wittlin) writes: >> >>Hello, >>did anyone succeeded to run xvgr (data display and >>processing software from Paul J. Turner, available via >>anon ftp from ftp.ccalmr.ogi.edu or ftp.x.org) under FreeBSD >>version 1.1 ? I tried to compile both versions, 2.09 and 2.10 >>under FreeBSD 1.1R, XFree86 1.2.1 and with binaries of >>XView 3.2 from freebsd.cdrom.com packages 1.1 directory. >> Both xvgr versions compile without any problems >>(a few warnings about pointers refered as integers without >>a cast) on 8MB 486DX and both dump core >>with "floating point exception" when I try to run them. > I just compiled the Motif version xmgr, and it was also getting >floating point exception. The trouble was that several files were >missing the prototype for atof(). I added #include <stdlib.h> to >all files using atof() and it worked fine after that. > If this doesn't help the Xview version you can email me. >Jonas That was it. I added missing #include <stdlib.h> to these files and recompiled. Now it works fine. Thank you! Aleksander Wittlin High Field Magnet Laboratory University of Nijmegen The Netherlands