*BSD News Article 79410


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!uwm.edu!cs.utexas.edu!howland.erols.net!newsfeed.internetmci.com!in3.uu.net!News.MO.NET!Walden.mo.net!not-for-mail
From: debut@Walden.mo.net (David Buttrick)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: isode build... - help with lex and yacc!
Date: 29 Sep 1996 00:01:32 GMT
Organization: -=MO.NET=- MVP-Net, Inc's Missouri Operations
Lines: 66
Message-ID: <52ke8s$6f2@twain.mo.net>
References: <01bbacb8$32fd1f70$aee68bcd@Maurizio>
NNTP-Posting-Host: walden.mo.net
X-Newsreader: TIN [UNIX 1.3 950824BETA PL0]

OK, I can get most of the distribution to build, but there are two modules:

pepsy, and pepy that rely on lex and yacc, adn both these tools are 
outside of my range of experience. Here is a list of errors that I get:

=============================

cd pepsy; ./make DESTDIR=   -k all
cc -O    -I. -I../h -DPEPYPATH -DPEPSYPATH=\"/usr/include/isode/pepsy\"  
-c pepsy-yacc.c
pepsy-yacc.y: In function `hex2bin':
pepsy-yacc.y:157: warning: assignment makes pointer from integer without 
a cast
pepsy-yacc.y: In function `bit2bin':
pepsy-yacc.y:194: warning: assignment makes pointer from integer without 
a cast
lex.c: At top level:
In file included from pepsy-yacc.y:1362:
lex.c:237: conflicting types for `yytext'
pepsydefs.h:365: previous declaration of `yytext'

In file included from lex.l:106,
                 from pepsy-yacc.y:1362:
pepsy-yacc.y:85: warning: previous external decl of `calloc'
/usr/include/stdlib.h:89: warning: type mismatch with previous implicit 
declaration
pepsy-yacc.y:85: warning: previous implicit declaration of `calloc'
/usr/include/stdlib.h:89: warning: `calloc' was previously implicitly 
declared to return `int'
pepsy-yacc.y:123: warning: previous external decl of `free'
/usr/include/stdlib.h:94: warning: type mismatch with previous implicit 
declaration
pepsy-yacc.y:138: warning: previous implicit declaration of `free'
/usr/include/stdlib.h:94: warning: `free' was previously implicitly 
declared to return `int'
pepsy-yacc.y:108: warning: previous external decl of `malloc'
/usr/include/stdlib.h:100: warning: type mismatch with previous implicit 
declaration
pepsy-yacc.y:194: warning: previous implicit declaration of `malloc'
/usr/include/stdlib.h:100: warning: `malloc' was previously implicitly 
declared to return `int'
*** Error code 1 (continuing)

=============================

I know this does not help much, but does anyone have guesses about what 
the problem is???

David Buttrick (debut@mvp.net) wrote:
: Does anyone have experience building isode v. 8 under freebsd??
: 
: I have been messing with the make and .h files with no success.
: 
: if you want a dump of the errors, I can get it for you, but I thought i'd
: put this feeler out..
: 
: David Buttrick
: WEB Site Administrator, MVP-Net, Inc.
: 

-- 
David         Under Construction:
   Buttrick      http://walden.mo.net/~debut/geek
GCS d H s p? au a- w+ v C+++ UB+ P++ L 3 E+ N+ K++ W+ M++ V po Y t
5- j R- G' tv++ b+ D+ B-- e+ u+ h+ f++ r-- n- y*
WaterWorld COSTner'ed $275million. Windows 95 still has 275 million bugs.