delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1993/09/18/17:43:55

Date: 18 Sep 93 14:18 -0700
From: Philip Hodder <hodder AT geop DOT ubc DOT ca>
To: djgpp AT sun DOT soe DOT clarkson DOT edu
Subject: Re: Error message when compiling Gnuplot 3.4 - what is it?

I wrote:
> > 	I am trying to compile gnuplot 3.4 using djgpp 1.09 and have run into
> > 	the following error:
>
> > 	term.c: 305: Bad format encountered when including precompiled file
>
> >  	(not an exact copy of the message but close enough!). The line in
> >  	question is just " #include "term/dumb.trm" ". I've checked the  file
> > 	and it seems OK. Could someone tell me what this means - and how to
> > 	fix it!

DJ wrote:
> This means you're not using the file lib/specs that was shipped with
> 1.09.  Any include file with a three character extension will fail
> this way without the -noprecomp switch for cpp (specified in
> lib/specs).  As of gcc 2.4.5 it's disabled inside cpp instead.
> 
> Try running with "-v" and make sure you get the -noprecomp switch on
> cpp.

Thanks alot - that  did the trick. That'll teach me to go around deleting
files when I don't know what they do! Gnuplot compiles and runs with no
problems (so far... :-).

		Phil.

------------------------------------------------------------------------------
  Philip J. C. Hodder                      INTERNET: hodder AT geop DOT ubc DOT ca
  Dept. of Geophysics & Astronomy          PHONE:    (604) 822-6722 
  #129-2219 Main Mall                      FAX:      (604) 822-6047
  University of British Columbia          
  Vancouver, British Columbia, Canada         
  V6T 1Z4                                  
------------------------------------------------------------------------------
"I'm about 100 yards off the green ... think I'll take a 5 Weasel!"
                                                               - Larry Sanders
------------------------------------------------------------------------------


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019