bugvile, a vi-compatible text editor - Bugs: bug #24158, undefined reference to `filter_def'

 
 

bug #24158: undefined reference to `filter_def'

Submitter:  None
Submitted:  Fri 29 Aug 2008 12:34:14 AM UTC
   
 
Category:  None Severity:  3 - Normal
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Open
* Mandatory Fields

Add a New Comment Rich Markup
   

Fri 04 Sep 2009 05:02:28 PM UTC, comment #4: 

Sorry for the REALLY slow reply on this.  Had s personal disaster to deal with (my MacBook ended up at the bottom of Lake Washington)

I can confirm that the problem is fixed in 9.7t on OS-X 10.5 and Ubuntu Server 8.04.

Likely safe to close this one.

Ingmar Ellenberger <iellenberger>
Wed 01 Apr 2009 07:35:55 PM UTC, comment #3: 

More diagnostics.  From ./configure:


checking for flex... no
checking for lex... no
   ...
checking if : is really flex... no
   ...
checking if : supports character classes... yes
checking if : supports states... yes


From manpage bash(1):

SHELL BUILTIN COMMANDS
      ... yadda, yadda, yadda ...
   : [arguments]  No effect; the command does nothing beyond expanding arguments and performing any specified redirections.  A zero exit code is returned.


Methinks configure not be happy with bash.

Ingmar Ellenberger <iellenberger>
Wed 01 Apr 2009 07:22:25 PM UTC, comment #2: 

Had the same problem on Ubuntu Server 8.04.  Problem was that some other non-flex lex parser was installed.  Installed flex and all was happy.


sudo apt-get -y install flex
make clean
./configure
make


DIAGNOSTICS: (stop reading if you don't care)

Here's what clued me in to the problem.  This is a diff in makefiles between my Ubuntu and OSX builds:


diff -bBrw ubuntu/filters/makefile osx/filters/makefile
27,29c27,29
< LEX    = :
< LEXLIB    =
< LEX_OUTPUT_ROOT =
---
> LEX    = flex
> LEXLIB    = -lfl
> LEX_OUTPUT_ROOT = lex.yy


which resulted in the following rather strange line just before the error occurred:


echo "#include <flt_defs.h>" > ada-filt.c
: -t ada-filt.l >> ada-filt.c
gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H  -D_GNU_SOURCE -D_FILE_OFFSET_BITS=64  -g -O2  ada-filt.c


whereas my OS-X build had these lines:


echo "#include <flt_defs.h>" > ada-filt.c
flex -t ada-filt.l >> ada-filt.c
gcc -c -I. -I.. -I../filters -I.. -DHAVE_CONFIG_H  -U_XOPEN_SOURCE -D_XOPEN_SOURCE=500 -DSIGWINCH=28 -g -O2  ada-filt.c


Hope that helps

Ingmar Ellenberger <iellenberger>
Fri 29 Aug 2008 12:46:03 AM UTC, comment #1: 

Is that "./configure; make", or "./configure && make"?

I'm not seeing any problem, but for instance if the
configure script is not finding a lex (flex) program,
it would give an error, and not build.

Thomas Dickey <dickey>
Group administrator
Fri 29 Aug 2008 12:34:14 AM UTC, original submission:  

vile 9.7 on Centos 5, just with ./configure make

filterio.o: In function `flt_name':
/usr/src/vile/vile-9.7/filters/filterio.c:111: undefined reference to `filter_def'
filterio.o: In function `ProcessArgs':
/usr/src/vile/vile-9.7/filters/filterio.c:67: undefined reference to `filter_def'
filterio.o: In function `main':
/usr/src/vile/vile-9.7/filters/filterio.c:373: undefined reference to `filter_def'


Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by iellenberger (Posted a comment)
  • -email is unavailable- added by dickey (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follows 1 latest change.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-09-04 dickey StatusNone Fixed

    Back to the top

    Powered by Savane 3.13-cf05.
    Corresponding source code