* undefined __rl_init_argument on Mac OS 10.4
@ 2009-06-22 20:50 Abdulaziz Ghuloum
2009-06-23 14:49 ` dsmich
0 siblings, 1 reply; 4+ messages in thread
From: Abdulaziz Ghuloum @ 2009-06-22 20:50 UTC (permalink / raw)
To: bug-guile; +Cc: Abdulaziz Ghuloum
Hello,
I tried building guile 1.9 today and the build fails due to undefined
"__rl_init_argument". This appears to be defined in line 96 of guile-
readline/readline.c and used only once in like 125 of the same file.
Commenting out both lines makes the build proceed, but I don't know
how bad this is. There are also a bunch of warnings about redefined
bindings. A summary of the failed build log is below.
Thanks!
Aziz,,,
$ make
make all-recursive
make[1]: Entering directory `/private/tmp/guile-1.9.0'
Making all in lib
make[2]: Entering directory `/private/tmp/guile-1.9.0/lib'
make all-recursive
make[3]: Entering directory `/private/tmp/guile-1.9.0/lib'
make[4]: Entering directory `/private/tmp/guile-1.9.0/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/private/tmp/guile-1.9.0/lib'
make[3]: Leaving directory `/private/tmp/guile-1.9.0/lib'
make[2]: Leaving directory `/private/tmp/guile-1.9.0/lib'
Making all in meta
make[2]: Entering directory `/private/tmp/guile-1.9.0/meta'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/private/tmp/guile-1.9.0/meta'
Making all in libguile
make[2]: Entering directory `/private/tmp/guile-1.9.0/libguile'
make all-am
make[3]: Entering directory `/private/tmp/guile-1.9.0/libguile'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/private/tmp/guile-1.9.0/libguile'
make[2]: Leaving directory `/private/tmp/guile-1.9.0/libguile'
Making all in guile-readline
make[2]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
../libguile/guile-snarf -o readline.x readline.c -DHAVE_CONFIG_H -I.
-I.. -I./.. -I./lib -I./lib -I/Users/ikarus/.opt/include -g -O2
make all-recursive
make[3]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
Making all in ice-9
make[4]: Entering directory `/private/tmp/guile-1.9.0/guile-readline/
ice-9'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline/
ice-9'
make[4]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I./.. -I./lib -I./lib -I/Users/ikarus/.opt/include -g -O2 -
MT readline.lo -MD -MP -MF .deps/readline.Tpo -c -o readline.lo
readline.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./lib -
I./lib -I/Users/ikarus/.opt/include -g -O2 -MT readline.lo -MD -MP -
MF .deps/readline.Tpo -c readline.c -fno-common -DPIC -o .libs/
readline.o
readline.c: In function 'scm_filename_completion_function':
readline.c:392: warning: assignment makes pointer from integer
without a cast
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./lib -
I./lib -I/Users/ikarus/.opt/include -g -O2 -MT readline.lo -MD -MP -
MF .deps/readline.Tpo -c readline.c -o readline.o >/dev/null 2>&1
mv -f .deps/readline.Tpo .deps/readline.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -version-info
18:0:0 -export-dynamic -no-undefined -o libguilereadline-v-18.la -
rpath /Users/ikarus/.opt/lib readline.lo ../libguile/libguile.la ../
lib/libgnu.la -lreadline -lncurses
libtool: link: rm -fr .libs/libguilereadline-v-18.18.dylib .libs/
libguilereadline-v-18.a .libs/libguilereadline-v-18.dylib .libs/
libguilereadline-v-18.la .libs/libguilereadline-v-18.lai
libtool: link: (cd .libs/libguilereadline-v-18.lax/libgnu.a && ar x "/
tmp/guile-1.9.0/guile-readline/../lib/.libs/libgnu.a")
libtool: link: gcc -dynamiclib -o .libs/libguilereadline-
v-18.18.dylib .libs/readline.o .libs/libguilereadline-v-18.lax/
libgnu.a/c-ctype.o .libs/libguilereadline-v-18.lax/libgnu.a/c-
strcasecmp.o .libs/libguilereadline-v-18.lax/libgnu.a/c-
strncasecmp.o .libs/libguilereadline-v-18.lax/libgnu.a/canonicalize-
lgpl.o .libs/libguilereadline-v-18.lax/libgnu.a/full-read.o .libs/
libguilereadline-v-18.lax/libgnu.a/full-write.o .libs/
libguilereadline-v-18.lax/libgnu.a/localcharset.o .libs/
libguilereadline-v-18.lax/libgnu.a/malloca.o .libs/libguilereadline-
v-18.lax/libgnu.a/putenv.o .libs/libguilereadline-v-18.lax/libgnu.a/
safe-read.o .libs/libguilereadline-v-18.lax/libgnu.a/safe-
write.o .libs/libguilereadline-v-18.lax/libgnu.a/strftime.o .libs/
libguilereadline-v-18.lax/libgnu.a/striconveh.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-aux.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe-aux.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc.o .libs/libguilereadline-
v-18.lax/libgnu.a/u8-mbtoucr.o .libs/libguilereadline-v-18.lax/
libgnu.a/u8-prev.o .libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb-
aux.o .libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb.o ../
libguile/.libs/libguile.dylib -L/usr/local/lib -L/usr/lib -L/Users/
ikarus/.opt/lib /Users/ikarus/.opt/lib/libunistring.dylib /Users/
ikarus/.opt/lib/libiconv.dylib /usr/local/lib/libgmp.dylib -lm /Users/
ikarus/.opt/lib/libltdl.dylib -lreadline -lncurses -install_name /
Users/ikarus/.opt/lib/libguilereadline-v-18.18.dylib -
compatibility_version 19 -current_version 19.0 -Wl,-single_module
ld: warning multiple definitions of symbol _rl_free_line_state
.libs/readline.o definition of _rl_free_line_state in section
(__TEXT,__text)
/usr/local/lib/libreadline.dylib(signals.so) definition of
_rl_free_line_state
ld: warning multiple definitions of symbol _rl_cleanup_after_signal
.libs/readline.o definition of _rl_cleanup_after_signal in section
(__TEXT,__text)
/usr/local/lib/libreadline.dylib(signals.so) definition of
_rl_cleanup_after_signal
ld: warning multiple definitions of symbol _locale_charset
.libs/libguilereadline-v-18.lax/libgnu.a/localcharset.o private
external definition of _locale_charset in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _locale_charset
ld: warning multiple definitions of symbol _u8_mbtouc_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-aux.o private
external definition of _u8_mbtouc_aux in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtouc_aux
ld: warning multiple definitions of symbol _u8_mbtouc_unsafe_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe-aux.o
private external definition of _u8_mbtouc_unsafe_aux in section
(__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtouc_unsafe_aux
ld: warning multiple definitions of symbol _u8_mbtoucr
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtoucr.o private
external definition of _u8_mbtoucr in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtoucr
ld: warning multiple definitions of symbol _u8_prev
.libs/libguilereadline-v-18.lax/libgnu.a/u8-prev.o private external
definition of _u8_prev in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_prev
ld: warning multiple definitions of symbol _u8_uctomb_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb-aux.o private
external definition of _u8_uctomb_aux in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_uctomb_aux
ld: Undefined symbols:
__rl_init_argument
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libguilereadline-v-18.la] Error 1
make[4]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/tmp/guile-1.9.0'
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* undefined __rl_init_argument on Mac OS 10.4
@ 2009-06-23 5:48 Abdulaziz Ghuloum
2009-06-23 15:15 ` Ludovic Courtès
0 siblings, 1 reply; 4+ messages in thread
From: Abdulaziz Ghuloum @ 2009-06-23 5:48 UTC (permalink / raw)
To: bug-guile; +Cc: Abdulaziz Ghuloum
[Resending]
From: aghuloum@gmail.com
Subject: undefined __rl_init_argument on Mac OS 10.4
Date: June 22, 2009 11:50:51 PM GMT+03:00
To: bug-guile@gnu.org
Cc: aghuloum@gmail.com
Hello,
I tried building guile 1.9 today and the build fails due to undefined
"__rl_init_argument". This appears to be defined in line 96 of guile-
readline/readline.c and used only once in like 125 of the same file.
Commenting out both lines makes the build proceed, but I don't know
how bad this is. There are also a bunch of warnings about redefined
bindings. A summary of the failed build log is below.
Thanks!
Aziz,,,
$ make
make all-recursive
make[1]: Entering directory `/private/tmp/guile-1.9.0'
Making all in lib
make[2]: Entering directory `/private/tmp/guile-1.9.0/lib'
make all-recursive
make[3]: Entering directory `/private/tmp/guile-1.9.0/lib'
make[4]: Entering directory `/private/tmp/guile-1.9.0/lib'
make[4]: Nothing to be done for `all-am'.
make[4]: Leaving directory `/private/tmp/guile-1.9.0/lib'
make[3]: Leaving directory `/private/tmp/guile-1.9.0/lib'
make[2]: Leaving directory `/private/tmp/guile-1.9.0/lib'
Making all in meta
make[2]: Entering directory `/private/tmp/guile-1.9.0/meta'
make[2]: Nothing to be done for `all'.
make[2]: Leaving directory `/private/tmp/guile-1.9.0/meta'
Making all in libguile
make[2]: Entering directory `/private/tmp/guile-1.9.0/libguile'
make all-am
make[3]: Entering directory `/private/tmp/guile-1.9.0/libguile'
make[3]: Nothing to be done for `all-am'.
make[3]: Leaving directory `/private/tmp/guile-1.9.0/libguile'
make[2]: Leaving directory `/private/tmp/guile-1.9.0/libguile'
Making all in guile-readline
make[2]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
../libguile/guile-snarf -o readline.x readline.c -DHAVE_CONFIG_H -I.
-I.. -I./.. -I./lib -I./lib -I/Users/ikarus/.opt/include -g -O2
make all-recursive
make[3]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
Making all in ice-9
make[4]: Entering directory `/private/tmp/guile-1.9.0/guile-readline/
ice-9'
make[4]: Nothing to be done for `all'.
make[4]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline/
ice-9'
make[4]: Entering directory `/private/tmp/guile-1.9.0/guile-readline'
/bin/sh ./libtool --tag=CC --mode=compile gcc -DHAVE_CONFIG_H -I. -
I. -I.. -I./.. -I./lib -I./lib -I/Users/ikarus/.opt/include -g -O2 -
MT readline.lo -MD -MP -MF .deps/readline.Tpo -c -o readline.lo
readline.c
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./lib -
I./lib -I/Users/ikarus/.opt/include -g -O2 -MT readline.lo -MD -MP -
MF .deps/readline.Tpo -c readline.c -fno-common -DPIC -o .libs/
readline.o
readline.c: In function 'scm_filename_completion_function':
readline.c:392: warning: assignment makes pointer from integer
without a cast
libtool: compile: gcc -DHAVE_CONFIG_H -I. -I. -I.. -I./.. -I./lib -
I./lib -I/Users/ikarus/.opt/include -g -O2 -MT readline.lo -MD -MP -
MF .deps/readline.Tpo -c readline.c -o readline.o >/dev/null 2>&1
mv -f .deps/readline.Tpo .deps/readline.Plo
/bin/sh ./libtool --tag=CC --mode=link gcc -g -O2 -version-info
18:0:0 -export-dynamic -no-undefined -o libguilereadline-v-18.la -
rpath /Users/ikarus/.opt/lib readline.lo ../libguile/libguile.la ../
lib/libgnu.la -lreadline -lncurses
libtool: link: rm -fr .libs/libguilereadline-v-18.18.dylib .libs/
libguilereadline-v-18.a .libs/libguilereadline-v-18.dylib .libs/
libguilereadline-v-18.la .libs/libguilereadline-v-18.lai
libtool: link: (cd .libs/libguilereadline-v-18.lax/libgnu.a && ar x "/
tmp/guile-1.9.0/guile-readline/../lib/.libs/libgnu.a")
libtool: link: gcc -dynamiclib -o .libs/libguilereadline-
v-18.18.dylib .libs/readline.o .libs/libguilereadline-v-18.lax/
libgnu.a/c-ctype.o .libs/libguilereadline-v-18.lax/libgnu.a/c-
strcasecmp.o .libs/libguilereadline-v-18.lax/libgnu.a/c-
strncasecmp.o .libs/libguilereadline-v-18.lax/libgnu.a/canonicalize-
lgpl.o .libs/libguilereadline-v-18.lax/libgnu.a/full-read.o .libs/
libguilereadline-v-18.lax/libgnu.a/full-write.o .libs/
libguilereadline-v-18.lax/libgnu.a/localcharset.o .libs/
libguilereadline-v-18.lax/libgnu.a/malloca.o .libs/libguilereadline-
v-18.lax/libgnu.a/putenv.o .libs/libguilereadline-v-18.lax/libgnu.a/
safe-read.o .libs/libguilereadline-v-18.lax/libgnu.a/safe-
write.o .libs/libguilereadline-v-18.lax/libgnu.a/strftime.o .libs/
libguilereadline-v-18.lax/libgnu.a/striconveh.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-aux.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe-aux.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe.o .libs/
libguilereadline-v-18.lax/libgnu.a/u8-mbtouc.o .libs/libguilereadline-
v-18.lax/libgnu.a/u8-mbtoucr.o .libs/libguilereadline-v-18.lax/
libgnu.a/u8-prev.o .libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb-
aux.o .libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb.o ../
libguile/.libs/libguile.dylib -L/usr/local/lib -L/usr/lib -L/Users/
ikarus/.opt/lib /Users/ikarus/.opt/lib/libunistring.dylib /Users/
ikarus/.opt/lib/libiconv.dylib /usr/local/lib/libgmp.dylib -lm /Users/
ikarus/.opt/lib/libltdl.dylib -lreadline -lncurses -install_name /
Users/ikarus/.opt/lib/libguilereadline-v-18.18.dylib -
compatibility_version 19 -current_version 19.0 -Wl,-single_module
ld: warning multiple definitions of symbol _rl_free_line_state
.libs/readline.o definition of _rl_free_line_state in section
(__TEXT,__text)
/usr/local/lib/libreadline.dylib(signals.so) definition of
_rl_free_line_state
ld: warning multiple definitions of symbol _rl_cleanup_after_signal
.libs/readline.o definition of _rl_cleanup_after_signal in section
(__TEXT,__text)
/usr/local/lib/libreadline.dylib(signals.so) definition of
_rl_cleanup_after_signal
ld: warning multiple definitions of symbol _locale_charset
.libs/libguilereadline-v-18.lax/libgnu.a/localcharset.o private
external definition of _locale_charset in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _locale_charset
ld: warning multiple definitions of symbol _u8_mbtouc_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-aux.o private
external definition of _u8_mbtouc_aux in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtouc_aux
ld: warning multiple definitions of symbol _u8_mbtouc_unsafe_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtouc-unsafe-aux.o
private external definition of _u8_mbtouc_unsafe_aux in section
(__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtouc_unsafe_aux
ld: warning multiple definitions of symbol _u8_mbtoucr
.libs/libguilereadline-v-18.lax/libgnu.a/u8-mbtoucr.o private
external definition of _u8_mbtoucr in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_mbtoucr
ld: warning multiple definitions of symbol _u8_prev
.libs/libguilereadline-v-18.lax/libgnu.a/u8-prev.o private external
definition of _u8_prev in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_prev
ld: warning multiple definitions of symbol _u8_uctomb_aux
.libs/libguilereadline-v-18.lax/libgnu.a/u8-uctomb-aux.o private
external definition of _u8_uctomb_aux in section (__TEXT,__text)
/Users/ikarus/.opt/lib/libunistring.dylib(single module) definition
of _u8_uctomb_aux
ld: Undefined symbols:
__rl_init_argument
/usr/bin/libtool: internal link edit command failed
make[4]: *** [libguilereadline-v-18.la] Error 1
make[4]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[2]: *** [all] Error 2
make[2]: Leaving directory `/private/tmp/guile-1.9.0/guile-readline'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/private/tmp/guile-1.9.0'
make: *** [all] Error 2
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: undefined __rl_init_argument on Mac OS 10.4
2009-06-22 20:50 undefined __rl_init_argument on Mac OS 10.4 Abdulaziz Ghuloum
@ 2009-06-23 14:49 ` dsmich
0 siblings, 0 replies; 4+ messages in thread
From: dsmich @ 2009-06-23 14:49 UTC (permalink / raw)
To: bug-guile, Abdulaziz Ghuloum
Howdy Aziz,
---- Abdulaziz Ghuloum <aghuloum@gmail.com> wrote:
> Hello,
>
> I tried building guile 1.9 today and the build fails due to undefined
> "__rl_init_argument". This appears to be defined in line 96 of guile-
> readline/readline.c and used only once in like 125 of the same file.
> Commenting out both lines makes the build proceed, but I don't know
> how bad this is. There are also a bunch of warnings about redefined
> bindings. A summary of the failed build log is below.
That's because the Apple reimplementation of readline is incomplete. The preferred solution is to install gnu readline.
On the other hand, I did basically the same as you when I built Guile on my mac mini. Never had a problem with it.
-Dale
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: undefined __rl_init_argument on Mac OS 10.4
2009-06-23 5:48 Abdulaziz Ghuloum
@ 2009-06-23 15:15 ` Ludovic Courtès
0 siblings, 0 replies; 4+ messages in thread
From: Ludovic Courtès @ 2009-06-23 15:15 UTC (permalink / raw)
To: bug-guile
Hi,
Abdulaziz Ghuloum <aghuloum@gmail.com> writes:
> I tried building guile 1.9 today and the build fails due to undefined
> "__rl_init_argument". This appears to be defined in line 96 of guile-
> readline/readline.c and used only once in like 125 of the same file.
> Commenting out both lines makes the build proceed, but I don't know
> how bad this is. There are also a bunch of warnings about redefined
> bindings. A summary of the failed build log is below.
Can you please make sure you use GNU Readline and not BSD Editline's
broken compatibility layer? The `FAQ' file contains an entry on this
topic.
Thanks,
Ludo'.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-06-23 15:15 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-06-22 20:50 undefined __rl_init_argument on Mac OS 10.4 Abdulaziz Ghuloum
2009-06-23 14:49 ` dsmich
-- strict thread matches above, loose matches on Subject: below --
2009-06-23 5:48 Abdulaziz Ghuloum
2009-06-23 15:15 ` Ludovic Courtès
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).