Bug#556477: FTBFS with binutils-gold

Peter Fritzsche peter.fritzsche at gmx.de
Mon Nov 16 01:13:01 UTC 2009


Source: supertuxkart
Version: 0.6.2+dfsg1-1
Severity: minor
User: peter.fritzsche at gmx.de
Usertags: no-add-needed

Tried to build your package and it fails to build with GNU binutils-gold. The
important difference is that --no-add-needed is the default behavior of of GNU
binutils-gold. Please provide all needed libraries to the linker when building
your executables.

Objects inside an .a archive aren't linked yet. This means that you must resolve
their symbols when linking them to a program.

More informations can be found at
 http://wiki.debian.org/qa.debian.org/FTBFS#A2009-11-02Packagesfailingbecausebinutils-gold.2BAC8-indirectlinking

x86_64-linux-gnu-g++  -g -O2 -Wall -Wall -DNDEBUG -O2   -o supertuxkart  main.o actionmap.o material.o network_manager.o network_kart.o message.o race_info_message.o connect_message.o kart_update_message.o kart_control_message.o race_state.o race_result_message.o music_information.o music_ogg.o sfx_manager.o sfx_openal.o sound_manager.o random_generator.o ssg_help.o string_utils.o translation.o vec3.o material_manager.o grand_prix_manager.o camera.o nitro.o moving_texture.o particle_system.o scene.o shadow.o skid_marks.o smoke.o attachment.o attachment_manager.o flyable.o powerup.o powerup_manager.o item.o item_manager.o projectile_manager.o bubblegumitem.o plunger.o rubber_band.o cake.o bowling.o kart.o kart_model.o kart_properties.o kart_properties_manager.o moveable.o player_kart.o isect.o explosion.o user_config.o grand_prix_data.o stk_config.o highscores.o highscore_manager.o file_manager.o loader.o race_manager.o callback_manager.o main_loop.o sdldrv.o history.o challenge.o challenge_data.o unlock_manager.o lisp.o lexer.o parser.o writer.o widget_manager.o widget.o menu_manager.o base_gui.o race_gui.o race_results_gui.o grand_prix_ending.o race_menu.o num_players.o track_sel.o player_controls.o config_display.o display_res_confirm.o config_sound.o config_controls.o options.o game_mode.o race_options.o char_sel.o start_race_feedback.o network_gui.o main_menu.o help_page_one.o help_page_two.o help_page_three.o credits_menu.o grand_prix_select.o challenges_menu.o feature_unlocked.o font.o follow_the_leader.o standard_race.o clock.o world.o linear_world.o three_strikes_battle.o btKart.o btUprightConstraint.o moving_physics.o physics.o triangle_mesh.o default_robot.o track_info.o terrain_info.o track.o track_manager.o replay_buffers.o replay_base.o replay_player.o replay_recorder.o libstatic_ssg.a -lplibjs -lplibsl -lplibssg -lplibpu -lplibfnt -lplibsg -lplibul -lplibssgaux -Lbullet/Demos/OpenGL -lbulletopenglsupport -Lbullet/src -lbulletdynamics -lbulletcollision -lbulletmath -Lenet -lenet -lglut  -lGL  -lSDL  -lopenal  -lvorbisfile   
/usr/bin/ld: scene.o: in function Scene::draw(float):graphics/scene.cpp:186: error: undefined reference to 'gluLookAt'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:300: error: undefined reference to 'gluNewQuadric'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:306: error: undefined reference to 'gluQuadricDrawStyle'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:307: error: undefined reference to 'gluQuadricNormals'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:309: error: undefined reference to 'gluDisk'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:311: error: undefined reference to 'gluCylinder'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:314: error: undefined reference to 'gluDisk'
/usr/bin/ld: bullet/Demos/OpenGL/libbulletopenglsupport.a(GL_ShapeDrawer.o): in function GL_ShapeDrawer::drawCylinder(float, float, int):GL_ShapeDrawer.cpp:317: error: undefined reference to 'gluDeleteQuadric'
collect2: ld returned 1 exit status
make[3]: *** [supertuxkart] Error 1





More information about the Pkg-games-devel mailing list