Date: Sun, 11 Oct 2009 22:27:17 +0400 From: Anonymous <swell.k@gmail.com> To: Gerald Pfeifer <gerald@pfeifer.com> Cc: cvs-ports@FreeBSD.org, ports-committers@FreeBSD.org, cvs-all@FreeBSD.org, Philip Paeps <philip@FreeBSD.org> Subject: Re: cvs commit: ports/games/wesnoth-devel Makefile distinfo pkg-plist ports/games/wesnoth-devel/files patch-multiplayer_connect.cpp Message-ID: <86aazx4whm.fsf@gmail.com> In-Reply-To: <alpine.LSU.1.99.0910072345270.22367@acrux.dbai.tuwien.ac.at> (Gerald Pfeifer's message of "Sat, 10 Oct 2009 02:28:31 %2B0200 (CEST)") References: <200910010928.n919SgXn083437__14633.0125666738$1254389375$gmane$org@repoman.freebsd.org> <864oqj5pn3.fsf@gmail.com> <alpine.LSU.1.99.0910072345270.22367@acrux.dbai.tuwien.ac.at>
next in thread | previous in thread | raw e-mail | index | archive | help
Gerald Pfeifer <gerald@pfeifer.com> 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<char>::_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<char>::_M_widen_init() const' addon_management.o: In function `archive_addon(std::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, config&)': addon_management.cpp:(.text+0x635c): undefined reference to `std::ctype<char>::_M_widen_init() const' ai/actions.o: In function `ai::action_result::~action_result()': actions.cpp:(.text+0xdc9): undefined reference to `std::ctype<char>::_M_widen_init() const' ai/actions.o: In function `ai::action_result::~action_result()': actions.cpp:(.text+0x11e4): undefined reference to `std::ctype<char>::_M_widen_init() const' ai/actions.o:actions.cpp:(.text+0x1477): more undefined references to `std::ctype<char>::_M_widen_init() const' follow collect2: ld returned 1 exit status > > Gerald
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?86aazx4whm.fsf>