bugFreeciv - Bugs: bug #20109, Compilation fails with stdinhand...

Show feedback again

bug #20109: Compilation fails with stdinhand on OSX (‘rl_completion_suppress_append’ undeclared)

Submitted by:  Daniel Markstedt <dmarks>
Submitted on:  Wed Aug 29 13:45:46 2012  
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: trunk r21842Operating System: Mac OS
Planned Release: Contains string changes: None

Add a New Comment (Rich MarkupRich Markup):

You are not logged in

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


(Jump to the original submission Jump to the original submission)

Sat Aug 2 13:41:10 2014, comment #10:

> I wonder if bug #19859 is related.

Given the conclusion that it's a link-time issue, I suspect not.

Jacob Nevins <jtn>
Project Administrator
Sat Jan 25 14:13:05 2014, comment #9:

Clearing release targets since I don't think we know how to reproduce or fix.

Jacob Nevins <jtn>
Project Administrator
Sun Feb 17 07:08:03 2013, comment #8:

I wonder if bug #19859 is related. This ticket is about compile time failure to find symbol from header, and the other ticket about linking time failure to find symbol from library. They are certainly different, but maybe symptoms of the same bug.

bug #19859 seemed to be related to configure options --enable-shared and --enable-ai-modules.
Also, there user had two versions of readline installed.

Marko Lindqvist <cazfi>
Project Administrator
Wed Jan 30 00:24:22 2013, comment #7:

Cleaning HAVE_LIBREADLINE + HAVE_NEWLIBREADLINE stuff from TRUNK now patch #3632. There version 4.3 will be made the minimum readline requirement for readline support.

Marko Lindqvist <cazfi>
Project Administrator
Sun Jan 20 23:31:05 2013, comment #6:

> this feature was added in readline 4.3, released in 2002.

Probably something we should clean out rather than to extend, but I noticed that we have not one but two macros defined depending on readline version: HAVE_LIBREADLINE is set when ever there's readline available, and additional HAVE_NEWLIBREADLINE is set when readline version is at least 4.2.

Marko Lindqvist <cazfi>
Project Administrator
Sat Jan 19 13:12:02 2013, comment #5:

Repeating what I wrote in bug #20095 (since I forgot where I wrote it):

"I can't imagine too-old-readline is the issue; this feature was added in readline 4.3, released in 2002."

Jacob Nevins <jtn>
Project Administrator
Thu Jan 3 16:09:50 2013, comment #4:

It's certainly working for me on 10.7. I sent upgraded packaging information to the fink project, where it should have been tested on 10.8, with no negative feedback. I will try 10.6 today...

David Lowe <doctorjlowe>
Thu Jan 3 15:05:22 2013, comment #3:

Well, we haven't had a torrent of complaints since we released 2.3.3.

Jacob Nevins <jtn>
Project Administrator
Tue Nov 27 00:21:24 2012, comment #2:

The use of rl_completion_suppress_append will debut in 2.3.3 (patch #3436).
If that causes new compilation failures on some platforms, we probably want to address that before release.

Jacob Nevins <jtn>
Project Administrator
Mon Oct 8 02:48:41 2012, comment #1:

Can you check if rl_completion_suppress_append is listed in your readline/readline.h?

I have
extern int rl_completion_suppress_append;

Marko Lindqvist <cazfi>
Project Administrator
Wed Aug 29 13:45:46 2012, original submission:

Compilation fails on OSX 10.6.8, the last message is...

CC stdinhand.lo
stdinhand.c: In function ‘is_enum_option_value’:
stdinhand.c:6877: error: ‘rl_completion_suppress_append’ undeclared (first use in this function)
stdinhand.c:6877: error: (Each undeclared identifier is reported only once
stdinhand.c:6877: error: for each function it appears in.)
make[3]: *** [stdinhand.lo] Error 1
make[2]: *** [all-recursive] Error 1
make[1]: *** [all-recursive] Error 1
make: *** [all] Error 2

Readline v6.0 (according to man page)

Daniel Markstedt <dmarks>
Project Administrator


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

Attach File(s):

Attached Files
file #16451:  configure.txt added by dmarks (13kB - text/plain)


Depends on the following items: None found

Items that depend on this one: None found


Carbon-Copy List
  • -unavailable- added by doctorjlowe (Posted a comment)
  • -unavailable- added by jtn (Posted a comment)
  • -unavailable- added by cazfi (Posted a comment)
  • -unavailable- added by dmarks (Submitted the item)

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

    Only logged-in users can vote.


    Error: not logged in



    Follow 5 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat Jan 25 14:13:05 2014jtnPlanned Release2.3.4,2.4.0,2.5.0=>
    Mon Dec 10 16:33:43 2012cazfiPlanned Release2.3.3,2.4.0,2.5.0=>2.3.4,2.4.0,2.5.0
    Tue Nov 27 00:28:28 2012jtnSummaryCompilation fails with stdinhand on OSX=>Compilation fails with stdinhand on OSX (‘rl_completion_suppress_append’ undeclared)
    Tue Nov 27 00:21:24 2012jtnPlanned Release=>2.3.3,2.4.0,2.5.0
    Wed Aug 29 13:47:01 2012dmarksAttached File-=>Added configure.txt, #16451
    Show feedback again

    Back to the top

    Powered by Savane 3.1-cleanup