Opened 15 years ago

Closed 13 years ago

#18768 closed defect (wontfix)

wop (worms of prey) Building problem

Reported by: sgutierrez@… Owned by: macports-tickets@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: mf2k (Frank Schima)
Port: wop

Description

No clue about what to do, I don't understand why I have so many problems with macports and when I search over the web can't find anyone that had the same problems that I have

Till now I couldn't have gpc34 working (I opened I ticket and continue my search but seems like no one have the problems I have) and today when I tryed to install wop, I have no problems when installing all the deps of wop, but when it came the time to build wop I got this error.

Sorry my english and thanks in advance for any help.

--->  Building wop
Error: Target org.macports.build returned: shell command " cd "/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_release_ports_games_wop/work/wop-0.4.2" && make all " returned error 2
Command output: cd sdlwidgets; make
make[1]: Nothing to be done for `all'.
cd src; make
mkdir ../bin
mkdir: ../bin: File exists
make[1]: [../bin/wop] Error 1 (ignored)
g++ areaitem.o attachableobject.o audio.o avatar.o avatarworm.o ball.o blueglow.o bonus.o bonusfuel.o bonushealth.o bonushomingvirus.o bonusinvisible.o bonusmanager.o bonuspack.o bonusshield.o bot.o client.o clientcommunicator.o clientconnectiondirect.o clientconnectionlistener.o clientconnectiontcp.o clientconnectiontcpudp.o collidableobject.o color.o constants.o counter.o creditswindow.o explosion.o gameinfowindow.o gamereplay.o gismobot.o global.o goal.o graphics.o grenade.o guidedmissile.o helicopter.o homingmissile.o hook.o input.o invisiblecorona.o itemset.o keyboardconfig.o keyconfigwindow.o keytable.o loader.o main.o map.o mapstuff.o mapstuffset.o messages.o messagewidget.o mine.o missile.o noncollidableobject.o noncollidablepool.o object.o objectitem.o objectpaths.o optionswindow.o particles.o physfsrwops.o player.o playerconfigwindow.o progresslog.o random.o replayer.o rope.o scorekeeper.o scoretable.o scusibot.o server.o servercommunicator.o serverconnectiondirect.o serverconnectionfactory.o serverconnectiontcp.o serverconnectiontcpudp.o serverlistwindow.o settingdefs.o settings.o shieldcorona.o signalhandler.o simplebot.o skwoermzone.o smoke.o splashscreen.o sprite.o spritesequence.o spriteset.o staticgun_i.o stationarygun.o string.o tcpconnection.o theme.o tombot.o version.o video.o weapon.o weapongrenade.o weaponguidedmissile.o weaponhelicopter.o weaponhomingmissile.o weaponhook.o weaponhookcut.o weaponhookrel.o weaponindicator.o weaponmine.o weaponmissile.o weaponrubgun.o weaponshotgun.o weaponuzi.o weaponwindow.o weaponzapper.o weightedrandom.o wopbackground.o wopgui.o wopsettings.o wopsprites.o wopwindow.o world.o -o ../bin/wop -L../sdlwidgets -lsdlwidgets -lz -lm -lSDL_net -lSDL_mixer -lSDL_ttf -lSDL_image -L/opt/local/lib -lSDLmain -lSDL -Wl,-framework,Cocoa 
Undefined symbols:
  "SpriteSet<Sprite>::SpriteSet()", referenced from:
      Map::createFromTheme(Theme&, World&)     in map.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
make[1]: *** [../bin/wop] Error 1
make: *** [all] Error 2

Change History (6)

comment:1 Changed 15 years ago by raimue (Rainer Müller)

Port: wop added

At least I can confirm the issue, but got not any further. Not that I know much about the C++ name mangling; I would expect these symbols in spriteset.o, but they are not there.

comment:2 Changed 15 years ago by sgutierrez@…

I'm new to Mac OS and also to UNIX so beside a few console commands (ls, cd, mkdir..) don't know much.

In the "manual" to install the wop port the only thing diferent with what I have is that the manual says "create a folder for the port (in this case wop)" and I just install all ports in the same folder, don't think that would create any issue so I have no more guidelines to follow.

comment:3 in reply to:  description Changed 15 years ago by gombok@…

recently build wop on ubuntu (apt-get install build-essential libsdl1.2-dev libsdl-image1.2-dev libsdl-net1.2-dev libsdl-ttf2.0-dev libsdl-mixer1.2-dev) and had two issues (besides tons of g++ 4.3.2 compiler warnings):

  1. there is a missing #include <algorithm> in scusibot.cpp
  2. Undefined symbols:

"SpriteSet<Sprite>::SpriteSet()", referenced from:

Map::createFromTheme(Theme&, World&) in map.o

ld: symbol(s) not found

Quick and dirty workaround was to include the sources into map.cpp:

#include "spriteset.cpp" #include "spritesequence.cpp"

(just after #include "objectpaths.hpp")

Hope that helps.

comment:4 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:5 Changed 14 years ago by mf2k (Frank Schima)

Cc: macsforever2000@… added

Cc Me!

comment:6 Changed 13 years ago by jmroot (Joshua Root)

Resolution: wontfix
Status: newclosed

Port deleted, r72781.

Note: See TracTickets for help on using tickets.