vile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [vile] Two fixes for vile-9.8l


From: Kevin Buettner
Subject: Re: [vile] Two fixes for vile-9.8l
Date: Thu, 27 Mar 2014 21:50:23 -0700

On Thu, 27 Mar 2014 20:10:35 -0400
Thomas Dickey <address@hidden> wrote:

> On Thu, Mar 27, 2014 at 04:59:19PM -0700, Kevin Buettner wrote:
>
> > The first is that I'm seeing a build error when compiling ada-filt.c
> > (which is generated from ada-filt.l).  This is the error:
> > 
> > flex -t ../../vile-9.8l.hacked/filters/ada-filt.l >> ada-filt.c
> > gcc -c -I. -I.. -I../../vile-9.8l.hacked/filters -I../../vile-9.8l.hacked 
> > -DHAVE_CONFIG_H  -D_GNU_SOURCE  -D_REENTRANT -I/usr/local/include 
> > -D_LARGEFILE_SOURCE -D_FILE_OFFSET_BITS=64 -I/usr/lib64/perl5/CORE     
> > -DOSMINORVERSION=13  -DNARROWPROTO=1 -DFUNCPROTO=15 -DOSMAJORVERSION=3 -g 
> > -O2  -fno-strict-aliasing -pipe -fstack-protector  ada-filt.c
> > <stdout>:532:11: error: conflicting types for 'yyget_leng'
> > In file included from ../../vile-9.8l.hacked/filters/ada-filt.l:12:0:
> > ../../vile-9.8l.hacked/filters/filters.h:238:12: note: previous declaration 
> > of yyget_leng' was here
> >  extern int yyget_leng (void);
> >             ^
> > <stdout>:1650:11: error: conflicting types for 'yyget_leng'
> > In file included from ../../vile-9.8l.hacked/filters/ada-filt.l:12:0:
> > ../../vile-9.8l.hacked/filters/filters.h:238:12: note: previous declaration 
> > of yyget_leng' was here
> >  extern int yyget_leng (void);
> > 
> > I see this error on both Fedora 19 and 20.  I don't recall if it was
> > a problem in earlier versions.
> 
> hmm - I did make changes in 9.8l to allow building with "new" flex
> (which I assume you're using).  What's "rpm -qi flex" say?

The output below is from my Fedora 20 machine.  My F19 box
produces similar output - it too lists the version as 2.5.37.

address@hidden ~]$ rpm -qi flex
Name        : flex
Version     : 2.5.37
Release     : 4.fc20
Architecture: x86_64
Install Date: Thu 27 Mar 2014 09:38:28 AM MST
Group       : Development/Tools
Size        : 773740
License     : BSD and LGPLv2+
Signature   : RSA/SHA256, Tue 03 Sep 2013 01:04:52 PM MST, Key ID 
2eb161fa246110c1
Source RPM  : flex-2.5.37-4.fc20.src.rpm
Build Date  : Tue 03 Sep 2013 11:08:42 AM MST
Build Host  : buildvm-02.phx2.fedoraproject.org
Relocations : (not relocatable)
Packager    : Fedora Project
Vendor      : Fedora Project
URL         : http://flex.sourceforge.net/
Summary     : A tool for creating scanners (text pattern recognizers)
Description :
The flex program generates scanners.  Scanners are programs which can
recognize lexical patterns in text.  Flex takes pairs of regular
expressions and C code as input and generates a C source file as
output.  The output file is compiled and linked with a library to
produce an executable.  The executable searches through its input for
occurrences of the regular expressions.  When a match is found, it
executes the corresponding C code.  Flex was designed to work with
both Yacc and Bison, and is used by many programs as part of their
build process.

You should install flex if you are going to use your system for
application development.

- - - - - 

Tom, I want to thank you for your efforts at keeping vile going
all these many years.  I've been using it all this while, though
I haven't been active in it's development or maintenance in a
very long time.

Best regards,

Kevin



reply via email to

[Prev in Thread] Current Thread [Next in Thread]