From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Abdulaziz Ghuloum Newsgroups: gmane.lisp.guile.bugs Subject: undefined __rl_init_argument on Mac OS 10.4 Date: Mon, 22 Jun 2009 23:50:51 +0300 Message-ID: NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Trace: ger.gmane.org 1245767628 6535 80.91.229.12 (23 Jun 2009 14:33:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2009 14:33:48 +0000 (UTC) Cc: Abdulaziz Ghuloum To: bug-guile@gnu.org Original-X-From: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Tue Jun 23 16:33:41 2009 Return-path: Envelope-to: guile-bugs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1MJ748-00062Y-4O for guile-bugs@m.gmane.org; Tue, 23 Jun 2009 16:33:40 +0200 Original-Received: from localhost ([127.0.0.1]:45739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MJ747-0006ol-J5 for guile-bugs@m.gmane.org; Tue, 23 Jun 2009 10:33:39 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIqTw-0000U7-FI for bug-guile@gnu.org; Mon, 22 Jun 2009 16:51:12 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIqTr-0000NA-JK for bug-guile@gnu.org; Mon, 22 Jun 2009 16:51:12 -0400 Original-Received: from [199.232.76.173] (port=57165 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIqTr-0000Ml-2p for bug-guile@gnu.org; Mon, 22 Jun 2009 16:51:07 -0400 Original-Received: from mail-ew0-f220.google.com ([209.85.219.220]:33184) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIqTq-0000bX-Ax for bug-guile@gnu.org; Mon, 22 Jun 2009 16:51:06 -0400 Original-Received: by ewy20 with SMTP id 20so1797231ewy.42 for ; Mon, 22 Jun 2009 13:51:04 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:mime-version:content-type :message-id:cc:content-transfer-encoding:from:subject:date:to :x-mailer; bh=+QBrsdZTcmfoKKnMg3tePY9kezyfSAArK8MlxUTPM/I=; b=hIwk7i9UlACmYV6EAQ5F3FWxhAyghIFKL7H6dJnSlrgE34fiYWgnWiUDVxmCcSNltn 7Gz9uJ5LPWfqXIrcvLoeaBTvJmBdVZl3S9PX7RcA9A5VBSpL7RAaFW/19oGsLS6ur4yB QzMzD1aSq4hB76EFOoZfLYrgSZ2JydRNqpcxI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:content-type:message-id:cc:content-transfer-encoding :from:subject:date:to:x-mailer; b=yDaQB5rsQbhNoed9EZqFWVeWbH2BImKPis47nLa3IjCJ6N2hoUZ/fBG/Ji/MwKvmZw HVBkHh0s6OBEGvK4zcea6DJ7cOT+cWutBxSyQ7dGgol6BcICGj9EGIwO3aoDJup5HrBz heWwMMn/BOm1Ei3p+1M3kWQTFhHiPFAthdU18= Original-Received: by 10.210.42.13 with SMTP id p13mr7821049ebp.99.1245703864862; Mon, 22 Jun 2009 13:51:04 -0700 (PDT) Original-Received: from ?192.168.2.100? ([62.150.231.9]) by mx.google.com with ESMTPS id 10sm20402eyz.41.2009.06.22.13.51.01 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 13:51:04 -0700 (PDT) X-Mailer: Apple Mail (2.753.1) X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) X-Mailman-Approved-At: Tue, 23 Jun 2009 10:21:12 -0400 X-BeenThere: bug-guile@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "Bug reports for GUILE, GNU's Ubiquitous Extension Language" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Original-Sender: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Errors-To: bug-guile-bounces+guile-bugs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.lisp.guile.bugs:4240 Archived-At: 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