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 29 Aug 2012 01:45:46 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: None
Assigned to: NoneOpen/Closed: Open
Release: trunk r21842Operating System: Mac OS
Planned Release: 

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 25 Jan 2014 02:13:05 PM UTC, comment #9:

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

Jacob Nevins <jtn>
Project Administrator
Sun 17 Feb 2013 07:08:03 AM UTC, 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 30 Jan 2013 12:24:22 AM UTC, 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 20 Jan 2013 11:31:05 PM UTC, 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 19 Jan 2013 01:12:02 PM UTC, 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 03 Jan 2013 04:09:50 PM UTC, 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 03 Jan 2013 03:05:22 PM UTC, comment #3:

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

Jacob Nevins <jtn>
Project Administrator
Tue 27 Nov 2012 12:21:24 AM UTC, 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 08 Oct 2012 02:48:41 AM UTC, 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 29 Aug 2012 01:45:46 PM UTC, 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):
   
   
Comment:
   

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.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 5 latest changes.

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

    Back to the top


    Powered by Savane 3.1-cleanup