Ticket #5 (closed defect: wontfix)
Problem in readline.c with filename_completion_function
| Reported by: | nbrosnahan@… | Owned by: | lsansonetti@… |
|---|---|---|---|
| Priority: | blocker | Milestone: | |
| Component: | MacRuby | Keywords: | |
| Cc: |
Description
Getting an error making readline on Macbook Pro:
ProductName: Mac OS X ProductVersion: 10.5.2 BuildVersion: 9C31
[nbrosnahan@Kaylee:~/Projects/MacRuby/ext/readline]$ make gcc -I. -I../../.ext/include/i686-darwin9.2.0 -I../.././include -I../.././ext/readline -DRUBY_EXTCONF_H=\"extconf.h\" -D_XOPEN_SOURCE -D_DARWIN_C_SOURCE -fno-common -I/usr/include/libxml2 -g -O2 -fno-common -pipe -fno-common -o readline.o -c readline.c readline.c: In function ‘filename_completion_proc_call’: readline.c:658: error: ‘filename_completion_function’ undeclared (first use in this function) readline.c:658: error: (Each undeclared identifier is reported only once readline.c:658: error: for each function it appears in.) readline.c:658: warning: assignment makes pointer from integer without a cast readline.c: In function ‘username_completion_proc_call’: readline.c:683: error: ‘username_completion_function’ undeclared (first use in this function) readline.c:683: warning: assignment makes pointer from integer without a cast make: *** [readline.o] Error 1

