bug-guile
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

undefined __rl_init_argument on Mac OS 10.4


From: Abdulaziz Ghuloum
Subject: undefined __rl_init_argument on Mac OS 10.4
Date: Tue, 23 Jun 2009 08:48:48 +0300

[Resending]

        From:     address@hidden
        Subject:        undefined __rl_init_argument on Mac OS 10.4
        Date:   June 22, 2009 11:50:51 PM GMT+03:00
        To:       address@hidden
        Cc:       address@hidden

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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]