Follow-up Comment #3, bug #8267 (project wormux):
I make the change in comment #1, and yet:
----------------------------------------------------------------
g++ -DINSTALL_DATADIR=\"/usr/local/share/wormux\"
-DINSTALL_LOCALEDIR=\"/usr/local/share/locale\"
-DFONT_FILE=\"/usr/local/share/wormux/font/DejaVuSans.ttf\"
-DPACKAGE_VERSION=\"0.7.9\" -Werror -Wall -Wextra -Wno-unused-parameter -O2
-I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -I/usr/include/libxml++-2.6
-I/usr/include/libxml2 -I/usr/include/glibmm-2.4
-I/usr/lib/glibmm-2.4/include -I/usr/include/sigc++-2.0
-I/usr/lib/sigc++-2.0/include -I/usr/include/glib-2.0
-I/usr/lib/glib-2.0/include -o wormux ai_engine.o ai_engine_stupid.o
ai_movement_module.o ai_shoot_module.o body.o body_list.o character.o
clothe.o member.o move.o movement.o binreloc.o constant.o action.o
action_handler.o main.o config.o game_mode.o game.o game_loop.o color.o
effects.o font.o fps.o text_list.o surface.o spriteframe.o spritecache.o
spriteanimation.o sprite.o video.o text.o button.o button_text.o check_box.o
label.o list_box.o list_box_w_label.o msg_box.o spin_button.o
spin_button_big.o spin_button_picture.o text_box.o box.o widget.o
widget_list.o null_widget.o picture_text_cbox.o picture_widget.o
string_tools.o xml_document.o i18n.o error.o euler_vector.o file_tools.o
math_tools.o resource_manager.o stats.o random.o debug.o jukebox.o
weapon_menu.o loading_screen.o internet_menu.o main_menu.o
map_selection_box.o menu.o network_connection_menu.o network_menu.o
credits_menu.o options_menu.o game_menu.o results_menu.o team_box.o
teams_selection_box.o network_teams_selection_box.o time.o progress_bar.o
EnergyBar.o question.o interface.o cursor.o game_msg.o mouse.o keyboard.o
physical_obj.o physics.o barrel.o bonus_box.o object_cfg.o objects_list.o
camera.o ground.o map.o maps_list.o sky.o tile.o tileitem.o water.o wind.o
chat.o download.o distant_cpu.o index_server.o network.o randomsync.o
body_member.o bullet.o dark_smoke.o explosion_smoke.o fire.o
ground_particles.o ill_bubble.o magic_star.o particle.o polecat_fart.o
teleport_member.o smoke.o star.o team.o team_energy.o teams_list.o results.o
weapon.o weapon_cfg.o weapons_list.o explosion.o launcher.o crosshair.o
air_attack.o airhammer.o anvil.o auto_bazooka.o baseball.o bazooka.o
riot_bomb.o bounce_ball.o cluster_bomb.o construct.o dynamite.o gnu.o
grenade.o gun.o shotgun.o disco_grenade.o jetpack.o lowgrav.o mine.o
ninja_rope.o parachute.o skip_turn.o suicide.o supertux.o teleportation.o
snipe_rifle.o submachine_gun.o polecat.o blowtorch.o syringe.o -lSDL_net
-lSDL_ttf -lSDL_mixer -lSDL_image -lSDL_gfx -L/usr/lib -lSDL -lSDL_image
-lSDL_mixer -lSDL_ttf -lSDL_net -lSDL_gfx -lxml++-2.6 -lxml2 -lz -lm
-lglibmm-2.4 -lgobject-2.0 -lsigc-2.0 -lglib-2.0 -L/usr/lib -lcurl -lidn
-lssl -lcrypto -ldl -L/usr/lib -lssl -lcrypto -ldl -lz
action_handler.o: In function `Action_Network_ChangeState(Action*)':
action_handler.cpp:(.text+0x9a1): undefined reference to
`NetworkServer::AddAnInitializedPlayer()'
action_handler.cpp:(.text+0x9ee): undefined reference to
`NetworkServer::AddAnInitializedPlayer()'
action_handler.cpp:(.text+0x9fb): undefined reference to
`NetworkServer::GetNbInitializedPlayers() const'
action_handler.cpp:(.text+0xa0a): undefined reference to
`NetworkServer::GetNbConnectedPlayers() const'
game_mode.o: In function `GameMode::LoadXml(xmlpp::Element*)':
game_mode.cpp:(.text+0x1f10): undefined reference to
`Medkit::LoadXml(xmlpp::Element*)'
game_loop.o: In function `GameLoop::InitGameData_NetServer()':
game_loop.cpp:(.text+0x1477): undefined reference to
`NetworkServer::RejectIncoming()'
game_loop.cpp:(.text+0x1484): undefined reference to
`NetworkServer::TMP_ResetInitializedPlayers()'
game_loop.o: In function `GameLoop::RefreshClock()':
game_loop.cpp:(.text+0x270a): undefined reference to `ObjBox::NewBox()'
surface.o: In function `Surface::DrawPolygon(Polygon const&)':
surface.cpp:(.text+0x1500): undefined reference to
`Polygon::GetPolygonBuffer() const'
surface.cpp:(.text+0x150a): undefined reference to `Polygon::IsPlaneColor()
const'
surface.cpp:(.text+0x1521): undefined reference to `Polygon::IsTextured()
const'
surface.cpp:(.text+0x1531): undefined reference to `Polygon::IsBordered()
const'
surface.cpp:(.text+0x1541): undefined reference to `Polygon::GetBorderColor()
const'
surface.cpp:(.text+0x1591): undefined reference to `PolygonBuffer::GetSize()
const'
surface.cpp:(.text+0x15e5): undefined reference to `Polygon::GetTexture()
const'
surface.cpp:(.text+0x15ef): undefined reference to `PolygonBuffer::GetSize()
const'
surface.cpp:(.text+0x1634): undefined reference to `Polygon::GetPlaneColor()
const'
surface.cpp:(.text+0x1685): undefined reference to `PolygonBuffer::GetSize()
const'
surface.o: In function `Surface::ImgSave(std::basic_string<char,
std::char_traits<char>, std::allocator<char> >)':
surface.cpp:(.text+0x172b): undefined reference to `png_create_write_struct'
surface.cpp:(.text+0x173e): undefined reference to `png_create_info_struct'
surface.cpp:(.text+0x1777): undefined reference to `png_init_io'
surface.cpp:(.text+0x17c1): undefined reference to `png_set_IHDR'
surface.cpp:(.text+0x17d4): undefined reference to
`png_set_compression_level'
surface.cpp:(.text+0x17e3): undefined reference to `png_write_info'
surface.cpp:(.text+0x17ee): undefined reference to `png_set_bgr'
surface.cpp:(.text+0x180b): undefined reference to `png_write_row'
surface.cpp:(.text+0x1826): undefined reference to `png_write_flush'
surface.cpp:(.text+0x1835): undefined reference to `png_write_end'
surface.cpp:(.text+0x186b): undefined reference to
`png_destroy_write_struct'
resource_manager.o: In function `ResourceManager::GenerateMap(Profile*, int,
int)':
resource_manager.cpp:(.text+0x108): undefined reference to
`RandomMap::RandomMap(Profile*, int, int)'
resource_manager.cpp:(.text+0x110): undefined reference to
`RandomMap::Generate()'
resource_manager.cpp:(.text+0x118): undefined reference to
`RandomMap::SaveMap()'
resource_manager.cpp:(.text+0x124): undefined reference to
`RandomMap::GetRandomMap()'
internet_menu.o: In function `InternetMenu::OnClickUp(Vector2<int> const&,
int)':
internet_menu.cpp:(.text+0x6ff): undefined reference to
`DispNetworkError(Network::connection_state_t)'
network_connection_menu.o: In function
`NetworkConnectionMenu::DisplayError(Network::connection_state_t)':
network_connection_menu.cpp:(.text+0x69): undefined reference to
`DispNetworkError(Network::connection_state_t)'
network_menu.o: In function `NetworkMenu::Draw(Vector2<int> const&)':
network_menu.cpp:(.text+0x1e32): undefined reference to
`NetworkServer::GetNbConnectedPlayers() const'
network_menu.cpp:(.text+0x1eda): undefined reference to
`NetworkServer::GetNbInitializedPlayers() const'
network_menu.o: In function `NetworkMenu::sig_ok()':
network_menu.cpp:(.text+0x2227): undefined reference to
`NetworkServer::GetNbConnectedPlayers() const'
network_menu.cpp:(.text+0x223d): undefined reference to
`NetworkServer::GetNbConnectedPlayers() const'
network_menu.cpp:(.text+0x224c): undefined reference to
`NetworkServer::GetNbInitializedPlayers() const'
network_menu.cpp:(.text+0x2264): undefined reference to
`NetworkServer::GetNbConnectedPlayers() const'
network_menu.cpp:(.text+0x2273): undefined reference to
`NetworkServer::GetNbInitializedPlayers() const'
network_menu.o: In function `NetworkMenu::OnClickUp(Vector2<int> const&,
int)':
network_menu.cpp:(.text+0x2568): undefined reference to
`NetworkServer::SetMaxNumberOfPlayers(unsigned int)'
keyboard.o: In function `Keyboard::HandleKeyReleased(Keyboard::Key_t
const&)':
keyboard.cpp:(.text+0x6b9): undefined reference to `ObjBox::DropBox()'
bonus_box.o: In function `BonusBox::BonusBox()':
bonus_box.cpp:(.text+0x78e): undefined reference to
`ObjBox::ObjBox(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
bonus_box.cpp:(.text+0x97f): undefined reference to `ObjBox::~ObjBox()'
bonus_box.o: In function `BonusBox::BonusBox()':
bonus_box.cpp:(.text+0xace): undefined reference to
`ObjBox::ObjBox(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
bonus_box.cpp:(.text+0xcbf): undefined reference to `ObjBox::~ObjBox()'
bonus_box.o: In function `BonusBox::LoadXml(xmlpp::Element*)':
bonus_box.cpp:(.text+0xe0a): undefined reference to
`ObjBox::start_life_points'
bonus_box.o: In function `BonusBox::~BonusBox()':
bonus_box.cpp:(.text._ZN8BonusBoxD0Ev[BonusBox::~BonusBox()]+0x14): undefined
reference to `ObjBox::~ObjBox()'
bonus_box.o: In function `BonusBox::~BonusBox()':
bonus_box.cpp:(.text._ZN8BonusBoxD1Ev[BonusBox::~BonusBox()]+0xe): undefined
reference to `ObjBox::~ObjBox()'
bonus_box.o:(.rodata._ZTV8BonusBox[vtable for BonusBox]+0x18): undefined
reference to `ObjBox::SignalGhostState(bool)'
bonus_box.o:(.rodata._ZTV8BonusBox[vtable for BonusBox]+0x1c): undefined
reference to `ObjBox::SignalDrowning()'
bonus_box.o:(.rodata._ZTV8BonusBox[vtable for BonusBox]+0x48): undefined
reference to `ObjBox::SignalCollision()'
bonus_box.o:(.rodata._ZTI8BonusBox[typeinfo for BonusBox]+0x8): undefined
reference to `typeinfo for ObjBox'
map.o: In function `Map::Reset()':
map.cpp:(.text+0x9e0): undefined reference to `ObjBox::Enable(bool)'
network.o: In function `Network::GetInstance()':
network.cpp:(.text+0x8ad): undefined reference to `vtable for NetworkLocal'
network.o: In function `Network::ServerStart(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&)':
network.cpp:(.text+0xb21): undefined reference to
`NetworkServer::NetworkServer()'
network.cpp:(.text+0xb43): undefined reference to
`NetworkServer::ServerStart(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
network.o: In function `Network::ClientStart(std::basic_string<char,
std::char_traits<char>, std::allocator<char> > const&,
std::basic_string<char, std::char_traits<char>, std::allocator<char> >
const&)':
network.cpp:(.text+0xddb): undefined reference to
`NetworkClient::NetworkClient()'
network.cpp:(.text+0xe04): undefined reference to
`NetworkClient::ClientConnect(std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&, std::basic_string<char, std::char_traits<char>,
std::allocator<char> > const&)'
collect2: ld returned 1 exit status
make[3]: *** [wormux] Error 1
make[3]: Leaving directory `/home/kieran/Games/wormux-svn/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory `/home/kieran/Games/wormux-svn/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/home/kieran/Games/wormux-svn/src'
make: *** [all-recursive] Error 1
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?8267>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna