bugGNU nano - Bugs: bug #28112, Compile error on nano-tiny...


bug #28112: Compile error on nano-tiny 2.1.99pre2

Submitted by:  Jordi Mallach <jordi>
Submitted on:  Fri 27 Nov 2009 10:52:02 PM UTC  
Severity:  4 - Important Status:  Duplicate
Assigned to:  None Open/Closed:  Closed

Add a New Comment(Rich Markup)

You are not logged in

Please log in, so followups can be emailed to you.


Sat 28 Nov 2009 02:35:00 AM UTC, comment #1:

Yep, this is legit, DLR noticed it earlier and submitted patch 6993 to fix. Will leave open until next release to avoid duplicate bugs.

Chris Allegretta <astyanax>
Project Administrator
Fri 27 Nov 2009 10:52:02 PM UTC, original submission:

Hi Chris,

When trying to compile pre2, I've got:

if gcc -DHAVE_CONFIG_H -I. -I../../src -I.. -DLOCALEDIR=\"/usr/share/locale\" -DSYSCONFDIR=\"/etc\" -Wall -g -Os -fomit-frame-pointer -MT nano.o -MD -MP -MF ".deps/nano.Tpo" -c -o nano.o ../../src/nano.c; \
then mv -f ".deps/nano.Tpo" ".deps/nano.Po"; else rm -f ".deps/nano.Tpo"; exit 1; fi
../../src/nano.c: In function 'die':
../../src/nano.c:641: error: 'openfilestruct' has no member named 'current_stat'
../../src/nano.c: In function 'main':
../../src/nano.c:2409: error: 'fill_used' undeclared (first use in this function)
../../src/nano.c:2409: error: (Each undeclared identifier is reported only once
../../src/nano.c:2409: error: for each function it appears in.)

This is using:

cd $(tinybuild) && ../configure $(COMMON_CONFIG) \
--enable-tiny --disable-speller --disable-justify \
--disable-tabcomp --disable-nls --disable-wrapping \
--with-slang && \

CFTINY is -Wall -g -Os -fomit-frame-pointer.

Jordi Mallach <jordi>
Project Administrator


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

Attach Files:

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 bens (Updated the item)
  • -email is unavailable- added by astyanax (Posted a comment)
  • -email is unavailable- added by jordi (Submitted the item)

    Do you think this task is very important?
    If so, you can add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.




    Follow 2 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2014-02-21 bens Open/ClosedOpen => Closed
    2009-11-28 astyanax StatusNone => Duplicate

    Back to the top

    Powered by Savane 3.3