bugGNU nano - Bugs: bug #44607, error when compiling 2.4.0 with...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44607: error when compiling 2.4.0 with '--disable-speller'

Submitter:  J1S <j1s>
Submitted:  Mon 23 Mar 2015 03:20:46 PM UTC
   
 
Severity:  3 - Normal Status:  Fixed
Assigned to:  bens Open/Closed:  Closed

Jump to the original submission

Fri 17 Apr 2015 10:30:06 AM UTC, comment #6: 

Fix was released in nano 2.4.1.

Benno Schulenberg <bens>
Group administrator
Fri 27 Mar 2015 04:58:07 PM UTC, comment #5: 

Fixed in SVN, r5168.  Thanks for reporting, J1S.

Benno Schulenberg <bens>
Group administrator
Fri 27 Mar 2015 03:37:16 PM UTC, comment #4: 

LGTM Benno, thanks!

Chris Allegretta <astyanax>
Group administrator
Fri 27 Mar 2015 11:40:05 AM UTC, comment #3: 

Hi Chris,

Okay to apply the latter patch to SVN?

Benno Schulenberg <bens>
Group administrator
Tue 24 Mar 2015 07:51:11 PM UTC, comment #2: 

Thinking about it some more, the formatter must be disabled when the speller is disabled -- otherwise one gets two ^T shortcuts in the bottom lines: for the Linter and the Formatter (for files with a syntax that doesn't define either).  So, attached is a better patch.  Please test.

(file #33444)

Benno Schulenberg <bens>
Group administrator
Mon 23 Mar 2015 07:29:45 PM UTC, comment #1: 

Attached patch fixes that.  But maybe the formatter should be disabled too when the speller is disabled, as it's a kind of speller for source files?

(file #33432)

Benno Schulenberg <bens>
Group administrator
Mon 23 Mar 2015 03:20:46 PM UTC, original submission:  

Ubuntu 14.04 64bits

When I try to compile v2.4.0 after './configure --disable-speller':

$ make
Making all in doc
Making all in man
Making all in fr
Making all in texinfo
Making all in syntax
Making all in m4
Making all in po
Making all in src
text.o:text.c:function do_formatter: error: undefined reference to 'replace_buffer'
text.o:text.c:function do_formatter: error: undefined reference to 'do_gotopos'
collect2: error: ld returned 1 exit status
Makefile:385: recipe for target 'nano' failed
make[2]: *** [nano] Error 1
Makefile:395: recipe for target 'all-recursive' failed
make[1]: *** [all-recursive] Error 1
Makefile:333: recipe for target 'all' failed
make: *** [all] Error 2


J1S <j1s>

 

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

Attached Files
file #33432:  allow-the-formatter.patch added by bens (2KiB - text/x-diff)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by astyanax (Posted a comment)
  • -email is unavailable- added by bens (Updated the item)
  • -email is unavailable- added by j1s (Submitted the item)
  •  

    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.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-04-17 bens Open/ClosedOpen Closed
    2015-03-27 bens StatusIn Progress Fixed
    2015-03-24 bens Attached File- Added treat-formatter-as-speller.patch, #33444
        Assigned toNone bens
    2015-03-23 bens Attached File- Added allow-the-formatter.patch, #33432
        StatusNone In Progress
        SummaryError to compile v2.4.0 with \'--disable-speller\' error when compiling 2.4.0 with '--disable-speller'

    Back to the top

    Powered by Savane 3.13-f8d8.
    Corresponding source code