🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.gcc.help
Article #41699

can't compile oleo-1.6 on linux with gcc 2.7

#41699
From: E.J. Neafsey
Date: Mon, 26 Feb 1996 00:00
23 lines
1463 bytes
I have tried to compile oleo-1.6 for a few hours but am having no luck.   My system 
is linux 1.2.13 with gcc 2.7.   The compile failed right away for 
parse.tab.c, complaining about inconsistent definitions in time.h, stdlib.h, 
string.h, etc. for things like localtime, gmtime, getenv, strdup, and strstr.  I 
"fixed" these by putting a conditional in the relevant .h files:

 #ifndef OLEO
 offending line in .h file
 #endif

and then adding -DOLEO to the Makefile.  This stopped the errors.

However, I have now run into a problem compiling vsprintf.c which gives me error 
messages about "structure has no member name _cnt", "structure has no member named 
_ptr", and structure has no member named _flag", all referring to f._cnt, f._ptr, 
f._flag.  I have no idea how to fix this.  

It seems I am "trying too hard" to make this work because I am missing some 
important elment.  Any suggestions would be appreciated.  

e.j. neafsey
eneafse@luc.edu
 
Technical Details
Message-ID: <4gsghb$35o@artemis.it.luc.edu>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 11318c,30c8008bb5bc597d,start
X-Google-Attributes: gid11318c,public
From: "E.J. Neafsey" <eneafse@luc.edu>
Subject: can't compile oleo-1.6 on linux with gcc 2.7
Date: 1996/02/26
Message-ID: <4gsghb$35o@artemis.it.luc.edu>
X-Deja-AN: 141185214
content-type: text/plain; charset=us-ascii
organization: Loyola University Chicago
mime-version: 1.0
newsgroups: gnu.gcc.help
x-mailer: Mozilla 1.22 (Windows; I; 16bit)