From owner-cvs-ports@FreeBSD.ORG Sun Oct 11 18:28:39 2009 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 388981065672; Sun, 11 Oct 2009 18:28:39 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-ew0-f218.google.com (mail-ew0-f218.google.com [209.85.219.218]) by mx1.freebsd.org (Postfix) with ESMTP id 32A558FC13; Sun, 11 Oct 2009 18:28:37 +0000 (UTC) Received: by ewy18 with SMTP id 18so2340163ewy.43 for ; Sun, 11 Oct 2009 11:28:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:in-reply-to:message-id:user-agent:mime-version:content-type; bh=ykIHsNDhWv8vIRgbnqzSsRZAYSnEyqS67Kljp2NIKTY=; b=manybx7Lgr8jgCZdRK+yX3v8Tyq8YZ0CJGeYsrSZwa7zs5bkYACsh62UzGJUj6mIeS qGPFzavSjxT7F8fktomnTPSA42WKrxKDn6EmQihGMroS6851fiWvnTQHabLhy51n+9db wlLtxuyPoFGv6BQpUqBjORnjqbBuN2CH9Geys= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-type; b=MqbUWe2YtaKat0fnSkQvydrd+wI+Yh16Lc2VUHYzaJiAD1m8b1BL3dLXuR9rijJWIO rr6pQ9WRsOppYY5kznb65G3511VexzovBC67xsFpaf0CHdqth7vf4YqsXwvAX9dSQL5v 7lFgboCmUNoQARs6bBkKp8TWM10Ypd5yy+zxU= Received: by 10.211.153.2 with SMTP id f2mr3092882ebo.42.1255285717037; Sun, 11 Oct 2009 11:28:37 -0700 (PDT) Received: from localhost (95-24-79-38.broadband.corbina.ru [95.24.79.38]) by mx.google.com with ESMTPS id 24sm363454eyx.41.2009.10.11.11.28.34 (version=TLSv1/SSLv3 cipher=RC4-MD5); Sun, 11 Oct 2009 11:28:35 -0700 (PDT) From: Anonymous To: Gerald Pfeifer References: <200910010928.n919SgXn083437__14633.0125666738$1254389375$gmane$org@repoman.freebsd.org> <864oqj5pn3.fsf@gmail.com> Date: Sun, 11 Oct 2009 22:27:17 +0400 In-Reply-To: (Gerald Pfeifer's message of "Sat, 10 Oct 2009 02:28:31 +0200 (CEST)") Message-ID: <86aazx4whm.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Philip Paeps Subject: Re: cvs commit: ports/games/wesnoth-devel Makefile distinfo pkg-plist ports/games/wesnoth-devel/files patch-multiplayer_connect.cpp X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 11 Oct 2009 18:28:39 -0000 Gerald Pfeifer writes: > On Thu, 1 Oct 2009, Anonymous wrote: >>> While here: >>> >>> o Use GCC 4.2+ to fix build on 6.x >> I'm not sure using `+' is a good idea. I can compile it using g++42 >> and g++43 but it fails on linking when using g++44[1] and g++45. > > Looking at the failure mode you report, I wonder whether > > CFLAGS+= -Wl,-rpath=${PREFIX}/lib/gcc44 > LDFLAGS+= -Wl,-rpath=${PREFIX}/lib/gcc44 > > added to the Makefile works for you. (This is not the proposed solution, > it is a test, assuming you are using g++44, otherwise change the path to > have gcc45 as its last component.) No, it doesn't make any difference. /usr/local/lib/gcc44/libssp.so.0: warning: warning: this program uses gets(), which is unsafe. game.o: In function `(anonymous namespace)::game_controller::game_controller(int, char**)': game.cpp:(.text+0x6aad): undefined reference to `std::ctype::_M_widen_init() const' actions.o: In function `attack::attack(map_location const&, map_location const&, int, int, bool)': actions.cpp:(.text+0x21c41): undefined reference to `std::ctype::_M_widen_init() const' addon_management.o: In function `archive_addon(std::basic_string, std::allocator > const&, config&)': addon_management.cpp:(.text+0x635c): undefined reference to `std::ctype::_M_widen_init() const' ai/actions.o: In function `ai::action_result::~action_result()': actions.cpp:(.text+0xdc9): undefined reference to `std::ctype::_M_widen_init() const' ai/actions.o: In function `ai::action_result::~action_result()': actions.cpp:(.text+0x11e4): undefined reference to `std::ctype::_M_widen_init() const' ai/actions.o:actions.cpp:(.text+0x1477): more undefined references to `std::ctype::_M_widen_init() const' follow collect2: ld returned 1 exit status > > Gerald