Project

General

Profile

Actions

Bug #6332

closed

Error compiling readline due username_completion_function being undeclared (GCC 4.6)

Added by luislavena (Luis Lavena) almost 12 years ago. Updated over 4 years ago.

Status:
Closed
Target version:
-
ruby -v:
2.0.0 r35415
[ruby-core:44493]

Description

Hello,

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, MacPorts provided) generates the following failure:

/Users/luis/projects/oss/ruby/build/ext/readline
compiling ../../../ext/readline/readline.c
../../../ext/readline/readline.c: In function 'username_completion_proc_call':
../../../ext/readline/readline.c:1501:9: error: 'username_completion_function' undeclared (first use in this function)
../../../ext/readline/readline.c:1501:9: note: each undeclared identifier is reported only once for each function it appears in
make[2]: *** [readline.o] Error 1
make[1]: *** [ext/readline/all] Error 2
make: *** [build-ext] Error 2

Readline installed is Readline 6.2 via MacPorts:

$ port installed | grep readline
readline @6.2.000_0 (active)

Updated by mame (Yusuke Endoh) almost 12 years ago

  • Status changed from Open to Assigned

Updated by shugo (Shugo Maeda) about 11 years ago

  • Status changed from Assigned to Feedback

luislavena (Luis Lavena) wrote:

Attempting to compile trunk (r35415) against GCC 4.6 (4.6.3, OSX 10.6, MacPorts provided) generates the following failure:

Could you attach ext/readline/{mkmf.log,extconf.h}?

Updated by mame (Yusuke Endoh) about 11 years ago

  • Status changed from Feedback to Rejected
  • Target version changed from 2.0.0 to 2.6

No feedback.

--
Yusuke Endoh

Updated by mame (Yusuke Endoh) about 11 years ago

  • Status changed from Rejected to Assigned

Oops sorry. I didn't intend to close this ticket.

--
Yusuke Endoh

Actions #5

Updated by naruse (Yui NARUSE) over 6 years ago

  • Target version deleted (2.6)
Actions #6

Updated by jeremyevans0 (Jeremy Evans) over 4 years ago

  • Status changed from Assigned to Closed
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0