Help installing a game

Post here if you are a new Porteus member and you're looking for some help.
Post Reply
fapero
Ronin
Ronin
Posts: 2
Joined: 16 Aug 2015, 06:17
Distribution: K-meleon
Location: Mexico

Help installing a game

Post#1 by fapero » 10 Sep 2015, 09:01

Hello everyone I'm a little very new here and using Linux, just have one doubt, a big one (or at least I think is big :D ), since I liked the way Porteus works I decided to use it in all ways I can, but yesterday I tried to install one game that I found (it looked a little interesting for me :D ) but when installing it gives me this message:

Code: Select all

root@porteus:~/Downloads/bygfoot-2.3.2# make check
Making check in src
make[1]: Entering directory `/root/Downloads/bygfoot-2.3.2/src'
gcc -Wall  -g -O2   -o bygfoot bet.o callback_func.o callbacks.o cup.o debug.o file.o finance.o fixture.o free.o game.o game_gui.o gui.o interface.o job.o language.o lg_commentary.o league.o live_game.o load_save.o main.o maths.o misc.o misc_callbacks.o misc_callback_func.o misc2_callbacks.o misc3_callbacks.o misc2_callback_func.o misc_interface.o misc2_interface.o misc3_interface.o name.o news.o option.o option_gui.o options_callbacks.o options_interface.o player.o start_end.o stat.o strategy.o support.o table.o team.o training.o training_callbacks.o training_interface.o transfer.o treeview.o treeview2.o treeview_helper.o user.o window.o xml.o xml_loadsave_cup.o xml_loadsave_fixtures.o xml_loadsave_jobs.o xml_loadsave_league.o xml_loadsave_leagues_cups.o xml_loadsave_league_stat.o xml_loadsave_live_game.o xml_loadsave_misc.o xml_loadsave_newspaper.o xml_loadsave_players.o xml_loadsave_season_stats.o xml_loadsave_table.o xml_loadsave_teams.o xml_loadsave_transfers.o xml_loadsave_users.o xml_cup.o xml_country.o xml_league.o xml_lg_commentary.o xml_mmatches.o xml_name.o xml_news.o xml_strategy.o xml_team.o youth_academy.o -lgtk-x11-2.0 -lgdk-x11-2.0 -latk-1.0 -lgio-2.0 -lpangoft2-1.0 -lpangocairo-1.0 -lgdk_pixbuf-2.0 -lcairo -lpango-1.0 -lfreetype -lfontconfig -lgobject-2.0 -lglib-2.0      
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: bet.o: undefined reference to symbol 'lrintf@@GLIBC_2.1'
/usr/lib/gcc/i486-slackware-linux/4.8.2/../../../../i486-slackware-linux/bin/ld: note: 'lrintf@@GLIBC_2.1' is defined in DSO /lib/libm.so.6 so try adding it to the linker command line
/lib/libm.so.6: could not read symbols: Invalid operation
collect2: error: ld returned 1 exit status
make[1]: *** [bygfoot] Error 1
make[1]: Leaving directory `/root/Downloads/bygfoot-2.3.2/src'
make: *** [check-recursive] Error 1
I can't advance more with that, and I don't know how to solve that Error 1. Hope that someone can help me to understand what I'm doing wrong and how to solve it (I'm a little new using any non Microsoft/Apple SO :x ).

P. S. Sorry for the bad english but is not my first language.

KnallKopf
Samurai
Samurai
Posts: 134
Joined: 18 Sep 2012, 20:56
Distribution: Porteus 64bit KDE4
Location: Absurdistan

Re: Help installing a game

Post#2 by KnallKopf » 10 Sep 2015, 20:30

I found the solution here: http://stackoverflow.com/questions/1600 ... libc-2-2-5

Try:

Code: Select all

make LDFLAGS=-lm
If it doesn't work, download the glibc-2.17 module via USM first.

fapero
Ronin
Ronin
Posts: 2
Joined: 16 Aug 2015, 06:17
Distribution: K-meleon
Location: Mexico

Re: Help installing a game

Post#3 by fapero » 11 Sep 2015, 04:35

KnallKopf wrote:I found the solution here: http://stackoverflow.com/questions/1600 ... libc-2-2-5

Try:

Code: Select all

make LDFLAGS=-lm
If it doesn't work, download the glibc-2.17 module via USM first.
Thanks that worked perfectly :Yahoo!:

User avatar
francois
Contributor
Contributor
Posts: 5068
Joined: 28 Dec 2010, 14:25
Distribution: kde xfce porteus manjaro kubun
Location: Enfin l'été, le changement climatique attendu: le soleil.

Re: Help installing a game

Post#4 by francois » 11 Sep 2015, 04:42

You seem to have a great future with porteus. Building from source after only a second post, merits mention.
Voltaire: Le mieux est l'ennemi du bien.

Post Reply