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: Tue, 23 Jun 2009 08:48:48 +0300 Message-ID: <1D7A8E0B-5BFC-4F91-83F1-A05DF2DABF71@gmail.com> 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 1245736207 10542 80.91.229.12 (23 Jun 2009 05:50:07 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Tue, 23 Jun 2009 05:50:07 +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 07:50:04 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 1MIytO-0003bg-MG for guile-bugs@m.gmane.org; Tue, 23 Jun 2009 07:50:03 +0200 Original-Received: from localhost ([127.0.0.1]:35722 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIytN-000651-SQ for guile-bugs@m.gmane.org; Tue, 23 Jun 2009 01:50:01 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MIysb-0005l1-F6 for bug-guile@gnu.org; Tue, 23 Jun 2009 01:49:13 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MIysW-0005j1-3z for bug-guile@gnu.org; Tue, 23 Jun 2009 01:49:12 -0400 Original-Received: from [199.232.76.173] (port=44407 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MIysV-0005it-KI for bug-guile@gnu.org; Tue, 23 Jun 2009 01:49:07 -0400 Original-Received: from mail-ew0-f220.google.com ([209.85.219.220]:56604) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MIysU-0001zm-78 for bug-guile@gnu.org; Tue, 23 Jun 2009 01:49:07 -0400 Original-Received: by ewy20 with SMTP id 20so2088952ewy.42 for ; Mon, 22 Jun 2009 22:49:03 -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=UdaLdrgHoyykusj9vKrGVthKtxrBS/3h/pSJluKswN0=; b=xoszqf/rDHzvbFRSVvwElSf8VnLVvaXboKFsczwf29hd2HTQXZz0Fm+gyOyW8M6Odf DZMHxueu8enXNSgCBt5rTs7giMA8VV7XhxravF91Ve+m9Z/zJJSSX7hpyAJU8wSEvTZb qCdgzIp40AMU4T2k8nPT2IbQGwOlSs96SJckY= 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=seuvvl/hg72nlZgv4YNBg/2BQgl17Y8+FUDUcYhUDN4PPeGRSlLYqzRECS3QLL//qc 7vNvuQEsrCypXU7kWM25d+YVJdJYqPqVx9XIYPjLoHlOr51M8/+eJH8hRcQv6c5xOl4p 2XbQFJc3cCGfaUZBcoeLHEBsLe6BAVW1GzuiU= Original-Received: by 10.210.30.10 with SMTP id d10mr8307858ebd.84.1245736142927; Mon, 22 Jun 2009 22:49:02 -0700 (PDT) Original-Received: from ?192.168.2.100? ([62.150.231.9]) by mx.google.com with ESMTPS id 7sm856768eyg.52.2009.06.22.22.48.59 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 22 Jun 2009 22:49:02 -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-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:4238 Archived-At: [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