Making all in src make[2]: Entering directory `/tmp/wesnoth-1.4/src' g++ -I ./sdl_ttf -I../intl -I../intl -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -DWESNOTH_PATH=\"/usr/local/share/wesnoth\" -DLOCALEDIR=\"translations\" -DHAS_RELATIVE_LOCALEDIR=1 -DFIFODIR=\"/usr/local/var/run/wesnothd\" -DHAVE_PYTHON -I/usr/include/python2.5 -DHAVE_FRIBIDI -I/usr/include -O2 -W -Wall -ansi -DHAVE_BUILTIN_EXPECT -D_X11 -DWESNOTH_BOOST_TEST_MAIN -I/usr/include -L/usr/lib -R/usr/lib -o wesnoth game.o about.o actions.o ai.o ai_dfool.o ai_attack.o ai_move.o ai_python.o ai_village.o animated_game.o attack_prediction.o config_adapter.o dialogs.o floating_textbox.o game_display.o game_events.o game_preferences.o game_preferences_display.o gamestatus.o generate_report.o generic_event.o halo.o help.o intro.o leader_list.o menu_events.o mouse_events.o multiplayer.o multiplayer_ui.o multiplayer_wait.o multiplayer_connect.o multiplayer_create.o multiplayer_lobby.o network.o network_worker.o pathfind.o playcampaign.o play_controller.o playmp_controller.o playsingle_controller.o playturn.o publish_campaign.o replay.o replay_controller.o sha1.o settings.o statistics.o team.o terrain_filter.o titlescreen.o tooltips.o unit.o unit_abilities.o unit_animation.o unit_display.o unit_frame.o unit_map.o unit_types.o upload_log.o variable.o widgets/combo.o widgets/scrollpane.o -lwesnoth-core libwesnoth.a -L. -lSDL_image -lSDL_mixer -lSDL_net -L/usr/lib -lSDL -L/usr/lib -lpython2.5 -lfreetype -lz -lboost_iostreams-gcc41-mt-1_34_1 -L/usr/lib -lfribidi -lX11 g++: unrecognized option '-R/usr/lib' :collect2: ld returned 1 exit status make[2]: *** [wesnoth] Error 1 make[2]: Leaving directory `/tmp/wesnoth-1.4/src' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/tmp/wesnoth-1.4' make: *** [all] Error 2