From stdcxx-dev-return-2602-apmail-incubator-stdcxx-dev-archive=incubator.apache.org@incubator.apache.org Sun Feb 11 22:55:27 2007 Return-Path: Delivered-To: apmail-incubator-stdcxx-dev-archive@www.apache.org Received: (qmail 34007 invoked from network); 11 Feb 2007 22:55:26 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 11 Feb 2007 22:55:26 -0000 Received: (qmail 32599 invoked by uid 500); 11 Feb 2007 22:55:33 -0000 Delivered-To: apmail-incubator-stdcxx-dev-archive@incubator.apache.org Received: (qmail 32587 invoked by uid 500); 11 Feb 2007 22:55:33 -0000 Mailing-List: contact stdcxx-dev-help@incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: stdcxx-dev@incubator.apache.org Delivered-To: mailing list stdcxx-dev@incubator.apache.org Received: (qmail 32576 invoked by uid 99); 11 Feb 2007 22:55:33 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Feb 2007 14:55:33 -0800 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 11 Feb 2007 14:55:25 -0800 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id A35437142BF for ; Sun, 11 Feb 2007 14:55:05 -0800 (PST) Message-ID: <3272263.1171234505651.JavaMail.jira@brutus> Date: Sun, 11 Feb 2007 14:55:05 -0800 (PST) From: "Martin Sebor (JIRA)" To: stdcxx-dev@incubator.apache.org Subject: [jira] Commented: (STDCXX-337) [Cygwin] unsats on _libiconv, _catgets In-Reply-To: <4992301.1171231745497.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/STDCXX-337?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12472148 ] Martin Sebor commented on STDCXX-337: ------------------------------------- The iconv and catgets unsats should be pretty easy to fix (add the libraries to LDLIBS). The exception::what() unsats look more troubling since we have a config test in place to detect whether this function exists in the runtime library or not and so the fact that we're getting errors means the test is broken. Since this is unrelated to the other problem, could you open a separate issue for it. It would be helpful if you could include the command line and the error(s) if any from config.log in the issue. > [Cygwin] unsats on _libiconv, _catgets > -------------------------------------- > > Key: STDCXX-337 > URL: https://issues.apache.org/jira/browse/STDCXX-337 > Project: C++ Standard Library > Issue Type: Bug > Components: Build > Affects Versions: 4.1.3 > Environment: Cygwin > Reporter: Mark Brown > > I tried to build the library on Cygwin but I'm getting linker errors for the localedef utility. I have the iconv library installed (in /usr/lib) but make isn't linking with it. I also get linker errors for _catopen, _catgets, and _catclose. I searched under /usr/lib to see what library defines these symbols and it's libcatgets.a. Should the makefile be linking with it? > gcc localedef.o aliases.o charmap.o codecvt.o collate.o ctype.o def.o diagnostic.o messages.o monetary.o numeric.o path.o time.o scanner.o -o localedef -L/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib -lstd11s -lsupc++ -lm > /usr/lib/gcc/i686-pc-cygwin/3.4.4/libsupc++.a(eh_exception.o):(.text+0x80): multiple definition of `std::exception::what() const' > /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(exception.o):/home/mbrown/stdcxx-4.1.3/src/exception.cpp:334: first defined here > charmap.o: In function `_ZNSt4pairIKwSsEC1ERKS1_': > /home/mbrown/stdcxx-4.1.3/include/rw/_specialized.h:(.text+0x4c0): undefined reference to `_libiconv_open' > charmap.o: In function `_ZNK7Charmap15convert_to_utf8EPKcjPcj': > /home/mbrown/stdcxx-4.1.3/util/charmap.cpp:346: undefined reference to `_libiconv' > /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In function `_ZN4__rw13__rw_cat_openERKSsRKSt6locale': > /home/mbrown/stdcxx-4.1.3/src/messages.cpp:205: undefined reference to `_catopen' > /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In function `_ZN4__rw16__rw_get_messageEiii': > /home/mbrown/stdcxx-4.1.3/src/messages.cpp:235: undefined reference to `_catgets' > /home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/lib/libstd11s.a(messages.o): In function `_ZN4__rw14__rw_cat_closeEi': > /home/mbrown/stdcxx-4.1.3/src/messages.cpp:277: undefined reference to `_catclose' > collect2: ld returned 1 exit status > make[2]: *** [localedef] Error 1 > make[2]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s/bin' > make[1]: *** [util] Error 2 > make[1]: Leaving directory `/home/mbrown/stdcxx-4.1.3-gcc-3.4.4-11s' > make: *** [libstd] Error 2 -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.