Topic-icon PokerTH fails to build in Fedora 13

More
17 Feb 2010 13:45 #4079

The UNIX makefile is missing some libraries that are needed for the linking. This bug is revealed in Fedora 13, since the default linker flag has been changed to --no-add-needed.

http://fedoraproject.org/wiki/Features/ChangeInImplicitDSOLinking

Please fix the makefile by adding the relevant libraries.


g++ -c -pipe -O2 -g -pipe -Wall -Wp,-D_FORTIFY_SOURCE=2 -fstack-protector --param=ssp-buffer-size=4 -m64 -mtune=generic -Wall -W -D_REENTRANT -DENABLE_IPV6 -DPREFIX="/usr" -DQT_NO_DEBUG -DQT_GUI_LIB -DQT_CORE_LIB -I/usr/lib64/qt4/mkspecs/linux-g++ -I. -I/usr/include/QtCore -I/usr/include/QtGui -I/usr/include -I. -Isrc -Isrc/engine -Isrc/gui -Isrc/net -Isrc/engine/local_engine -Isrc/engine/network_engine -Isrc/config -Isrc/third_party/tinyxml -Isrc/gui/qt -Isrc/gui/qt/connecttoserverdialog -Isrc/core -Isrc/gui/qt/sound -Isrc/gui/qt/qttools -Isrc/gui/qt/chattools -Isrc/gui/qt/qttools/qthelper -Isrc/gui/qt/gametable -Isrc/gui/qt/gametable/startsplash -Isrc/gui/qt/gametable/log -Isrc/gui/qt/gametable/chat -Isrc/gui/qt/aboutpokerth -Isrc/gui/qt/createnetworkgamedialog -Isrc/gui/qt/createinternetgamedialog -Isrc/gui/qt/joinnetworkgamedialog -Isrc/gui/qt/newlocalgamedialog -Isrc/gui/qt/settingsdialog -Isrc/gui/qt/settingsdialog/selectavatardialog -Isrc/gui/qt/settingsdialog/manualblindsorderdialog -Isrc/gui/qt/startnetworkgamedialog -Isrc/gui/qt/startwindow -Isrc/gui/qt/serverlistdialog -Isrc/gui/qt/styles -Isrc/gui/qt/changehumanplayernamedialog -Isrc/gui/qt/changecompleteblindsdialog -Isrc/gui/qt/mymessagedialog -Isrc/gui/qt/gamelobbydialog -Isrc/gui/qt/gamelobbydialog/lobbychat -Isrc/gui/qt/timeoutmsgbox -Imocs -Iuics -o obj/qrc_pokerth.o qrc_pokerth.cpp
g++ -Wl,-O1 -o pokerth obj/pokerth.o obj/chattools.o obj/sdlplayer.o obj/guiwrapper.o obj/qttoolswrapper.o obj/qthelper.o obj/gametableimpl.o obj/mycardspixmaplabel.o obj/mysetlabel.o obj/myactionbutton.o obj/mystatuslabel.o obj/myavatarlabel.o obj/myrighttabwidget.o obj/mylefttabwidget.o obj/startsplash.o obj/log.o obj/chat.o obj/aboutpokerthimpl.o obj/connecttoserverdialogimpl.o obj/createnetworkgamedialogimpl.o obj/createinternetgamedialogimpl.o obj/joinnetworkgamedialogimpl.o obj/newgamedialogimpl.o obj/settingsdialogimpl.o obj/myavatarbutton.o obj/myhpavatarbutton.o obj/selectavatardialogimpl.o obj/myavatarlistitem.o obj/manualblindsorderdialogimpl.o obj/startnetworkgamedialogimpl.o obj/startwindowimpl.o obj/gametablestylereader.o obj/carddeckstylereader.o obj/changehumanplayernamedialogimpl.o obj/changecompleteblindsdialogimpl.o obj/mymessagedialogimpl.o obj/gamelobbydialogimpl.o obj/mygamelisttreewidget.o obj/lobbychat.o obj/timeoutmsgboximpl.o obj/net_helper_client.o obj/loghelper_client.o obj/mychancelabel.o obj/serverlistdialogimpl.o obj/mymenubar.o obj/mytimeoutlabel.o obj/mynamelabel.o obj/mystylelistitem.o obj/mygamelistsortfilterproxymodel.o obj/moc_chattools.o obj/moc_sdlplayer.o obj/moc_gametableimpl.o obj/moc_mycardspixmaplabel.o obj/moc_mysetlabel.o obj/moc_mystatuslabel.o obj/moc_myavatarlabel.o obj/moc_myrighttabwidget.o obj/moc_mylefttabwidget.o obj/moc_startsplash.o obj/moc_log.o obj/moc_chat.o obj/moc_aboutpokerthimpl.o obj/moc_connecttoserverdialogimpl.o obj/moc_createnetworkgamedialogimpl.o obj/moc_createinternetgamedialogimpl.o obj/moc_joinnetworkgamedialogimpl.o obj/moc_newgamedialogimpl.o obj/moc_settingsdialogimpl.o obj/moc_selectavatardialogimpl.o obj/moc_manualblindsorderdialogimpl.o obj/moc_startnetworkgamedialogimpl.o obj/moc_startwindowimpl.o obj/moc_gametablestylereader.o obj/moc_carddeckstylereader.o obj/moc_changehumanplayernamedialogimpl.o obj/moc_changecompleteblindsdialogimpl.o obj/moc_gamelobbydialogimpl.o obj/moc_mygamelisttreewidget.o obj/moc_lobbychat.o obj/moc_timeoutmsgboximpl.o obj/moc_mymessagedialogimpl.o obj/moc_mychancelabel.o obj/moc_serverlistdialogimpl.o obj/moc_mymenubar.o obj/moc_mytimeoutlabel.o obj/moc_mynamelabel.o obj/moc_mygamelistsortfilterproxymodel.o obj/qrc_pokerth.o -Llib -lpokerth_lib -lboost_thread-mt -lboost_filesystem-mt -lboost_iostreams-mt -lboost_regex-mt -lSDL_mixer -lcurl -lgnutls-openssl -lgcrypt -lpthread -lQtGui -lQtCore
/usr/bin/ld: lib/libpokerth_lib.a(session.o): undefined reference to symbol 'boost::system::get_system_category()'
/usr/bin/ld: note: 'boost::system::get_system_category()' is defined in DSO /usr/lib64/libboost_system-mt.so.1.41.0 so try adding it to the linker command line
/usr/lib64/libboost_system-mt.so.1.41.0: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
make[1]: *** [pokerth] Error 1
make[1]: Leaving directory `/builddir/build/BUILD/PokerTH-0.7.1-src'
make: *** [sub-pokerth_game-pro-make_default-ordered] Error 2
error: Bad exit status from /var/tmp/rpm-tmp.fx1yJW (%build)

The following user(s) said Thank You: Ghost__

Please Log in or Create an account to join the conversation.

PokerTH - live

The PokerTH spectator tool.

Member Login

 advert
NOTE! This site uses cookies and similar technologies.
Cookies make it easier for us to provide you with our services. With the usage of our services you permit us to use cookies.
More information

We use cookies to personalize content and ads to offer features for social media and analyze the number of hits on our website. We also provide information about your use of our website to our partner for social media, advertising and analysis on.
http://www.google.com/intl/de/policies/privacy/partners/