Re: [MacPorts] #37237: widelands: error: ‘void Widelands::Ship::set_fleet(Widelands::Fleet*)’ is private

MacPorts noreply at macports.org
Tue Dec 11 15:38:33 PST 2012


#37237: widelands: error: ‘void Widelands::Ship::set_fleet(Widelands::Fleet*)’ is
private
-----------------------------+--------------------------------
  Reporter:  gilles.risch@…  |      Owner:  macports-tickets@…
      Type:  defect          |     Status:  new
  Priority:  Normal          |  Milestone:
 Component:  ports           |    Version:  2.1.2
Resolution:                  |   Keywords:  tiger leopard
      Port:  widelands       |
-----------------------------+--------------------------------

Comment (by gilles.risch@…):

 >
 > {{{
 >
 > Linking CXX executable widelands
 > Undefined symbols:
 >   "_main", referenced from:
 >       start in crt1.10.5.o
 >      (maybe you meant: cstring=center_mainview_here,
 cstring=center_main_mapview_on_location ,
 Editor_Interactive::toggle_mainmenu()       , _SDL_main )
 > ld: symbol(s) not found
 >
 > ...
 > }}}

 I found the solution to this problem. I had an old version of libsdl in
 the /Library/Frameworks/ directory and the linker preferred that over the
 one installed by macports. After removing it, the installation of the port
 worked.
 -> the port should be build with gcc 4.2 or higher.

-- 
Ticket URL: <https://trac.macports.org/ticket/37237#comment:7>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list